uploads.sh · Schema

PublicFile

CompanyDeveloper ToolsCIAutomationScreenshots

Properties

Name Type Description
workspace string
key string
url string
previewUrl string
embedUrl stringnull
size integer
contentType string
uploaded string
modified string
metadata object Public metadata. Internal and `ai.*` labels are removed.
github object
posterUrl string
videoDimensions object
counterpart object The other half of a before/after pair, when it is public.
View JSON Schema on GitHub

JSON Schema

uploads-sh-public-file-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/uploads-sh/json-schema/uploads-sh-public-file-schema.json",
  "title": "PublicFile",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/uploads-sh-openapi.json#/components/schemas/PublicFile",
  "type": "object",
  "required": [
    "workspace",
    "key",
    "url",
    "previewUrl",
    "embedUrl",
    "size",
    "contentType"
  ],
  "properties": {
    "workspace": {
      "type": "string"
    },
    "key": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "previewUrl": {
      "type": "string",
      "format": "uri"
    },
    "embedUrl": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "size": {
      "type": "integer",
      "minimum": 0
    },
    "contentType": {
      "type": "string"
    },
    "uploaded": {
      "type": "string",
      "format": "date-time"
    },
    "modified": {
      "type": "string",
      "format": "date-time"
    },
    "metadata": {
      "allOf": [
        {
          "$ref": "#/$defs/Metadata"
        }
      ],
      "description": "Public metadata. Internal and `ai.*` labels are removed."
    },
    "github": {
      "type": "object",
      "required": [
        "repo",
        "kind",
        "number",
        "url"
      ],
      "properties": {
        "repo": {
          "type": "string"
        },
        "kind": {
          "type": "string",
          "enum": [
            "pull",
            "issue"
          ]
        },
        "number": {
          "type": "integer",
          "minimum": 1
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "title": {
          "type": "string"
        },
        "avatarUrl": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "posterUrl": {
      "type": "string",
      "format": "uri"
    },
    "videoDimensions": {
      "$ref": "#/$defs/VideoDimensions"
    },
    "counterpart": {
      "type": "object",
      "required": [
        "key",
        "url",
        "previewUrl",
        "state"
      ],
      "description": "The other half of a before/after pair, when it is public.",
      "properties": {
        "key": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "previewUrl": {
          "type": "string",
          "format": "uri"
        },
        "state": {
          "type": "string",
          "enum": [
            "before",
            "after"
          ]
        }
      }
    }
  },
  "$defs": {
    "Metadata": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "VideoDimensions": {
      "type": "object",
      "required": [
        "width",
        "height"
      ],
      "properties": {
        "width": {
          "type": "integer",
          "minimum": 1
        },
        "height": {
          "type": "integer",
          "minimum": 1
        }
      }
    }
  }
}

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/uploads-sh-public-file"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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