Discourse · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Discourse API Documentation Topics API

16 actions 16 updates phrasing extends openapi/discourse-topics-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.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 16

$.info
$.paths['/posts.json'].post
$.paths['/t/{id}/posts.json'].get
$.paths['/t/{id}.json'].get
$.paths['/t/{id}.json'].delete
$.paths['/t/-/{id}.json'].put
$.paths['/t/{id}/invite.json'].post
$.paths['/t/{id}/invite-group.json'].post
$.paths['/t/{id}/bookmark.json'].put
$.paths['/t/{id}/status.json'].put
$.paths['/latest.json'].get
$.paths['/top.json'].get
$.paths['/t/{id}/notifications.json'].post
$.paths['/t/{id}/change-timestamp.json'].put
$.paths['/t/{id}/timer.json'].post
$.paths['/t/external_id/{external_id}.json'].get

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 Discourse API Documentation Topics API
  version: 1.0.0
extends: openapi/discourse-topics-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: 15
- 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 discussion thread in Discourse?
      - Can I post a private message to specific users?
      - Is it possible to reply to a particular post in a topic?
      instructions:
      - text: Create a new topic titled {title} with the message {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['/t/{id}/posts.json'].get
  update:
    x-apievangelist-phrasing:
      intent: Get specific posts from a topic
      effect: read
      questions:
      - Can I fetch only certain posts from a topic by their IDs?
      - What does a topic look like when I pull a few post numbers out of it?
      instructions:
      - text: Get posts {post_ids} from topic {id}.
        slots:
          post_ids: requestBody.post_ids[]
          id: path.id
      - text: Pull the posts numbered {post_ids} out of topic {id}.
        slots:
          post_ids: requestBody.post_ids[]
          id: path.id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/t/{id}.json'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a single topic
      effect: read
      questions:
      - How do I read the full text of one discussion thread?
      - Can I fetch a topic by its ID?
      instructions:
      - text: Get topic {id}.
        slots:
          id: path.id
      - text: Show me the full discussion in topic {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/t/{id}.json'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a topic
      effect: destructive
      questions:
      - How do I delete a discussion thread?
      - Can I remove a topic from the forum?
      instructions:
      - text: Delete topic {id}.
        slots:
          id: path.id
      - text: Remove the discussion thread {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/t/-/{id}.json'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a topic's title or other attributes
      effect: write
      questions:
      - Can I rename an existing discussion thread?
      - How do I edit a topic's details after it's posted?
      instructions:
      - text: Update topic {id} with {topic}.
        slots:
          id: path.id
          topic: requestBody.topic
      - text: Rename existing topic {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/t/{id}/invite.json'].post
  update:
    x-apievangelist-phrasing:
      intent: Invite a user to a topic
      effect: write
      questions:
      - How do I invite a specific member to a discussion thread?
      - Can I send a topic invite to someone by email?
      instructions:
      - text: Invite {user} to topic {id}.
        slots:
          user: requestBody.user
          id: path.id
      - text: Send a topic invite to {email}.
        slots:
          email: requestBody.email
      method: generated
      generated: '2026-11-18'
- target: $.paths['/t/{id}/invite-group.json'].post
  update:
    x-apievangelist-phrasing:
      intent: Invite a group to a topic
      effect: write
      questions:
      - Can I invite an entire group to a discussion thread?
      - Is it possible to notify a group when they are added to a topic?
      instructions:
      - text: Invite group {group} to topic {id}.
        slots:
          group: requestBody.group
          id: path.id
      - text: Invite group {group} to topic {id} and notify them ({should_notify}).
        slots:
          group: requestBody.group
          id: path.id
          should_notify: requestBody.should_notify
      method: generated
      generated: '2026-11-18'
- target: $.paths['/t/{id}/bookmark.json'].put
  update:
    x-apievangelist-phrasing:
      intent: Bookmark a topic
      effect: write
      questions:
      - How do I mark a discussion thread as bookmarked?
      - Can I save a topic for later reading?
      instructions:
      - text: Bookmark topic {id}.
        slots:
          id: path.id
      - text: Save discussion thread {id} as a bookmark.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/t/{id}/status.json'].put
  update:
    x-apievangelist-phrasing:
      intent: Pin, close or lock a topic
      effect: write
      questions:
      - How do I pin a discussion thread to the top of the category?
      - Can I close a topic so no more replies are allowed?
      - Is it possible to lock a topic for a set period?
      instructions:
      - text: Set topic {id} status to {status} with enabled {enabled}.
        slots:
          id: path.id
          status: requestBody.status
          enabled: requestBody.enabled
      - text: Pin topic {id} until {until}.
        slots:
          id: path.id
          until: requestBody.until
      method: generated
      generated: '2026-11-18'
- target: $.paths['/latest.json'].get
  update:
    x-apievangelist-phrasing:
      intent: List the latest discussion threads
      effect: read
      questions:
      - What's the newest discussion on the forum?
      - Can I list the latest topics sorted by activity?
      instructions:
      - text: List the latest topics.
      - text: Show the {per_page} most recently created discussion threads.
        slots:
          per_page: query.per_page
      method: generated
      generated: '2026-11-18'
- target: $.paths['/top.json'].get
  update:
    x-apievangelist-phrasing:
      intent: List the most popular discussion threads
      effect: read
      questions:
      - Which discussion threads are the most popular right now?
      - Can I see the top topics for the last week?
      instructions:
      - text: List the top topics for the {period} period.
        slots:
          period: query.period
      - text: Show the most popular discussion threads.
      method: generated
      generated: '2026-11-18'
- target: $.paths['/t/{id}/notifications.json'].post
  update:
    x-apievangelist-phrasing:
      intent: Set a topic's notification level
      effect: write
      questions:
      - How do I stop getting notifications for a discussion thread?
      - Can I set my notification level on a topic to digest or none?
      instructions:
      - text: Set my notification level on topic {id} to {notification_level}.
        slots:
          id: path.id
          notification_level: requestBody.notification_level
      - text: Turn off notifications for topic {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/t/{id}/change-timestamp.json'].put
  update:
    x-apievangelist-phrasing:
      intent: Change a topic's timestamp
      effect: write
      questions:
      - Can I change when a discussion thread was posted?
      - Is it possible to move a topic's timestamp to a different date?
      instructions:
      - text: Change the timestamp of topic {id} to {timestamp}.
        slots:
          id: path.id
          timestamp: requestBody.timestamp
      - text: Set the post date of discussion thread {id} to {timestamp}.
        slots:
          id: path.id
          timestamp: requestBody.timestamp
      method: generated
      generated: '2026-11-18'
- target: $.paths['/t/{id}/timer.json'].post
  update:
    x-apievangelist-phrasing:
      intent: Set a timer on a topic
      effect: write
      questions:
      - How do I set a timer on a discussion thread?
      - Can I schedule a topic to close automatically after a delay?
      instructions:
      - text: Create a {status_type} timer on topic {id} for {time}.
        slots:
          status_type: requestBody.status_type
          id: path.id
          time: requestBody.time
      - text: Set a {status_type} timer on topic {id} based on the last post.
        slots:
          status_type: requestBody.status_type
          id: path.id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/t/external_id/{external_id}.json'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a topic by its external ID
      effect: read
      questions:
      - How do I find a discussion thread using an ID from my external system?
      - Can I look up a topic by its external_id?
      instructions:
      - text: Get the topic with external ID {external_id}.
        slots:
          external_id: path.external_id
      - text: Find the discussion thread linked to external ID {external_id}.
        slots:
          external_id: path.external_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.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/discourse-topics-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.