JSON

GET /sequence/json

Get sequence as json. For this to work, there needs to be a deep sky object container present and the sequencer view has to be initalized! This endpoint is generally advised to use over state since it gives more reliable results.

Responses

GET /sequence/json
curl \
 --request GET 'http://localhost:1888/v2/api/sequence/json'
Response examples (200)
{
  "Response": [
    {
      "Conditions": [],
      "Items": [],
      "Triggers": [],
      "Status": "string",
      "Name": "string"
    }
  ],
  "Error": "string",
  "StatusCode": 200,
  "Success": true,
  "Type": "API"
}
Response examples (409)
{
  "Response": "string",
  "Error": "Sequencer not initialized",
  "StatusCode": 409,
  "Success": false,
  "Type": "API"
}
Response examples (500)
{
  "Response": "string",
  "Error": "Unknown error",
  "StatusCode": 500,
  "Success": false,
  "Type": "API"
}