Errors

Code Description
401 Unauthorized
500 Internal Server Error
422 Missing parameters

Examples

GET /api/v2/assets/HY2wT3wBW4fR4Me2eX2X/history
200
{
  "history": [
    {
      "account": "test-account",
      "event": "ASSET_ADDED",
      "id": "e52fc3f8-fe9c-4efb-9499-5802e4c475bd",
      "severity": 0,
      "targets": {
        "asset_id": "HY2wT3wBW4fR4Me2eX2X"
      },
      "time": "2021-10-05T09:02:18.916Z",
      "user_id": 293
    }
  ]
}
GET /api/v2/assets/not-found-id/history
404
{
  "error": "asset not found"
}

Params

Param name Description
asset_id
required

Asset ID

Validations:

  • Must be a String

Headers

Header name Description
Content-Type
required
application/json
X-API-KEY
required
YOUR_API_KEY