{
  "opencollection": "1.0.0",
  "info": {
    "name": "Bud API Services: Documentation Aggregation Buckets Enrichment Resources API",
    "version": "2.10.10"
  },
  "items": [
    {
      "info": {
        "name": "Enrichment Resources",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve Available Categorisation Models V2",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-sandbox.thisisbud.com/resources/v2/categories/models",
            "headers": [
              {
                "name": "X-Client-Id",
                "value": "8711bbef-b357-4c2d-97ca-0d9df4206e9a"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/v1/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieve the available Bud categorisation models."
        },
        {
          "info": {
            "name": "Retrieve Categories V2",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-sandbox.thisisbud.com/resources/v2/categories",
            "headers": [
              {
                "name": "X-Client-Id",
                "value": "8711bbef-b357-4c2d-97ca-0d9df4206e9a"
              }
            ],
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "query",
                "description": "Determines if the response will be structured:\n  - As a flat object where all categories and subcategories are listed separately under different fields. See the example response `Flat Response`.\n  - As a map where all categories are listed as objects themselves with their respective subcategories listed in fields within the category objects. See the example response `Map Response`.\n"
              },
              {
                "name": "model",
                "value": "",
                "type": "query",
                "description": "The name of the model for which categories should be returned. See the *List Categorisation Models V2* endpoint for available model names.\n"
              },
              {
                "name": "label",
                "value": "essential",
                "type": "query",
                "description": "Filter out categories that do not have the specified label. If unset, endpoint will include all labels"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/v1/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieve a list of primary and secondary categories supported by Bud's categorisation model."
        }
      ]
    }
  ],
  "bundled": true
}