Discourse · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Discourse API Documentation Posts API
9 actions
9 updates
phrasing
extends
openapi/discourse-posts-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Discourse's API. It is a proposal applied on top of the contract, not a document Discourse publishes.
What the actions change
x-apievangelist-phrasing
Targets 9
$.info
$.paths['/posts.json'].get
$.paths['/posts.json'].post
$.paths['/posts/{id}.json'].get
$.paths['/posts/{id}.json'].put
$.paths['/posts/{id}.json'].delete
$.paths['/posts/{id}/replies.json'].get
$.paths['/posts/{id}/locked.json'].put
$.paths['/post_actions.json'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Discourse API Documentation Posts API
version: 1.0.0
extends: openapi/discourse-posts-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['/posts.json'].get
update:
x-apievangelist-phrasing:
intent: List the latest posts across topics
effect: read
questions:
- What are the newest posts across all topics?
- Can I page through posts posted before a certain date?
instructions:
- text: List the latest posts across topics.
- text: Show posts posted before {before}.
slots:
before: query.before
method: generated
generated: '2026-11-18'
- target: $.paths['/posts.json'].post
update:
x-apievangelist-phrasing:
intent: Create a topic, post or private message
effect: write
questions:
- How do I start a new topic with a post?
- Can I send a private message to specific users?
- Is it possible to reply to a specific post number in a topic?
instructions:
- text: Create a new topic titled {title} with raw text {raw}.
slots:
title: requestBody.title
raw: requestBody.raw
- text: Send a private message to {target_recipients} saying {raw}.
slots:
target_recipients: requestBody.target_recipients
raw: requestBody.raw
- text: Reply to post {reply_to_post_number} in topic {topic_id} with {raw}.
slots:
reply_to_post_number: requestBody.reply_to_post_number
topic_id: requestBody.topic_id
raw: requestBody.raw
method: generated
generated: '2026-11-18'
- target: $.paths['/posts/{id}.json'].get
update:
x-apievangelist-phrasing:
intent: Get a single post
effect: read
questions:
- How do I read one post by its ID?
- Can I check how many likes a post has?
instructions:
- text: Get post {id}.
slots:
id: path.id
- text: Show the content of post {id}.
slots:
id: path.id
method: generated
generated: '2026-11-18'
- target: $.paths['/posts/{id}.json'].put
update:
x-apievangelist-phrasing:
intent: Edit a single post
effect: write
questions:
- How do I edit a post I already wrote?
- Can I stop a post edit from bumping the topic?
instructions:
- text: Update post {id} with {post}.
slots:
id: path.id
post: requestBody.post
- text: Edit post {id} to {post} without bumping the topic.
slots:
id: path.id
post: requestBody.post
method: generated
generated: '2026-11-18'
- target: $.paths['/posts/{id}.json'].delete
update:
x-apievangelist-phrasing:
intent: Delete a single post
effect: destructive
questions:
- How do I delete a post?
- Can I force a post to be permanently destroyed?
instructions:
- text: Delete post {id}.
slots:
id: path.id
- text: Permanently destroy post {id} with force_destroy {force_destroy}.
slots:
id: path.id
force_destroy: requestBody.force_destroy
method: generated
generated: '2026-11-18'
- target: $.paths['/posts/{id}/replies.json'].get
update:
x-apievangelist-phrasing:
intent: List replies to a post
effect: read
questions:
- What replies have been posted to a given post?
- Can I see every reply to one post?
instructions:
- text: List replies to post {id}.
slots:
id: path.id
- text: Show all replies on post {id}.
slots:
id: path.id
method: generated
generated: '2026-11-18'
- target: $.paths['/posts/{id}/locked.json'].put
update:
x-apievangelist-phrasing:
intent: Lock a post from being edited
effect: write
questions:
- How do I lock a post so it can't be edited?
- Can I unlock a post by setting locked to false?
instructions:
- text: Lock post {id} by setting locked to {locked}.
slots:
id: path.id
locked: requestBody.locked
- text: Set locked to {locked} on post {id}.
slots:
locked: requestBody.locked
id: path.id
method: generated
generated: '2026-11-18'
- target: $.paths['/post_actions.json'].post
update:
x-apievangelist-phrasing:
intent: Like or flag a post
effect: write
questions:
- How do I like a post?
- Can I flag a post and its whole topic at once?
instructions:
- text: Perform action {post_action_type_id} on post {id}.
slots:
post_action_type_id: requestBody.post_action_type_id
id: requestBody.id
- text: Like post {id} with action type {post_action_type_id}.
slots:
id: requestBody.id
post_action_type_id: requestBody.post_action_type_id
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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/discourse-posts-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.