{
  "opencollection": "1.0.0",
  "info": {
    "name": "Zesty Media API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Bins",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Zesty List all media bins",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://media-manager.api.zesty.io/bins",
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Returns a list of all media bins accessible to the authenticated user. Bins are top-level containers for organizing media files."
        },
        {
          "info": {
            "name": "Zesty Create a media bin",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://media-manager.api.zesty.io/bins",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Creates a new media bin for organizing files."
        },
        {
          "info": {
            "name": "Zesty Get a media bin",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://media-manager.api.zesty.io/bins/:binZUID",
            "params": [
              {
                "name": "binZUID",
                "value": "",
                "type": "path",
                "description": "The ZUID of the media bin."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Returns details for a specific media bin."
        },
        {
          "info": {
            "name": "Zesty Update a media bin",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://media-manager.api.zesty.io/bins/:binZUID",
            "params": [
              {
                "name": "binZUID",
                "value": "",
                "type": "path",
                "description": "The ZUID of the media bin."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Updates the details of a specific media bin."
        },
        {
          "info": {
            "name": "Zesty Delete a media bin",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://media-manager.api.zesty.io/bins/:binZUID",
            "params": [
              {
                "name": "binZUID",
                "value": "",
                "type": "path",
                "description": "The ZUID of the media bin."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Deletes a specific media bin and all its contents."
        }
      ]
    },
    {
      "info": {
        "name": "Groups",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Zesty List all media groups",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://media-manager.api.zesty.io/groups",
            "params": [
              {
                "name": "binZUID",
                "value": "",
                "type": "query",
                "description": "Filter groups by bin ZUID."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Returns a list of all media groups (folders) for organizing files within bins."
        },
        {
          "info": {
            "name": "Zesty Create a media group",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://media-manager.api.zesty.io/groups",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Creates a new media group (folder) within a bin."
        },
        {
          "info": {
            "name": "Zesty Get a media group",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://media-manager.api.zesty.io/groups/:groupZUID",
            "params": [
              {
                "name": "groupZUID",
                "value": "",
                "type": "path",
                "description": "The ZUID of the group."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Returns details for a specific media group."
        },
        {
          "info": {
            "name": "Zesty Update a media group",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://media-manager.api.zesty.io/groups/:groupZUID",
            "params": [
              {
                "name": "groupZUID",
                "value": "",
                "type": "path",
                "description": "The ZUID of the group."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Updates the details of a specific media group."
        },
        {
          "info": {
            "name": "Zesty Delete a media group",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://media-manager.api.zesty.io/groups/:groupZUID",
            "params": [
              {
                "name": "groupZUID",
                "value": "",
                "type": "path",
                "description": "The ZUID of the group."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Deletes a specific media group."
        }
      ]
    },
    {
      "info": {
        "name": "Files",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Zesty List all media files",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://media-manager.api.zesty.io/files",
            "params": [
              {
                "name": "binZUID",
                "value": "",
                "type": "query",
                "description": "Filter files by bin ZUID."
              },
              {
                "name": "groupZUID",
                "value": "",
                "type": "query",
                "description": "Filter files by group ZUID."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of files to return."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Returns a list of media files, optionally filtered by bin or group."
        },
        {
          "info": {
            "name": "Zesty Get a media file",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://media-manager.api.zesty.io/files/:fileZUID",
            "params": [
              {
                "name": "fileZUID",
                "value": "",
                "type": "path",
                "description": "The ZUID of the file."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Returns details for a specific media file."
        },
        {
          "info": {
            "name": "Zesty Update a media file",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://media-manager.api.zesty.io/files/:fileZUID",
            "params": [
              {
                "name": "fileZUID",
                "value": "",
                "type": "path",
                "description": "The ZUID of the file."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Updates the metadata of a specific media file."
        },
        {
          "info": {
            "name": "Zesty Delete a media file",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://media-manager.api.zesty.io/files/:fileZUID",
            "params": [
              {
                "name": "fileZUID",
                "value": "",
                "type": "path",
                "description": "The ZUID of the file."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Deletes a specific media file."
        },
        {
          "info": {
            "name": "Zesty Upload a media file",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://media-manager.api.zesty.io/upload/:binZUID/:groupZUID",
            "params": [
              {
                "name": "binZUID",
                "value": "",
                "type": "path",
                "description": "The ZUID of the bin to upload to."
              },
              {
                "name": "groupZUID",
                "value": "",
                "type": "path",
                "description": "The ZUID of the group (folder) to upload to."
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "file",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "title",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "fileName",
                  "type": "text",
                  "value": ""
                }
              ]
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Uploads a new media file to the specified bin and group. Supports images, documents, and other file types."
        }
      ]
    },
    {
      "info": {
        "name": "Resolver",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Zesty Resolve a file to its CDN URL",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://media-manager.api.zesty.io/resolve/:fileZUID",
            "params": [
              {
                "name": "fileZUID",
                "value": "",
                "type": "path",
                "description": "The ZUID of the file to resolve."
              }
            ]
          },
          "docs": "Returns the CDN URL for a media file by its ZUID. This endpoint is served by the Media Resolver service."
        }
      ]
    }
  ],
  "bundled": true
}