Set Source
Set framing assistant source. This requires the framing assistant to be initalized, which can by achieved by openening it once.
Query parameters
-
source
string Required The source to set
Values are
NASA
,SKYSERVER
,STSCI
,ESO
,HIPS2FITS
,SKYATLAS
,FILE
, orCACHE
.
GET
/framing/set-source
curl \
--request GET 'http://localhost:1888/v2/api/framing/set-source?source=NASA'
Response examples (200)
{
"Response": "Source updated",
"Error": "string",
"StatusCode": 200,
"Success": true,
"Type": "API"
}
Response examples (400)
{
"Response": "string",
"Error": "Invalid source",
"StatusCode": 400,
"Success": false,
"Type": "API"
}
Response examples (500)
{
"Response": "string",
"Error": "Unknown error",
"StatusCode": 500,
"Success": false,
"Type": "API"
}