Slew

GET /equipment/dome/slew

Slew dome to specified azimuth

Query parameters

  • azimuth number(float)

    Azimuth in degrees

  • waitToFinish boolean

    Wait until slew is finished

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • Response string

      Values are Dome Slew Started or Dome Slew finished.

    • Error string
    • StatusCode integer
    • Success boolean
    • Type string
  • 409 application/json

    Dome not connected / parked

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

      Values are Dome not connected or Dome is parked.

    • 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 /equipment/dome/slew
curl \
 --request GET 'http://localhost:1888/v2/api/equipment/dome/slew'
Response examples (200)
{
  "Response": "Dome Slew Started",
  "Error": "string",
  "StatusCode": 200,
  "Success": true,
  "Type": "API"
}
Response examples (409)
{
  "Response": "string",
  "Error": "Dome not connected",
  "StatusCode": 409,
  "Success": false,
  "Type": "API"
}
Response examples (500)
{
  "Response": "string",
  "Error": "Unknown error",
  "StatusCode": 500,
  "Success": false,
  "Type": "API"
}