Graph

GET /equipment/guider/graph

Gets the last n guide steps needed to construct a graph, with n being the number of saved steps as configured on the graph in NINA

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • Response object
      Hide Response attributes Show Response attributes object
      • RMS object
        Hide RMS attributes Show RMS attributes object
        • RA number
        • Dec number
        • Total number
        • RAText string
        • DecText string
        • TotalText string
        • PeakRAText string
        • PeakDecText string
        • Scale number
        • PeakRA number
        • PeakDec number
        • DataPoints integer
      • Interval integer
      • MaxY integer
      • MinY integer
      • MaxDurationY integer
      • MinDurationY integer
      • GuideSteps array[object]
        Hide GuideSteps attributes Show GuideSteps attributes object
        • Id integer
        • IdOffsetLeft number
        • IdOffsetRight number
        • RADistanceRaw number
        • RADistanceRawDisplay number
        • RADuration integer
        • DECDistanceRaw number
        • DECDistanceRawDisplay number
        • DECDuration integer
        • Dither string
      • HistorySize integer
      • PixelScale number
      • Scale integer
    • 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 /equipment/guider/graph
curl \
 --request GET 'http://localhost:1888/v2/api/equipment/guider/graph'
Response examples (200)
{
  "Response": {
    "RMS": {
      "RA": 42.0,
      "Dec": 42.0,
      "Total": 42.0,
      "RAText": "string",
      "DecText": "string",
      "TotalText": "string",
      "PeakRAText": "string",
      "PeakDecText": "string",
      "Scale": 42.0,
      "PeakRA": 42.0,
      "PeakDec": 42.0,
      "DataPoints": 42
    },
    "Interval": 42,
    "MaxY": 42,
    "MinY": 42,
    "MaxDurationY": 42,
    "MinDurationY": 42,
    "GuideSteps": [
      {
        "Id": 42,
        "IdOffsetLeft": 42.0,
        "IdOffsetRight": 42.0,
        "RADistanceRaw": 42.0,
        "RADistanceRawDisplay": 42.0,
        "RADuration": 42,
        "DECDistanceRaw": 42.0,
        "DECDistanceRawDisplay": 42.0,
        "DECDuration": 42,
        "Dither": "string"
      }
    ],
    "HistorySize": 42,
    "PixelScale": 42.0,
    "Scale": 42
  },
  "Error": "string",
  "StatusCode": 42,
  "Success": true,
  "Type": "string"
}
Response examples (500)
{
  "Response": "string",
  "Error": "Unknown error",
  "StatusCode": 500,
  "Success": false,
  "Type": "API"
}