{
  "opencollection": "1.0.0",
  "info": {
    "name": "Madhive Creative API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "creative",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Receive the list of creatives and their IDs.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api2.madhive.com/api/v1/creatives",
            "headers": [
              {
                "name": "X-Cloud-Trace-Context",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "number of creatives per page (default 100, max 10000)"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Optional page selector RELATIVE to page_token: 1 = next page (the default when a page_token is supplied), -1 = previous page, 0 = reload the current page. Has no effect without page_token.\n"
              },
              {
                "name": "page_token",
                "value": "",
                "type": "query",
                "description": "Opaque cursor from the previous response's pagination.pageToken. Pass it alone to fetch the next page; pagination is cursor-based and offset defaults to the next page when a page_token is supplied.\n"
              },
              {
                "name": "advertiser",
                "value": "",
                "type": "query",
                "description": "Filter by advertiser organization ID(s). Comma-separated for multiple advertisers."
              },
              {
                "name": "statuses",
                "value": "",
                "type": "query",
                "description": "Filter by creative status. Comma-separated. Values: DRAFT, READY, PAUSED, CANCELLED, ARCHIVED."
              },
              {
                "name": "media_types",
                "value": "",
                "type": "query",
                "description": "Filter by media type. Comma-separated. Values: VIDEO, AUDIO, DISPLAY. OTT is accepted as an alias for VIDEO."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Typo-tolerant fuzzy text search across creative id, name, vast_url, isci_code, click_thru, oms_id, and ext_id. Results are ranked by match quality."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api2.madhive.com/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Receive the list of creatives and their IDs."
        },
        {
          "info": {
            "name": "Uploading a creative via VAST and CDN. Ability to add in a clickthrough.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api2.madhive.com/api/v1/creatives",
            "headers": [
              {
                "name": "X-Cloud-Trace-Context",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api2.madhive.com/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Uploading a creative via VAST and CDN. Ability to add in a clickthrough."
        }
      ]
    }
  ],
  "bundled": true
}