Solve prepared image

View as Markdown
GET /prepared-image/solve

Solves the prepared image, the result is returned immediately (blocking request)

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • Response object
      Hide Response attributes Show Response attributes object
      • Coordinates object
        Hide Coordinates attributes Show Coordinates attributes object
        • RA number
        • RADegrees number
        • Dec number
        • DECDegrees number
        • Epoch integer
      • PositionAngle number
      • PixelScale number
      • Radius number
      • Flipped boolean
      • Success boolean
      • RaErrorString string
      • RaPixError number
      • DecPixError number
      • DecErrorString string
    • Error string
    • StatusCode integer
    • Success boolean
    • Type string
  • 404 application/json

    Image not available

    Hide response attributes Show response attributes object
    • Response string
    • Error string
    • 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 /prepared-image/solve
curl \
 --request GET 'http://localhost:1888/v2/api/prepared-image/solve'
Response examples (200)
{
  "Response": {
    "Coordinates": {
      "RA": 42.0,
      "RADegrees": 42.0,
      "Dec": 42.0,
      "DECDegrees": 42.0,
      "Epoch": 42
    },
    "PositionAngle": 42.0,
    "PixelScale": 42.0,
    "Radius": 42.0,
    "Flipped": true,
    "Success": true,
    "RaErrorString": "string",
    "RaPixError": 42.0,
    "DecPixError": 42.0,
    "DecErrorString": "string"
  },
  "Error": "string",
  "StatusCode": 200,
  "Success": true,
  "Type": "API"
}
Response examples (404)
{
  "Response": "string",
  "Error": "Image not available",
  "StatusCode": 404,
  "Success": false,
  "Type": "API"
}
Response examples (500)
{
  "Response": "string",
  "Error": "Unknown error",
  "StatusCode": 500,
  "Success": false,
  "Type": "API"
}