Capture Statistics

GET /equipment/camera/capture/statistics

This endpoint returns the image statistics for the last captured image.

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • Response object
      Hide Response attributes Show Response attributes object
      • Stars integer
      • HFR number
      • Median number
      • MedianAbsoluteDeviation number
      • Mean number
      • Max integer
      • Min integer
      • StDev number
    • Error string
    • StatusCode integer
    • Success boolean
    • Type string
  • 400 application/json

    Capture 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 /equipment/camera/capture/statistics
curl \
 --request GET 'http://localhost:1888/v2/api/equipment/camera/capture/statistics'
Response examples (200)
{
  "Response": {
    "Stars": 42,
    "HFR": 42.0,
    "Median": 42.0,
    "MedianAbsoluteDeviation": 42.0,
    "Mean": 42.0,
    "Max": 42,
    "Min": 42,
    "StDev": 42.0
  },
  "Error": "string",
  "StatusCode": 42,
  "Success": true,
  "Type": "string"
}
Response examples (400)
{
  "Response": "No image available",
  "Error": "string",
  "StatusCode": 409,
  "Success": false,
  "Type": "API"
}
Response examples (500)
{
  "Response": "string",
  "Error": "Unknown error",
  "StatusCode": 500,
  "Success": false,
  "Type": "API"
}