Lemmy · Schema

Post

A post in a Lemmy community, representing a link, text, or image submission.

CommunitiesFederatedFediverseLink AggregatorOpen-SourceSocial Networks

Properties

Name Type Description
id integer Unique identifier for the post
name string Title of the post
url stringnull Link URL for link posts
body stringnull Text body content of the post (Markdown supported)
creator_id integer ID of the user who created the post
community_id integer ID of the community the post belongs to
removed boolean Whether the post was removed by a moderator
locked boolean Whether comments on the post are locked
published string Timestamp when the post was published
updated stringnull Timestamp when the post was last updated
deleted boolean Whether the post was deleted by the author
nsfw boolean Whether the post is marked as NSFW
ap_id string ActivityPub ID for federation
local boolean Whether the post originated on this instance
language_id integer ID of the language the post is written in
featured_community boolean Whether the post is pinned to the community
featured_local boolean Whether the post is pinned to the local instance feed
thumbnail_url stringnull URL of the post's thumbnail image
embed_title stringnull Title extracted from embedded URL
embed_description stringnull Description extracted from embedded URL
embed_video_url stringnull Video URL extracted from embedded URL
View JSON Schema on GitHub

JSON Schema

post.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://join-lemmy.org/schema/post.json",
  "title": "Post",
  "description": "A post in a Lemmy community, representing a link, text, or image submission.",
  "type": "object",
  "required": ["id", "name", "creator_id", "community_id", "published"],
  "properties": {
    "id": {
      "type": "integer",
      "description": "Unique identifier for the post"
    },
    "name": {
      "type": "string",
      "description": "Title of the post",
      "maxLength": 200
    },
    "url": {
      "type": ["string", "null"],
      "format": "uri",
      "description": "Link URL for link posts"
    },
    "body": {
      "type": ["string", "null"],
      "description": "Text body content of the post (Markdown supported)"
    },
    "creator_id": {
      "type": "integer",
      "description": "ID of the user who created the post"
    },
    "community_id": {
      "type": "integer",
      "description": "ID of the community the post belongs to"
    },
    "removed": {
      "type": "boolean",
      "description": "Whether the post was removed by a moderator"
    },
    "locked": {
      "type": "boolean",
      "description": "Whether comments on the post are locked"
    },
    "published": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the post was published"
    },
    "updated": {
      "type": ["string", "null"],
      "format": "date-time",
      "description": "Timestamp when the post was last updated"
    },
    "deleted": {
      "type": "boolean",
      "description": "Whether the post was deleted by the author"
    },
    "nsfw": {
      "type": "boolean",
      "description": "Whether the post is marked as NSFW"
    },
    "ap_id": {
      "type": "string",
      "format": "uri",
      "description": "ActivityPub ID for federation"
    },
    "local": {
      "type": "boolean",
      "description": "Whether the post originated on this instance"
    },
    "language_id": {
      "type": "integer",
      "description": "ID of the language the post is written in"
    },
    "featured_community": {
      "type": "boolean",
      "description": "Whether the post is pinned to the community"
    },
    "featured_local": {
      "type": "boolean",
      "description": "Whether the post is pinned to the local instance feed"
    },
    "thumbnail_url": {
      "type": ["string", "null"],
      "format": "uri",
      "description": "URL of the post's thumbnail image"
    },
    "embed_title": {
      "type": ["string", "null"],
      "description": "Title extracted from embedded URL"
    },
    "embed_description": {
      "type": ["string", "null"],
      "description": "Description extracted from embedded URL"
    },
    "embed_video_url": {
      "type": ["string", "null"],
      "format": "uri",
      "description": "Video URL extracted from embedded URL"
    }
  },
  "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/post"
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.