{
  "opencollection": "1.0.0",
  "info": {
    "name": "MediaValet Uploads API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://login.mediavalet.com/connect/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Uploads",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Complete Upload",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.mediavalet.com/uploads/:assetId",
            "headers": [
              {
                "name": "x-mv-api-version",
                "value": "1.2"
              }
            ],
            "params": [
              {
                "name": "assetId",
                "value": "",
                "type": "path",
                "description": "assetId path parameter."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Complete Upload"
        },
        {
          "info": {
            "name": "Update Asset",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.mediavalet.com/uploads/:assetId",
            "headers": [
              {
                "name": "x-mv-api-version",
                "value": "1.2"
              }
            ],
            "params": [
              {
                "name": "assetId",
                "value": "",
                "type": "path",
                "description": "assetId path parameter."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update asset with a list of patch operations."
        },
        {
          "info": {
            "name": "Create Asset",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mediavalet.com/uploads",
            "headers": [
              {
                "name": "x-mv-api-version",
                "value": "1.2"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates an asset and returns newly created asset information."
        },
        {
          "info": {
            "name": "Validate Uploads",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mediavalet.com/uploads/validate",
            "headers": [
              {
                "name": "x-mv-api-version",
                "value": "1.2"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Validate a collection of uploads."
        },
        {
          "info": {
            "name": "Create Asset Association With Keywords",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mediavalet.com/uploads/:assetId/keywords",
            "headers": [
              {
                "name": "x-mv-api-version",
                "value": "1.2"
              }
            ],
            "params": [
              {
                "name": "assetId",
                "value": "",
                "type": "path",
                "description": "assetId path parameter."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Associates list of keywords to specified asset."
        },
        {
          "info": {
            "name": "Create Asset Attributes",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mediavalet.com/uploads/:assetId/attributes",
            "headers": [
              {
                "name": "x-mv-api-version",
                "value": "1.2"
              }
            ],
            "params": [
              {
                "name": "assetId",
                "value": "",
                "type": "path",
                "description": "assetId path parameter."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add attributes to an asset."
        },
        {
          "info": {
            "name": "Create Asset Association With Categories",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mediavalet.com/uploads/:assetId/categories",
            "headers": [
              {
                "name": "x-mv-api-version",
                "value": "1.2"
              }
            ],
            "params": [
              {
                "name": "assetId",
                "value": "",
                "type": "path",
                "description": "assetId path parameter."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Associates specified asset into list of categories."
        },
        {
          "info": {
            "name": "Create Asset Association With Lightbox",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mediavalet.com/uploads/:assetId/lightboxes",
            "headers": [
              {
                "name": "x-mv-api-version",
                "value": "1.2"
              }
            ],
            "params": [
              {
                "name": "assetId",
                "value": "",
                "type": "path",
                "description": "assetId path parameter."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add asset to a lightbox."
        },
        {
          "info": {
            "name": "Create Upload Association With Lightbox",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mediavalet.com/uploads/:uploadId/lightboxesassets",
            "headers": [
              {
                "name": "x-mv-api-version",
                "value": "1.2"
              }
            ],
            "params": [
              {
                "name": "uploadId",
                "value": "",
                "type": "path",
                "description": "uploadId path parameter."
              }
            ]
          },
          "docs": "Add uploaded asset to a lightbox."
        },
        {
          "info": {
            "name": "Create Lightbox Association With Asset List",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mediavalet.com/uploads/lightboxes/:lightboxId/assets",
            "headers": [
              {
                "name": "x-mv-api-version",
                "value": "1.2"
              }
            ],
            "params": [
              {
                "name": "lightboxId",
                "value": "",
                "type": "path",
                "description": "lightboxId path parameter."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add a list of assets to a lightbox."
        },
        {
          "info": {
            "name": "Update Lightbox",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.mediavalet.com/uploads/:assetId/lightboxes/:lightboxId",
            "headers": [
              {
                "name": "x-mv-api-version",
                "value": "1.2"
              }
            ],
            "params": [
              {
                "name": "assetId",
                "value": "",
                "type": "path",
                "description": "assetId path parameter."
              },
              {
                "name": "lightboxId",
                "value": "",
                "type": "path",
                "description": "lightboxId path parameter."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the lightbox with a list of patch operations."
        }
      ]
    }
  ],
  "bundled": true
}