{
  "opencollection": "1.0.0",
  "info": {
    "name": "TIDAL Catalog acceptedTerms userCollectionTracks API",
    "version": "1.10.14"
  },
  "items": [
    {
      "info": {
        "name": "userCollectionTracks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get multiple userCollectionTracks.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://openapi.tidal.com/v2/userCollectionTracks",
            "params": [
              {
                "name": "countryCode",
                "value": "US",
                "type": "query",
                "description": "ISO 3166-1 alpha-2 country code"
              },
              {
                "name": "locale",
                "value": "en-US",
                "type": "query",
                "description": "BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported."
              },
              {
                "name": "include",
                "value": "items",
                "type": "query",
                "description": "Allows the client to customize which related resources should be returned. Available options: items, owners"
              },
              {
                "name": "filter[id]",
                "value": "",
                "type": "query",
                "description": "User collection tracks id (e.g. `FMJUCzH4`)"
              }
            ],
            "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 userCollectionTracks by available filters, or without if applicable."
        },
        {
          "info": {
            "name": "Get single userCollectionTrack.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://openapi.tidal.com/v2/userCollectionTracks/:id",
            "params": [
              {
                "name": "id",
                "value": "me",
                "type": "path",
                "description": "User collection tracks id. Use `me` for the authenticated user's resource"
              },
              {
                "name": "countryCode",
                "value": "US",
                "type": "query",
                "description": "ISO 3166-1 alpha-2 country code"
              },
              {
                "name": "locale",
                "value": "en-US",
                "type": "query",
                "description": "BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported."
              },
              {
                "name": "include",
                "value": "items",
                "type": "query",
                "description": "Allows the client to customize which related resources should be returned. Available options: items, owners"
              }
            ],
            "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 single userCollectionTrack by id."
        },
        {
          "info": {
            "name": "Get items relationship (\"to-many\").",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://openapi.tidal.com/v2/userCollectionTracks/:id/relationships/items",
            "params": [
              {
                "name": "id",
                "value": "me",
                "type": "path",
                "description": "User collection tracks id. Use `me` for the authenticated user's resource"
              },
              {
                "name": "page[cursor]",
                "value": "",
                "type": "query",
                "description": "Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Values prefixed with \"-\" are sorted descending; values without it are sorted ascending."
              },
              {
                "name": "countryCode",
                "value": "US",
                "type": "query",
                "description": "ISO 3166-1 alpha-2 country code"
              },
              {
                "name": "locale",
                "value": "en-US",
                "type": "query",
                "description": "BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported."
              },
              {
                "name": "include",
                "value": "items",
                "type": "query",
                "description": "Allows the client to customize which related resources should be returned. Available options: items"
              }
            ],
            "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 items relationship."
        },
        {
          "info": {
            "name": "Add to items relationship (\"to-many\").",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://openapi.tidal.com/v2/userCollectionTracks/:id/relationships/items",
            "params": [
              {
                "name": "id",
                "value": "me",
                "type": "path",
                "description": "User collection tracks id. Use `me` for the authenticated user's resource"
              },
              {
                "name": "countryCode",
                "value": "US",
                "type": "query",
                "description": "ISO 3166-1 alpha-2 country code"
              }
            ],
            "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": "Adds item(s) to items relationship."
        },
        {
          "info": {
            "name": "Delete from items relationship (\"to-many\").",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://openapi.tidal.com/v2/userCollectionTracks/:id/relationships/items",
            "params": [
              {
                "name": "id",
                "value": "me",
                "type": "path",
                "description": "User collection tracks id. Use `me` for the authenticated user's resource"
              }
            ],
            "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": "Deletes item(s) from items relationship."
        },
        {
          "info": {
            "name": "Get owners relationship (\"to-many\").",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://openapi.tidal.com/v2/userCollectionTracks/:id/relationships/owners",
            "params": [
              {
                "name": "id",
                "value": "me",
                "type": "path",
                "description": "User collection tracks id. Use `me` for the authenticated user's resource"
              },
              {
                "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."
        }
      ]
    }
  ],
  "bundled": true
}