deploy.social · Schema

Media

A video in your workspace.

CompanySocial MediaVideoShort-Form VideoCross-PostingSchedulingContent PublishingMCP

Properties

Name Type Description
id string The video's id. Starts with `media_`.
kind string `video` or `image`. New kinds may be added.
status string `uploading` until the file arrives, `processing` while we prepare it, then `ready` or `failed`. `expired` means its files were removed after a period of inactivity; upload it again to use it. New valu
filename stringnull
content_type stringnull
size_bytes object
duration_sec numbernull
width object
height object
orientation object The shape, once the size is known (`null` before). A `landscape` video needs `vertical_fit` on a post to Facebook Reels, YouTube Shorts or TikTok.
progress object How far processing has got, while it's running.
error object Why the video failed, when it did.
created_at string When the video was added.
updated_at string When the video last changed.
View JSON Schema on GitHub

JSON Schema

deploy-social-media-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/deploy-social/json-schema/deploy-social-media-schema.json",
  "title": "Media",
  "description": "A video in your workspace.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/deploy-social-openapi.yml#/components/schemas/Media",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The video's id. Starts with `media_`."
    },
    "kind": {
      "type": "string",
      "enum": [
        "video",
        "image"
      ],
      "description": "`video` or `image`. New kinds may be added."
    },
    "status": {
      "type": "string",
      "description": "`uploading` until the file arrives, `processing` while we prepare it, then `ready` or `failed`. `expired` means its files were removed after a period of inactivity; upload it again to use it. New values may be added."
    },
    "filename": {
      "type": [
        "string",
        "null"
      ]
    },
    "content_type": {
      "type": [
        "string",
        "null"
      ]
    },
    "size_bytes": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ]
    },
    "duration_sec": {
      "type": [
        "number",
        "null"
      ]
    },
    "width": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ]
    },
    "height": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ]
    },
    "orientation": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "landscape",
            "portrait",
            "square"
          ]
        },
        {
          "type": "null"
        }
      ],
      "description": "The shape, once the size is known (`null` before). A `landscape` video needs `vertical_fit` on a post to Facebook Reels, YouTube Shorts or TikTok."
    },
    "progress": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "phase": {
              "type": [
                "string",
                "null"
              ]
            },
            "percent": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "phase",
            "percent"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ],
      "description": "How far processing has got, while it's running."
    },
    "error": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "code": {
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ],
      "description": "Why the video failed, when it did."
    },
    "created_at": {
      "type": "string",
      "description": "When the video was added.",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "description": "When the video last changed.",
      "format": "date-time"
    }
  },
  "required": [
    "id",
    "kind",
    "status",
    "filename",
    "content_type",
    "size_bytes",
    "duration_sec",
    "width",
    "height",
    "orientation",
    "progress",
    "error",
    "created_at",
    "updated_at"
  ],
  "additionalProperties": false
}

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/deploy-social-media"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.