Set Target
Set the target of any one of the active target containers in the sequence
GET
/sequence/set-target
curl \
--request GET 'http://localhost:1888/v2/api/sequence/set-target?name=Orion&ra=42.0&dec=42.0&rotation=42.0&index=42'
Response examples (200)
{
"Response": "Target updated",
"Error": "string",
"StatusCode": 200,
"Success": true,
"Type": "API"
}
Response examples (400)
{
"Response": "string",
"Error": "Index out of range",
"StatusCode": 400,
"Success": false,
"Type": "API"
}
Response examples (409)
{
"Response": "string",
"Error": "Sequencer not initializedd",
"StatusCode": 409,
"Success": false,
"Type": "API"
}
Response examples (500)
{
"Response": "string",
"Error": "Unknown error",
"StatusCode": 500,
"Success": false,
"Type": "API"
}