dystro-dev · Schema

CreatePostBody

CompanyAPIDeveloperTechnologyIntegration

Properties

Name Type Description
projectId string
text string
platforms array
idempotency_key string Mandatory unless the Idempotency-Key header is sent. Replaying the same key returns the original post.
schedule object { kind: 'one_shot', scheduledFor: epoch-ms } or recurring shapes.
save_as_draft boolean
overrides object Per-platform diff over the base: { : { text?, media? } }.
platform_settings object Per-platform publish settings, validated against GET /v1/platforms.
media array
View JSON Schema on GitHub

JSON Schema

dystro-dev-create-post-body-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dystro-dev/json-schema/dystro-dev-create-post-body-schema.json",
  "title": "CreatePostBody",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dystro-dev-openapi.json#/components/schemas/CreatePostBody",
  "type": "object",
  "properties": {
    "projectId": {
      "type": "string"
    },
    "text": {
      "type": "string"
    },
    "platforms": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "idempotency_key": {
      "type": "string",
      "description": "Mandatory unless the Idempotency-Key header is sent. Replaying the same key returns the original post."
    },
    "schedule": {
      "type": "object",
      "description": "{ kind: 'one_shot', scheduledFor: epoch-ms } or recurring shapes."
    },
    "save_as_draft": {
      "type": "boolean"
    },
    "overrides": {
      "type": "object",
      "description": "Per-platform diff over the base: { <platform>: { text?, media? } }."
    },
    "platform_settings": {
      "type": "object",
      "description": "Per-platform publish settings, validated against GET /v1/platforms."
    },
    "media": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MediaItem"
      }
    }
  },
  "required": [
    "projectId",
    "text",
    "platforms"
  ],
  "$defs": {
    "MediaItem": {
      "type": "object",
      "properties": {
        "mediaId": {
          "type": "string"
        },
        "kind": {
          "type": "string",
          "enum": [
            "image",
            "video",
            "gif"
          ]
        },
        "mimeType": {
          "type": "string"
        },
        "bytes": {
          "type": "number"
        },
        "durationMs": {
          "type": "number"
        },
        "altText": {
          "type": "string",
          "description": "Accessibility description for image/gif media."
        },
        "aspectRatio": {
          "type": "object",
          "properties": {
            "width": {
              "type": "number"
            },
            "height": {
              "type": "number"
            }
          }
        }
      },
      "required": [
        "kind",
        "mimeType",
        "bytes"
      ]
    }
  }
}

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/dystro-dev-create-post-body"
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.