linkbreakers-com · Schema

Request to start replacing a media item's file

QR CodesLead CaptureWebhookSDK

Properties

Name Type Description
fileName string The new file's name. The media takes it once the replacement completes; visitors download the file under it.
mimeType string The new file's MIME type: image/png, image/jpeg, image/webp, image/svg+xml, application/pdf or video/mp4. The uploaded bytes must be this format.
sha256 string Optional: the new file's SHA-256 digest, 64 hexadecimal characters. When given, a file another media item holds is refused at once with 409 MEDIA_ALREADY_EXISTS, the media's own file returns unchanged
size integer The new file's exact size in bytes. The PUT must send exactly this many bytes.
View JSON Schema on GitHub

JSON Schema

linkbreakers-com-media-service-create-replace-upload-body-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/linkbreakers-com/json-schema/linkbreakers-com-media-service-create-replace-upload-body-schema.json",
  "title": "Request to start replacing a media item's file",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/linkbreakers-com-media-api-openapi.yml#/components/schemas/MediaServiceCreateReplaceUploadBody",
  "properties": {
    "fileName": {
      "description": "The new file's name. The media takes it once the replacement completes; visitors download the file under it.",
      "type": "string"
    },
    "mimeType": {
      "description": "The new file's MIME type: image/png, image/jpeg, image/webp, image/svg+xml, application/pdf or video/mp4. The uploaded bytes must be this format.",
      "type": "string"
    },
    "sha256": {
      "description": "Optional: the new file's SHA-256 digest, 64 hexadecimal characters. When given, a file another media\nitem holds is refused at once with 409 MEDIA_ALREADY_EXISTS, the media's own file returns unchanged\ntrue, and storage refuses a PUT whose bytes do not match it, so the PUT must carry the\nx-amz-checksum-sha256 header from upload_headers.",
      "type": "string"
    },
    "size": {
      "description": "The new file's exact size in bytes. The PUT must send exactly this many bytes.",
      "format": "int64",
      "type": "integer"
    }
  },
  "required": [
    "fileName",
    "mimeType",
    "size"
  ],
  "type": "object"
}

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/linkbreakers-com-media-service-create-replace-upload-body"
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.