API - Get server logs

Each operation has possibility to log details to beebox logs. Those logs can be easily checked by following api call.

URL

(GET) /api/server/actions?token={token}&count={count}

PARAMETERS

Parameters are:

token

The session token obtained when connecting.

count

Number of logs to retrive

 

RESULTS

The method returns JSON and HTTP status 200. Other HTTP status values indicate an error.

EXAMPLE

A typical result may look like:

[ { "id": "cc19c1db-8034-4715-63dec", "date": "2020-03-05T13:50:10.7008353Z", "projectkey": "9e809355-b199-4373-a62f-9ce308aaed84", "projectname": "Demo Magento", "action": "Authentication failed.", "actioncode": "AutorunScript", "info": null, "sender": "Autorun", "success": false, "error": null, "details": null, "pushurl": null, "pushresult": "Skip", "emailadminresult": "Skip", "emailclientresult": "Skip" }, { "id": "eda9917c-cdaf-4a9f-b526-06e11bb0887b", "date": "2020-03-05T13:50:05.5601959Z", "projectkey": "9bc5d8bc-98d8-402ef5", "projectname": "Live Preview Demo", "action": "Connection token expired. Please reconnect.", "actioncode": "AutorunScript", "info": null, "sender": "Autorun", "success": false, "error": null, "details": null, "pushurl": null, "pushresult": "Skip", "emailadminresult": "Skip", "emailclientresult": "Skip" } ]

 

Copyright Wordbee - Buzzin' Outside the Box since 2008