Emporix · Schema

Upload Session Request

Payload for creating a direct-storage upload session.

CompanyCommerceE-CommerceB2B CommerceHeadless CommerceComposable CommerceCommerce OrchestrationAgentic CommerceiPaaSSoftware-as-a-Service
View JSON Schema on GitHub

JSON Schema

emporix-upload-session-request-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-request-schema.json",
  "title": "Upload Session Request",
  "description": "Payload for creating a direct-storage upload session.",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/emporix-media-openapi.yml#/components/schemas/UploadSessionRequest",
  "allOf": [
    {
      "$ref": "#/$defs/AssetCreateBlob"
    },
    {
      "type": "object",
      "properties": {
        "uploadType": {
          "type": "string",
          "enum": [
            "put",
            "form"
          ],
          "default": "put",
          "description": "Upload flow requested for a private Google Cloud Storage asset.\n* `put`: Returns a signed `PUT` request. This is the default when the property is omitted.\n* `form`: Returns a multipart `POST` policy.\nPublic Cloudinary assets always use a multipart `POST` form, regardless of this value.\n"
        }
      }
    }
  ],
  "$defs": {
    "Asset": {
      "title": "Asset",
      "type": "object",
      "properties": {
        "access": {
          "type": "string",
          "enum": [
            "PUBLIC",
            "PRIVATE"
          ],
          "description": "Access type of the asset. This property is immutable. \n- `PUBLIC`: Blob assets are stored in Cloudinary and are accessible through a permanent external URL.\n- `PRIVATE`: Blob assets are stored in Google Cloud Storage. Retrieve their content through `/media/{tenant}/assets/{assetId}/download` or request a temporary signed URL through `/media/{tenant}/assets/{assetId}/download-url`.\n"
        },
        "refIds": {
          "type": "array",
          "description": "List of references.",
          "items": {
            "$ref": "#/$defs/RefId"
          }
        },
        "mixins": {
          "type": "object",
          "description": "Custom asset attributes."
        },
        "metadata": {
          "$ref": "#/$defs/MetadataCreate"
        }
      }
    },
    "AssetCreateBlob": {
      "title": "Asset Create Blob Payload",
      "type": "object",
      "allOf": [
        {
          "$ref": "#/$defs/Asset"
        }
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier of an asset."
        },
        "type": {
          "type": "string",
          "enum": [
            "BLOB"
          ],
          "description": "Asset type. This property is immutable."
        },
        "details": {
          "$ref": "#/$defs/AssetDetailsCreate"
        }
      },
      "required": [
        "type",
        "access"
      ]
    },
    "AssetDetailsCreate": {
      "title": "Asset Request Detailed Information",
      "type": "object",
      "properties": {
        "filename": {
          "type": "string",
          "description": "Asset filename."
        },
        "mimeType": {
          "type": "string",
          "description": "The MIME (media) type of the asset."
        }
      }
    },
    "MetadataCreate": {
      "type": "object",
      "properties": {
        "mixins": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "A key-value map, where key is a mixin name and value is a link to the mixin schema. Must be provided together with the corresponding mixin values in the `mixins` object."
        }
      }
    },
    "RefId": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "Reference type. Can be one of the predefined types: `BRAND`, `CATEGORY`, `LABEL`, `PRODUCT`, `MODULE`, `AGENT` or any custom schema type.\n"
        },
        "id": {
          "type": "string",
          "description": "Reference Id."
        }
      }
    }
  }
}

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-request"
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.