{
  "opencollection": "1.0.0",
  "info": {
    "name": "Goodstack Services Activities Eligibility Subscriptions API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Eligibility Subscriptions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Eligibility Subscriptions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.goodstack.io/v1/eligibility-subscriptions",
            "params": [
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Field to sort"
              },
              {
                "name": "query",
                "value": "",
                "type": "query"
              },
              {
                "name": "status",
                "value": "",
                "type": "query"
              },
              {
                "name": "startDate",
                "value": "2020-10-13T17:46:54.000Z",
                "type": "query",
                "description": "Start date to retrieve monitoring from."
              },
              {
                "name": "endDate",
                "value": "",
                "type": "query"
              },
              {
                "name": "hasOrganisation",
                "value": "",
                "type": "query",
                "description": "Filter eligibility subscriptions based on whether there is a recognised Organisation tied to the subscription"
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "A cursor that points to where to start the page"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "How many items per page, for pagination."
              },
              {
                "name": "direction",
                "value": "",
                "type": "query",
                "description": "Which way to sort by the given 'sort' field.  Default DESC"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "List Eligibility Subscriptions"
        },
        {
          "info": {
            "name": "Create an Eligibility Subscription",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.goodstack.io/v1/eligibility-subscriptions",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Create an Eligibility Subscription"
        },
        {
          "info": {
            "name": "Retrieve an single Eligibility Subscription",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.goodstack.io/v1/eligibility-subscriptions/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Id of the Eligibility Subscription."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Retrieve an single Eligibility Subscription"
        },
        {
          "info": {
            "name": "Edit an Eligibility Subscription",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.goodstack.io/v1/eligibility-subscriptions/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Id of the Eligibility Subscription."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Update an Eligibility Subscription's metadata."
        },
        {
          "info": {
            "name": "Cancel an Eligibility Subscription",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.goodstack.io/v1/eligibility-subscriptions/:id/cancel",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Id of the Eligibility Subscription."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Cancel an Eligibility Subscription"
        }
      ]
    }
  ],
  "bundled": true
}