JSON

GET /sequence/json

Get sequence as json. This endpoint is generally advised to use over state since it gives more reliable results.

Responses

  • 200 application/json

    Successful response, best to try it out yourself

    Hide response attributes Show response attributes object
    • Response array[object]
      One of:
    • Error string
    • StatusCode integer
    • Success boolean
    • Type string
  • 409 application/json

    Sequencer not initialized

    Hide response attributes Show response attributes object
    • Response string
    • Error string

      Value is Sequencer not initialized.

    • StatusCode integer
    • Success boolean
    • Type string
  • 500 application/json

    Internal server error, Unknown error

    Hide response attributes Show response attributes object
    • Response string
    • Error string
    • StatusCode integer
    • Success boolean
    • Type string
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"
}