Get log

GET/v2/logs/{id}
AuthorizationBearer <token>

API key for authentication. Use format: Bearer YOUR_API_KEY

In: header

Path Parameters

id*string

Unique identifier for the log entry.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v2/logs/string"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "level": "DEBUG",
  "message": "string",
  "created_at": "2019-08-24T14:15:22Z",
  "source_file": "string",
  "line_number": -9007199254740991,
  "run": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "outcome": "PASS",
    "started_at": "2019-08-24T14:15:22Z"
  },
  "unit": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "serial_number": "string"
  },
  "procedure": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "name": "string"
  },
  "created_by_user": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "name": "string",
    "email": "string"
  },
  "created_by_station": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "name": "string"
  }
}
{
  "message": "Unauthorized",
  "code": "UNAUTHORIZED",
  "issues": []
}
{
  "message": "Not found",
  "code": "NOT_FOUND",
  "issues": []
}
{
  "message": "Internal server error",
  "code": "INTERNAL_SERVER_ERROR",
  "issues": []
}

How is this guide?