Get Last Autofocus

GET /equipment/focuser/last-af

Get last autofocus

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • Response object Required
      Hide Response attributes Show Response attributes object
      • Version integer Required
      • Filter string Required
      • AutoFocuserName string Required
      • StarDetectorName string Required
      • Timestamp string Required
      • Temperature number Required
      • Method string Required
      • Fitting string Required
      • InitialFocusPoint object Required
        Hide InitialFocusPoint attributes Show InitialFocusPoint attributes object
        • Position integer Required
        • Value number Required
        • Error integer Required
      • CalculatedFocusPoint object Required
        Hide CalculatedFocusPoint attributes Show CalculatedFocusPoint attributes object
        • Position number Required
        • Value number Required
        • Error integer Required
      • PreviousFocusPoint object Required
        Hide PreviousFocusPoint attributes Show PreviousFocusPoint attributes object
        • Position number Required
        • Value number Required
        • Error integer Required
      • MeasurePoints array[object] Required
        Hide MeasurePoints attributes Show MeasurePoints attributes object
        • Position integer Required
        • Value number Required
        • Error number Required
      • Intersections object Required
        Hide Intersections attributes Show Intersections attributes object
        • TrendLineIntersection object Required
          Hide TrendLineIntersection attributes Show TrendLineIntersection attributes object
          • Position integer Required
          • Value number Required
          • Error integer Required
        • HyperbolicMinimum object Required
          Hide HyperbolicMinimum attributes Show HyperbolicMinimum attributes object
          • Position number Required
          • Value number Required
          • Error integer Required
      • Fittings object Required
        Hide Fittings attributes Show Fittings attributes object
        • Quadratic string Required
        • Hyperbolic string Required
        • Gaussian string Required
        • LeftTrend string Required
        • RightTrend string Required
      • RSquares object Required
        Hide RSquares attributes Show RSquares attributes object
        • Quadratic number Required

          Is either a number or NaN

        • Hyperbolic number Required

          Is either a number or NaN

        • LeftTrend number Required

          Is either a number or NaN

        • RightTrend integer Required

          Is either a number or NaN

      • BacklashCompensation object Required
        Hide BacklashCompensation attributes Show BacklashCompensation attributes object
        • BacklashCompensationModel string Required
        • BacklashIN integer Required
        • BacklashOUT integer Required
      • Duration string Required
    • Error string Required
    • StatusCode integer Required
    • Success boolean Required
    • Type string Required
  • 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/focuser/last-af
curl \
 --request GET 'http://localhost:1888/v2/api/equipment/focuser/last-af'
Response examples (200)
{
  "Response": {
    "Version": 42,
    "Filter": "string",
    "AutoFocuserName": "string",
    "StarDetectorName": "string",
    "Timestamp": "string",
    "Temperature": 42.0,
    "Method": "string",
    "Fitting": "string",
    "InitialFocusPoint": {
      "Position": 42,
      "Value": 42.0,
      "Error": 42
    },
    "CalculatedFocusPoint": {
      "Position": 42.0,
      "Value": 42.0,
      "Error": 42
    },
    "PreviousFocusPoint": {
      "Position": 42.0,
      "Value": 42.0,
      "Error": 42
    },
    "MeasurePoints": [
      {
        "Position": 42,
        "Value": 42.0,
        "Error": 42.0
      }
    ],
    "Intersections": {
      "TrendLineIntersection": {
        "Position": 42,
        "Value": 42.0,
        "Error": 42
      },
      "HyperbolicMinimum": {
        "Position": 42.0,
        "Value": 42.0,
        "Error": 42
      }
    },
    "Fittings": {
      "Quadratic": "string",
      "Hyperbolic": "string",
      "Gaussian": "string",
      "LeftTrend": "string",
      "RightTrend": "string"
    },
    "RSquares": {
      "Quadratic": 42.0,
      "Hyperbolic": 42.0,
      "LeftTrend": 42.0,
      "RightTrend": 42
    },
    "BacklashCompensation": {
      "BacklashCompensationModel": "string",
      "BacklashIN": 42,
      "BacklashOUT": 42
    },
    "Duration": "string"
  },
  "Error": "string",
  "StatusCode": 42,
  "Success": true,
  "Type": "string"
}
Response examples (500)
{
  "Response": "string",
  "Error": "Unknown error",
  "StatusCode": 500,
  "Success": false,
  "Type": "API"
}