Commands

Get command history

Use this endpoint to obtain all the changes of a given command. It should return all status changes including who made the change and when the change was made.

get/v1/commands/{id}/history

Request

  • Base URL
    https://api.tetrascience.com
  • URL
    https://api.tetrascience.com/v1/commands/{id}/history
  • Auth
    API key in header ts-auth-token and API key in header x-org-slug

Path parameters

idstring required

Command id

Response

200

idstring

Example response

{
  "id": "57ebb02f-81d6-4627-8248-6c24c2d61323",
  "history": [
    {
      "id": "14da67ba-57fc-45ea-8621-09a8466a3f15",
      "commandId": "57ebb02f-81d6-4627-8248-6c24c2d61323",
      "reason": "Command created",
      "updatedBy": "platform",
      "updatedAt": "2021-01-12T10:14:14.512Z"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.