{
  "opencollection": "1.0.0",
  "info": {
    "name": "Blubrry Podcast Hosting & Statistics Episode Media API",
    "version": "2"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://api.blubrry.com/oauth2/authorize",
      "accessTokenUrl": "https://api.blubrry.com/oauth2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Media",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List shows",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.blubrry.com/2/media/index.:format",
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "path",
                "description": "Response serialization format."
              }
            ]
          },
          "docs": "Returns the list of shows the authorized account has access to."
        },
        {
          "info": {
            "name": "List media for a show",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.blubrry.com/2/media/:keyword/index.:format",
            "params": [
              {
                "name": "keyword",
                "value": "",
                "type": "path",
                "description": "Program keyword that identifies the show."
              },
              {
                "name": "format",
                "value": "",
                "type": "path",
                "description": "Response serialization format."
              }
            ]
          },
          "docs": "Returns unpublished and recently published media files for the show."
        },
        {
          "info": {
            "name": "Get a media file's metadata",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.blubrry.com/2/media/:keyword/:filename",
            "params": [
              {
                "name": "keyword",
                "value": "",
                "type": "path",
                "description": "Program keyword that identifies the show."
              },
              {
                "name": "filename",
                "value": "",
                "type": "path",
                "description": "Media filename including extension."
              }
            ]
          },
          "docs": "Get a media file's metadata"
        },
        {
          "info": {
            "name": "Upload (or replace) a media file",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.blubrry.com/2/media/:keyword/:filename",
            "params": [
              {
                "name": "keyword",
                "value": "",
                "type": "path",
                "description": "Program keyword that identifies the show."
              },
              {
                "name": "filename",
                "value": "",
                "type": "path",
                "description": "Media filename including extension."
              }
            ]
          },
          "docs": "Upload (or replace) a media file"
        },
        {
          "info": {
            "name": "Delete a media file",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.blubrry.com/2/media/:keyword/:filename",
            "params": [
              {
                "name": "keyword",
                "value": "",
                "type": "path",
                "description": "Program keyword that identifies the show."
              },
              {
                "name": "filename",
                "value": "",
                "type": "path",
                "description": "Media filename including extension."
              }
            ]
          },
          "docs": "Delete a media file"
        },
        {
          "info": {
            "name": "Queue a media file for migration into Blubrry hosting",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.blubrry.com/2/media/:keyword/migrate_add.json",
            "params": [
              {
                "name": "keyword",
                "value": "",
                "type": "path",
                "description": "Program keyword that identifies the show."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "source_url",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Queue a media file for migration into Blubrry hosting"
        },
        {
          "info": {
            "name": "Remove a migration request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.blubrry.com/2/media/:keyword/migrate_remove.json",
            "params": [
              {
                "name": "keyword",
                "value": "",
                "type": "path",
                "description": "Program keyword that identifies the show."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "source_url",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Remove a migration request"
        },
        {
          "info": {
            "name": "Get migration status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.blubrry.com/2/media/:keyword/migrate_status.json",
            "params": [
              {
                "name": "keyword",
                "value": "",
                "type": "path",
                "description": "Program keyword that identifies the show."
              }
            ]
          },
          "docs": "Get migration status"
        }
      ]
    }
  ],
  "bundled": true
}