{
  "opencollection": "1.0.0",
  "info": {
    "name": "Genius Account Albums API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Albums",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Album",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.genius.com/albums/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Genius numeric album ID."
              },
              {
                "name": "text_format",
                "value": "",
                "type": "query",
                "description": "Format for textual fields in the response."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://api.genius.com/oauth/authorize",
              "accessTokenUrl": "https://api.genius.com/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Returns album metadata including title, artist, release date, and cover art."
        },
        {
          "info": {
            "name": "List Album Tracks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.genius.com/albums/:id/tracks",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Genius numeric album ID."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "Number of results per page (max 50)."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page index (1-indexed)."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://api.genius.com/oauth/authorize",
              "accessTokenUrl": "https://api.genius.com/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Returns the album's tracklist in order."
        },
        {
          "info": {
            "name": "Get Album Comments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.genius.com/albums/:id/comments",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Genius numeric album ID."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "Number of results per page (max 50)."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page index (1-indexed)."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://api.genius.com/oauth/authorize",
              "accessTokenUrl": "https://api.genius.com/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Comments left on the album page."
        },
        {
          "info": {
            "name": "Get Album Cover Arts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.genius.com/albums/:id/cover_arts",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Genius numeric album ID."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://api.genius.com/oauth/authorize",
              "accessTokenUrl": "https://api.genius.com/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Returns all cover-art images attached to the album."
        },
        {
          "info": {
            "name": "Get Album Leaderboard",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.genius.com/albums/:id/leaderboard",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Genius numeric album ID."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "Number of results per page (max 50)."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page index (1-indexed)."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://api.genius.com/oauth/authorize",
              "accessTokenUrl": "https://api.genius.com/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Top contributors to the album."
        }
      ]
    }
  ],
  "bundled": true
}