{
  "opencollection": "1.0.0",
  "info": {
    "name": "SkyWatch EarthCache Archive Search Subscriptions API",
    "version": "1.7"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-api-key",
      "value": "{{x-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Subscriptions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List subscriptions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.skywatch.co/earthcache/subscriptions"
          },
          "docs": "List subscriptions"
        },
        {
          "info": {
            "name": "Create a subscription",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.skywatch.co/earthcache/subscriptions",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Register a callback URI to receive events from the EarthCache platform."
        },
        {
          "info": {
            "name": "Update a subscription",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.skywatch.co/earthcache/subscriptions/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update subscription properties such as callback_uri and status."
        },
        {
          "info": {
            "name": "Delete a subscription",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.skywatch.co/earthcache/subscriptions/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a subscription"
        },
        {
          "info": {
            "name": "Send subscription samples",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.skywatch.co/earthcache/subscriptions/:id/sample",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Send sample event payloads to the subscription's callback URI."
        },
        {
          "info": {
            "name": "List callbacks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.skywatch.co/earthcache/callbacks"
          },
          "docs": "Returns a list of callback invocations over the last 3 months (the retention period)."
        }
      ]
    }
  ],
  "bundled": true
}