Lemmy · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Lemmy REST Post API

9 actions 9 updates phrasing extends openapi/lemmy-post-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Lemmy's API. It is a proposal applied on top of the contract, not a document Lemmy publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 9

$.info
$.paths['/post'].get
$.paths['/post'].put
$.paths['/post'].post
$.paths['/post'].delete
$.paths['/post/list'].get
$.paths['/post/like'].post
$.paths['/post/save'].put
$.paths['/post/report'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Lemmy REST Post API
  version: 1.0.0
extends: openapi/lemmy-post-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-18'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 8
- target: $.paths['/post'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a post by ID
      effect: read
      questions:
      - How do I fetch a single post by its ID?
      - Can I look up a post from a comment's ID?
      instructions:
      - text: Get post {id}.
        slots:
          id: query.id
      - text: Show the post that comment {comment_id} belongs to.
        slots:
          comment_id: query.comment_id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/post'].put
  update:
    x-apievangelist-phrasing:
      intent: Edit a post
      effect: write
      questions:
      - How do I change the title or URL of a post I created?
      - Can I mark an existing post as NSFW?
      instructions:
      - text: Edit post {post_id} to title {name}.
        slots:
          post_id: requestBody.post_id
          name: requestBody.name
      - text: Change the URL of post {post_id} to {url}.
        slots:
          post_id: requestBody.post_id
          url: requestBody.url
      - text: 'Mark post {post_id} as NSFW: {nsfw}.'
        slots:
          post_id: requestBody.post_id
          nsfw: requestBody.nsfw
      method: generated
      generated: '2026-11-18'
- target: $.paths['/post'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a post in a community
      effect: write
      questions:
      - How do I submit a link post to a community?
      - Can I add a body and tags to a new post?
      instructions:
      - text: Create post {name} in community {community_id}.
        slots:
          name: requestBody.name
          community_id: requestBody.community_id
      - text: Submit a post titled {name} to community {community_id} with body {body}.
        slots:
          name: requestBody.name
          community_id: requestBody.community_id
          body: requestBody.body
      method: generated
      generated: '2026-11-18'
- target: $.paths['/post'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete or restore a post
      effect: destructive
      questions:
      - How do I delete a post I posted?
      - Can I restore a deleted post?
      instructions:
      - text: Delete post {post_id} (deleted {deleted}).
        slots:
          post_id: requestBody.post_id
          deleted: requestBody.deleted
      - text: Restore post {post_id} by setting deleted {deleted}.
        slots:
          post_id: requestBody.post_id
          deleted: requestBody.deleted
      method: generated
      generated: '2026-11-18'
- target: $.paths['/post/list'].get
  update:
    x-apievangelist-phrasing:
      intent: List posts
      effect: read
      questions:
      - What posts are showing up on the front page?
      - Can I list only saved posts or posts from one community?
      - Is there a way to sort posts by hot or new?
      instructions:
      - text: List {type_} posts sorted by {sort}.
        slots:
          type_: query.type_
          sort: query.sort
      - text: Show posts from community {community_id}.
        slots:
          community_id: query.community_id
      - text: 'List saved posts only: {saved_only}.'
        slots:
          saved_only: query.saved_only
      method: generated
      generated: '2026-11-18'
- target: $.paths['/post/like'].post
  update:
    x-apievangelist-phrasing:
      intent: Vote on a post
      effect: write
      questions:
      - How do I upvote or downvote a post?
      - Can I set a post's score to -1?
      instructions:
      - text: Vote {score} on post {post_id}.
        slots:
          score: requestBody.score
          post_id: requestBody.post_id
      - text: Set the score of post {post_id} to {score}.
        slots:
          post_id: requestBody.post_id
          score: requestBody.score
      method: generated
      generated: '2026-11-18'
- target: $.paths['/post/save'].put
  update:
    x-apievangelist-phrasing:
      intent: Save or unsave a post
      effect: write
      questions:
      - How do I bookmark a post to read later?
      - Can I unsave a post I already saved?
      instructions:
      - text: 'Save post {post_id} for me: {save}.'
        slots:
          post_id: requestBody.post_id
          save: requestBody.save
      - text: Unsave post {post_id} by setting save {save}.
        slots:
          post_id: requestBody.post_id
          save: requestBody.save
      method: generated
      generated: '2026-11-18'
- target: $.paths['/post/report'].post
  update:
    x-apievangelist-phrasing:
      intent: Report a post to moderators
      effect: write
      questions:
      - How do I report a post for spam or abuse?
      - Can I leave a reason when reporting a post?
      instructions:
      - text: Report post {post_id} because {reason}.
        slots:
          post_id: requestBody.post_id
          reason: requestBody.reason
      - text: Submit a report on post {post_id} with reason {reason}.
        slots:
          post_id: requestBody.post_id
          reason: requestBody.reason
      method: generated
      generated: '2026-11-18'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay 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 overlay
curl "https://apis.io/api/v1/overlays/lemmy-post-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.