Lemmy · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Lemmy REST Comment API

9 actions 9 updates phrasing extends openapi/lemmy-comment-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['/comment'].get
$.paths['/comment'].put
$.paths['/comment'].post
$.paths['/comment'].delete
$.paths['/comment/list'].get
$.paths['/comment/like'].post
$.paths['/comment/save'].put
$.paths['/comment/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 Comment API
  version: 1.0.0
extends: openapi/lemmy-comment-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['/comment'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a comment by ID
      effect: read
      questions:
      - How do I fetch a single comment from Lemmy by its ID?
      - What does a specific comment say?
      instructions:
      - text: Get comment {id}.
        slots:
          id: query.id
      - text: Show me the text of comment {id}.
        slots:
          id: query.id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/comment'].put
  update:
    x-apievangelist-phrasing:
      intent: Edit a comment
      effect: write
      questions:
      - Can I edit a comment I posted?
      - How do I change the language of an existing comment?
      instructions:
      - text: Edit comment {comment_id} to say {content}.
        slots:
          comment_id: requestBody.comment_id
          content: requestBody.content
      - text: Change the language of comment {comment_id} to {language_id}.
        slots:
          comment_id: requestBody.comment_id
          language_id: requestBody.language_id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/comment'].post
  update:
    x-apievangelist-phrasing:
      intent: Post a comment on a post
      effect: write
      questions:
      - How do I reply to a post with a comment?
      - Can I reply to an existing comment rather than the post?
      instructions:
      - text: Post a comment on post {post_id} saying {content}.
        slots:
          post_id: requestBody.post_id
          content: requestBody.content
      - text: Reply to comment {parent_id} on post {post_id} with {content}.
        slots:
          parent_id: requestBody.parent_id
          post_id: requestBody.post_id
          content: requestBody.content
      method: generated
      generated: '2026-11-18'
- target: $.paths['/comment'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete or restore a comment
      effect: destructive
      questions:
      - How do I delete a comment I posted?
      - Can I undo a comment deletion?
      instructions:
      - text: Delete comment {comment_id}.
        slots:
          comment_id: requestBody.comment_id
      - text: Restore comment {comment_id} by setting deleted to {deleted}.
        slots:
          comment_id: requestBody.comment_id
          deleted: requestBody.deleted
      method: generated
      generated: '2026-11-18'
- target: $.paths['/comment/list'].get
  update:
    x-apievangelist-phrasing:
      intent: List comments on a post
      effect: read
      questions:
      - What comments have been posted on a post?
      - Can I see only the top-level comments of a post?
      instructions:
      - text: List comments on post {post_id}.
        slots:
          post_id: query.post_id
      - text: Show comments on post {post_id} sorted by {sort}.
        slots:
          post_id: query.post_id
          sort: query.sort
      method: generated
      generated: '2026-11-18'
- target: $.paths['/comment/like'].post
  update:
    x-apievangelist-phrasing:
      intent: Vote on a comment
      effect: write
      questions:
      - How do I upvote or downvote a comment?
      - Can I give a comment a score of 1, 0 or -1?
      instructions:
      - text: Vote {score} on comment {comment_id}.
        slots:
          score: requestBody.score
          comment_id: requestBody.comment_id
      - text: Give comment {comment_id} a score of {score}.
        slots:
          comment_id: requestBody.comment_id
          score: requestBody.score
      method: generated
      generated: '2026-11-18'
- target: $.paths['/comment/save'].put
  update:
    x-apievangelist-phrasing:
      intent: Save or unsave a comment
      effect: write
      questions:
      - How do I bookmark a comment for later?
      - Can I unsave a comment I saved earlier?
      instructions:
      - text: Save comment {comment_id}.
        slots:
          comment_id: requestBody.comment_id
      - text: Unsave comment {comment_id} by setting save to {save}.
        slots:
          comment_id: requestBody.comment_id
          save: requestBody.save
      method: generated
      generated: '2026-11-18'
- target: $.paths['/comment/report'].post
  update:
    x-apievangelist-phrasing:
      intent: Report a comment
      effect: write
      questions:
      - How do I report a comment to the instance moderators?
      - What reason do I give when reporting a comment?
      instructions:
      - text: Report comment {comment_id} because {reason}.
        slots:
          comment_id: requestBody.comment_id
          reason: requestBody.reason
      - text: Flag comment {comment_id} for moderation with reason {reason}.
        slots:
          comment_id: requestBody.comment_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-comment-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.