Emporix · Schema

Upload Session

Instruction for sending a file directly to storage.

CompanyCommerceE-CommerceB2B CommerceHeadless CommerceComposable CommerceCommerce OrchestrationAgentic CommerceiPaaSSoftware-as-a-Service

Properties

Name Type Description
id string Unique identifier of the asset, generated when the upload session is created.
provider string Storage that receives the file. * `GCS` — private asset. Upload with the returned `PUT` headers or multipart `POST` fields. * `CLOUDINARY` — public asset. Upload with `POST` and the returned multipart
status string The asset stays `PENDING` until the file is stored.
expiresAt string Date and time when the unused upload session expires. Returned as an ISO-8601 string.
upload object The request the caller sends to storage.
View JSON Schema on GitHub

JSON Schema

emporix-upload-session-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/emporix/main/json-schema/emporix-upload-session-schema.json",
  "title": "Upload Session",
  "description": "Instruction for sending a file directly to storage.",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/emporix-media-openapi.yml#/components/schemas/UploadSession",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier of the asset, generated when the upload session is created."
    },
    "provider": {
      "type": "string",
      "enum": [
        "GCS",
        "CLOUDINARY"
      ],
      "description": "Storage that receives the file.\n* `GCS` — private asset. Upload with the returned `PUT` headers or multipart `POST` fields.\n* `CLOUDINARY` — public asset. Upload with `POST` and the returned multipart form fields.\n"
    },
    "status": {
      "type": "string",
      "enum": [
        "PENDING"
      ],
      "description": "The asset stays `PENDING` until the file is stored."
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time when the unused upload session expires. Returned as an ISO-8601 string."
    },
    "upload": {
      "type": "object",
      "description": "The request the caller sends to storage.",
      "properties": {
        "method": {
          "type": "string",
          "enum": [
            "PUT",
            "POST"
          ],
          "description": "HTTP method of the storage request."
        },
        "url": {
          "type": "string",
          "description": "Storage URL that receives the file."
        },
        "headers": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Headers required by a private Google Cloud Storage `PUT` upload. Send every returned header unchanged with the file.\nReturned only for the Google Cloud Storage `PUT` flow.\n"
        },
        "fields": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Fields required by a Google Cloud Storage or Cloudinary multipart `POST`. Send every returned field unchanged, then append the file part last.\nGoogle Cloud Storage fields do not include `x-goog-if-generation-match`. Cloudinary fields include `api_key` and `signature` but never include the API secret.\n"
        }
      },
      "required": [
        "method",
        "url"
      ]
    }
  },
  "required": [
    "id",
    "provider",
    "status",
    "expiresAt",
    "upload"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/emporix-upload-session"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.