{
  "opencollection": "1.0.0",
  "info": {
    "name": "Satcat Service Authentication Orbital Determination API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Orbital Determination",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Upload Gnss File",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/satcat/od/:object_id/upload",
            "params": [
              {
                "name": "object_id",
                "value": "",
                "type": "path",
                "description": "The norad/temporary id of the object."
              },
              {
                "name": "group_id",
                "value": "",
                "type": "query",
                "description": "Optional group ID to use for the request"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": []
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Upload a supported OD data file for a specific object."
        },
        {
          "info": {
            "name": "List Od Objects",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/satcat/od/objects",
            "params": [
              {
                "name": "group_id",
                "value": "",
                "type": "query",
                "description": "Optional group ID to use for the request"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "List the objects for which OD files are available."
        },
        {
          "info": {
            "name": "List Od Files",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/satcat/od/:object_id",
            "params": [
              {
                "name": "object_id",
                "value": "",
                "type": "path",
                "description": "The norad/temporary id of the object."
              },
              {
                "name": "today",
                "value": "",
                "type": "query"
              },
              {
                "name": "results",
                "value": "",
                "type": "query"
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Optional case-insensitive substring filter applied to available filenames."
              },
              {
                "name": "group_id",
                "value": "",
                "type": "query",
                "description": "Optional group ID to use for the request"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "count",
                "value": "",
                "type": "query"
              },
              {
                "name": "sort_field",
                "value": "",
                "type": "query"
              },
              {
                "name": "sort_direction",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get list of OD files for a specific object."
        },
        {
          "info": {
            "name": "Download File Content",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/satcat/od/:object_id/file",
            "params": [
              {
                "name": "object_id",
                "value": "",
                "type": "path",
                "description": "The norad/temporary id of the object."
              },
              {
                "name": "group_id",
                "value": "",
                "type": "query",
                "description": "Optional group ID to use for the request"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Download a file from the OD file share."
        },
        {
          "info": {
            "name": "List Leop Launches",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/satcat/od-leop",
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "List the available launches in the satcat OD LEOP folder"
        },
        {
          "info": {
            "name": "Get Leop Tles",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/satcat/od-leop/:launch_folder",
            "params": [
              {
                "name": "launch_folder",
                "value": "",
                "type": "path",
                "description": "The folder name for the launch in the OD LEOP directory."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Fetch the TLEs text file for a specific launch"
        },
        {
          "info": {
            "name": "Get Rso Attributes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/satcat/od/:object_id/attributes",
            "params": [
              {
                "name": "object_id",
                "value": "",
                "type": "path",
                "description": "The norad/temporary id of the object."
              },
              {
                "name": "group_id",
                "value": "",
                "type": "query",
                "description": "Optional owner group ID to scope the lookup."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get RSO attributes for an asset from the satcat database."
        }
      ]
    }
  ],
  "bundled": true
}