{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mux Animated Images Direct Uploads API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Direct Uploads",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Direct Uploads",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mux.com/video/v1/uploads",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of items to include in the response"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Offset by this many pages, of the size of `limit`"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Lists direct uploads in the current environment."
        },
        {
          "info": {
            "name": "Create a New Direct Upload URL",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mux.com/video/v1/uploads",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Creates a new direct upload, through which video content can be uploaded for ingest to Mux."
        },
        {
          "info": {
            "name": "Retrieve a Single Direct Upload's Info",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mux.com/video/v1/uploads/:UPLOAD_ID",
            "params": [
              {
                "name": "UPLOAD_ID",
                "value": "abcd1234",
                "type": "path",
                "description": "ID of the Upload"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Fetches information about a single direct upload in the current environment."
        },
        {
          "info": {
            "name": "Cancel a Direct Upload",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.mux.com/video/v1/uploads/:UPLOAD_ID/cancel",
            "params": [
              {
                "name": "UPLOAD_ID",
                "value": "abcd1234",
                "type": "path",
                "description": "ID of the Upload"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Cancels a direct upload and marks it as cancelled. If a pending upload finishes after this\nrequest, no asset will be created. This request will only succeed if the upload is still in\nthe `waiting` state.\n"
        }
      ]
    }
  ],
  "bundled": true
}