{
  "opencollection": "1.0.0",
  "info": {
    "name": "TIDAL Catalog acceptedTerms API",
    "version": "1.10.14"
  },
  "items": [
    {
      "info": {
        "name": "acceptedTerms",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get multiple acceptedTerms.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://openapi.tidal.com/v2/acceptedTerms",
            "params": [
              {
                "name": "include",
                "value": "owners",
                "type": "query",
                "description": "Allows the client to customize which related resources should be returned. Available options: owners, terms"
              },
              {
                "name": "filter[owners.id]",
                "value": "",
                "type": "query",
                "description": "User id. Use `me` for the authenticated user"
              },
              {
                "name": "filter[terms.isLatestVersion]",
                "value": "",
                "type": "query",
                "description": "Filter by terms.isLatestVersion"
              },
              {
                "name": "filter[terms.termsType]",
                "value": "",
                "type": "query",
                "description": "One of: DEVELOPER, UPLOAD_MARKETPLACE (e.g. `DEVELOPER`)"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://login.tidal.com/authorize",
              "accessTokenUrl": "https://auth.tidal.com/v1/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieves multiple acceptedTerms by available filters, or without if applicable."
        },
        {
          "info": {
            "name": "Create single acceptedTerm.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://openapi.tidal.com/v2/acceptedTerms",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://login.tidal.com/authorize",
              "accessTokenUrl": "https://auth.tidal.com/v1/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Creates a new acceptedTerm."
        },
        {
          "info": {
            "name": "Get owners relationship (\"to-many\").",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://openapi.tidal.com/v2/acceptedTerms/:id/relationships/owners",
            "params": [
              {
                "name": "id",
                "value": "a468bee88def",
                "type": "path",
                "description": "Accepted terms id"
              },
              {
                "name": "include",
                "value": "owners",
                "type": "query",
                "description": "Allows the client to customize which related resources should be returned. Available options: owners"
              },
              {
                "name": "page[cursor]",
                "value": "",
                "type": "query",
                "description": "Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://login.tidal.com/authorize",
              "accessTokenUrl": "https://auth.tidal.com/v1/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieves owners relationship."
        },
        {
          "info": {
            "name": "Get terms relationship (\"to-one\").",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://openapi.tidal.com/v2/acceptedTerms/:id/relationships/terms",
            "params": [
              {
                "name": "id",
                "value": "a468bee88def",
                "type": "path",
                "description": "Accepted terms id"
              },
              {
                "name": "include",
                "value": "terms",
                "type": "query",
                "description": "Allows the client to customize which related resources should be returned. Available options: terms"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://login.tidal.com/authorize",
              "accessTokenUrl": "https://auth.tidal.com/v1/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieves terms relationship."
        }
      ]
    }
  ],
  "bundled": true
}