{
  "opencollection": "1.0.0",
  "info": {
    "name": "Satcat Service Authentication API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Authentication",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Login",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/satcat/login",
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Login"
        },
        {
          "info": {
            "name": "Health Authenticated",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/satcat/health_authenticated",
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Health Authenticated"
        },
        {
          "info": {
            "name": "List Groups",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/satcat/groups",
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "List groups to which the currently authenticated user has access."
        },
        {
          "info": {
            "name": "List Api Keys",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/satcat/api_keys",
            "params": [
              {
                "name": "filters",
                "value": "",
                "type": "query"
              },
              {
                "name": "sort_field",
                "value": "",
                "type": "query"
              },
              {
                "name": "sort_direction",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "count",
                "value": "",
                "type": "query"
              },
              {
                "name": "fields",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "List Api Keys"
        },
        {
          "info": {
            "name": "Create Api Key",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/satcat/api_keys",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create Api Key"
        },
        {
          "info": {
            "name": "Rotate Api Key",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/satcat/api_keys/:client_id/rotate",
            "params": [
              {
                "name": "client_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Rotate Api Key"
        },
        {
          "info": {
            "name": "Update Api Key",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "/api/satcat/api_keys/:client_id",
            "params": [
              {
                "name": "client_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Update Api Key"
        },
        {
          "info": {
            "name": "Delete Api Key",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "/api/satcat/api_keys/:client_id",
            "params": [
              {
                "name": "client_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Delete Api Key"
        },
        {
          "info": {
            "name": "Authenticate Token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/satcat/oauth/token",
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Authenticate Token"
        },
        {
          "info": {
            "name": "Authenticate Token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/satcat/oauth/token/",
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Authenticate Token"
        }
      ]
    }
  ],
  "bundled": true
}