API Calls

Records of API calls and their responses are accessible via the API itself.

Attributes

  • limit integer

  • countOnly boolean

  • code integer

    The status code given in response to the call.

Endpoints

List API Calls

get /api/calls

See recent API calls with their codes and responses.

Arguments

  • limit integer

    A limit on the number of objects to be returned. Limit can range between 1 and 1000, and the default is 250.

  • countOnly boolean

  • code integer

    The status code given in response to the call.

Request with curl
curl "http://[Your IP] /api/calls" \ -X get \ -H "Content-Type: application/json" \ -H "Authorization: Bearer [Your JWT Access Token]"
Example Response
{
    "calls": [
        {
            "code": 200,
            "creationDate": "2022-04-12T18:17:24",
            "username": "Sample API",
            "body": "{\"username\": \"Sample API\", \"password\": \"********\"}",
            "endpoint": "POST http://demo.itempath.com/api/users/login",
            "response": "Sample API logged in successfully.",
            "id": 51686,
            "error": null
        }
    ]
}