Discourse · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Discourse API Documentation Categories API

7 actions 7 updates phrasing extends openapi/discourse-categories-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 7

$.info
$.paths['/categories.json'].get
$.paths['/categories.json'].post
$.paths['/categories/{id}.json'].put
$.paths['/c/{slug}/{id}.json'].get
$.paths['/c/{id}/show.json'].get
$.paths['/site.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 Categories API
  version: 1.0.0
extends: openapi/discourse-categories-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: 6
- target: $.paths['/categories.json'].get
  update:
    x-apievangelist-phrasing:
      intent: List categories
      effect: read
      questions:
      - What categories exist on my Discourse site?
      - Can I include subcategories when listing categories?
      instructions:
      - text: List all categories.
      - text: 'List categories including subcategories: {include_subcategories}.'
        slots:
          include_subcategories: query.include_subcategories
      method: generated
      generated: '2026-11-18'
- target: $.paths['/categories.json'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a category
      effect: write
      questions:
      - How do I create a new category?
      - Can I set a color, emoji or parent category when creating one?
      instructions:
      - text: Create a category named {name}.
        slots:
          name: requestBody.name
      - text: Create category {name} with color {color} and emoji {emoji}.
        slots:
          name: requestBody.name
          color: requestBody.color
          emoji: requestBody.emoji
      method: generated
      generated: '2026-11-18'
- target: $.paths['/categories/{id}.json'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a category
      effect: write
      questions:
      - How do I rename or change a category's color?
      - Can I move an existing category under a parent category?
      instructions:
      - text: Rename category {id} to {name}.
        slots:
          id: path.id
          name: requestBody.name
      - text: Set category {id} color to {color} and emoji to {emoji}.
        slots:
          id: path.id
          color: requestBody.color
          emoji: requestBody.emoji
      method: generated
      generated: '2026-11-18'
- target: $.paths['/c/{slug}/{id}.json'].get
  update:
    x-apievangelist-phrasing:
      intent: List topics in a category
      effect: read
      questions:
      - What topics are in a category?
      - Can I list topics by category slug and id?
      instructions:
      - text: List topics in category {slug} ({id}).
        slots:
          slug: path.slug
          id: path.id
      - text: Show the topics of category {slug} with id {id}.
        slots:
          slug: path.slug
          id: path.id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/c/{id}/show.json'].get
  update:
    x-apievangelist-phrasing:
      intent: Show a category
      effect: read
      questions:
      - How do I view one category's details?
      - What permissions and settings does a category have?
      instructions:
      - text: Show category {id}.
        slots:
          id: path.id
      - text: Get the details of category {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/site.json'].get
  update:
    x-apievangelist-phrasing:
      intent: Get site information
      effect: read
      questions:
      - What categories and subcategories does my site have?
      - Can I fetch the whole site info to see all categories?
      instructions:
      - text: Get site information.
      - text: Fetch all categories and subcategories from the site.
      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-categories-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.