Saltar al contenido principal
GET
/
v1
/
costs
/
audit
/
{entityName}
/
{entityId}
Get the audit trail for a given entity within costs
curl --request GET \
  --url https://api.bold-factory.com/v1/costs/audit/{entityName}/{entityId} \
  --header 'Authorization: Bearer <token>'
{
  "events": [
    {
      "eventId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "eventName": "<string>",
      "aggregateName": "<string>",
      "aggregateId": "<string>",
      "majorVersion": 123,
      "minorVersion": 123,
      "author": "<string>",
      "content": "<string>",
      "occurredOn": "2023-11-07T05:31:56Z"
    }
  ]
}

Autorizaciones

Authorization
string
header
requerido

Use a valid JWT token in the Authorization header with the format 'Bearer {token}'

Parámetros de ruta

entityName
string
requerido
entityId
string
requerido

Respuesta

OK

events
object[]
requerido