postlake-dev · Schema

MediaAsset

CompanySocial MediaAI AgentsMCPSoftware-as-a-ServiceAutomationPublishing

Properties

Name Type Description
deletionState string Cleanup is incomplete and can be retried. This upload cannot be used in new posts.
retention object Minimum 90 days from upload on every plan while the account is open. Scheduled references remain protected until terminal state plus 30 days if later. No automatic expiry currently. Account deletion,
id string
url string
contentType string
size integer
createdAt string
width integer Pixel width. Images only, and absent when the header could not be read.
height integer Pixel height. Images only, and absent when the header could not be read.
View JSON Schema on GitHub

JSON Schema

postlake-dev-media-asset-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/postlake-dev/json-schema/postlake-dev-media-asset-schema.json",
  "title": "MediaAsset",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/postlake-dev-openapi.json#/components/schemas/MediaAsset",
  "type": "object",
  "properties": {
    "deletionState": {
      "type": "string",
      "enum": [
        "deleting"
      ],
      "description": "Cleanup is incomplete and can be retried. This upload cannot be used in new posts."
    },
    "retention": {
      "type": "object",
      "description": "Minimum 90 days from upload on every plan while the account is open. Scheduled references remain protected until terminal state plus 30 days if later. No automatic expiry currently. Account deletion, verified erasure requests and legal/security removal are exceptions. Source URLs are public, not private storage.",
      "properties": {
        "version": {
          "type": "string"
        },
        "minimumDays": {
          "type": "integer"
        },
        "minimumUntil": {
          "type": "string",
          "format": "date-time"
        },
        "scheduledProtection": {
          "type": "string"
        },
        "automaticExpiry": {
          "type": "boolean"
        },
        "exceptions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "scope": {
          "type": "string"
        },
        "accountRequirement": {
          "type": "string"
        },
        "publicUrls": {
          "type": "boolean"
        },
        "postRemovalDeletesMedia": {
          "type": "boolean"
        },
        "backupService": {
          "type": "boolean"
        }
      }
    },
    "id": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "contentType": {
      "type": "string"
    },
    "size": {
      "type": "integer"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "width": {
      "type": "integer",
      "description": "Pixel width. Images only, and absent when the header could not be read."
    },
    "height": {
      "type": "integer",
      "description": "Pixel height. Images only, and absent when the header could not be read."
    }
  },
  "required": [
    "id",
    "url",
    "contentType",
    "size",
    "createdAt"
  ]
}

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/postlake-dev-media-asset"
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.