logs

Retrieve the last log for a resource

Changed on
get/logs/{resourceId}

Request

  • Base URL: https://api.abby.fr
  • URL: https://api.abby.fr/logs/{resourceId}
  • Auth: HTTP bearer

Path parameters

resourceIdstring required

ID of the resource

Response

Log retrieved successfully

idstring required
status'SUCCESS' | 'ERROR' | 'INFO' required
contextstring required
datastring
responsestring
httpStatusnumber
urlstring nullable
methodstring nullable
createdAtstring date-time required

Example response

{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "context": "billing",
  "data": "{\"key\": \"value\"}",
  "response": "Internal server error",
  "httpStatus": 400,
  "url": "https://api.urssaf.fr/tiersdecl/v1/ae/sepa/mandats",
  "method": "POST",
  "createdAt": "2024-01-09T10:00:00.000Z"
}

Changes

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    This list may be incomplete.

    • info

      endpoint added

    This list may be incomplete.