{
  "opencollection": "1.0.0",
  "info": {
    "name": "Bem Buckets Subscriptions API",
    "version": "1.0.0"
  },
  "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.bem.ai/v3/subscriptions",
            "params": [
              {
                "name": "functionNames",
                "value": "",
                "type": "query",
                "description": "Filters to subscriptions linked to included array of function names."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "This specifies a limit on the number of objects to return, ranging between 1 and 100."
              },
              {
                "name": "sortOrder",
                "value": "",
                "type": "query",
                "description": "Specifies sorting behavior. The two options are `asc` and `desc` to sort ascending and descending respectively, with default sort being ascending. Paging works in both directions."
              },
              {
                "name": "startingAfter",
                "value": "",
                "type": "query",
                "description": "A cursor to use in pagination. `startingAfter` is a task ID that defines your place in the list. For example, if you make a list request and receive 50 objects, ending with `sub_2c9AXIj48cUYJtCuv1gsQtHGDzK`, your subsequent call can include `startingAfter=sub_2c9AXIj48cUYJtCuv1gsQtHGDzK` to fetch the next page of the list."
              },
              {
                "name": "endingBefore",
                "value": "",
                "type": "query",
                "description": "A cursor to use in pagination. `endingBefore` is a task ID that defines your place in the list. For example, if you make a list request and receive 50 objects, starting with `sub_2c9AXIj48cUYJtCuv1gsQtHGDzK`, your subsequent call can include `endingBefore=sub_2c9AXIj48cUYJtCuv1gsQtHGDzK` to fetch the previous page of the list."
              }
            ]
          },
          "docs": "List Subscriptions"
        },
        {
          "info": {
            "name": "Create a Subscription",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.bem.ai/v3/subscriptions",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new subscription to listen to transform or error events."
        },
        {
          "info": {
            "name": "Get a Subscription",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bem.ai/v3/subscriptions/:subscriptionID",
            "params": [
              {
                "name": "subscriptionID",
                "value": "",
                "type": "path",
                "description": "ID of the subscription to retrieve."
              }
            ]
          },
          "docs": "Get a Subscription"
        },
        {
          "info": {
            "name": "Update a Subscription",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.bem.ai/v3/subscriptions/:subscriptionID",
            "params": [
              {
                "name": "subscriptionID",
                "value": "",
                "type": "path",
                "description": "ID of the subscription to update"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing subscription. Follow conventional PATCH behavior, so only included fields will be updated."
        },
        {
          "info": {
            "name": "Delete a Subscription",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.bem.ai/v3/subscriptions/:subscriptionID",
            "params": [
              {
                "name": "subscriptionID",
                "value": "",
                "type": "path",
                "description": "ID of the subscription to delete"
              }
            ]
          },
          "docs": "Deletes an existing subscription."
        }
      ]
    }
  ],
  "bundled": true
}