Discourse · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Discourse API Documentation Uploads API
8 actions
8 updates
phrasing
extends
openapi/discourse-uploads-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 8
$.info
$.paths['/uploads.json'].post
$.paths['/uploads/generate-presigned-put.json'].post
$.paths['/uploads/complete-external-upload.json'].post
$.paths['/uploads/create-multipart.json'].post
$.paths['/uploads/batch-presign-multipart-parts.json'].post
$.paths['/uploads/abort-multipart.json'].post
$.paths['/uploads/complete-multipart.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 Uploads API
version: 1.0.0
extends: openapi/discourse-uploads-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: 7
- target: $.paths['/uploads.json'].post
update:
x-apievangelist-phrasing:
intent: Upload a file to Discourse
effect: write
questions:
- How do I upload an image or file to Discourse for a post?
- Can I upload an avatar for a user account?
instructions:
- text: Upload {file} as a {type} for user {user_id}.
slots:
file: requestBody.file
type: requestBody.type
user_id: requestBody.user_id
- text: Upload {file} as a {type} and return the URL synchronously.
slots:
file: requestBody.file
type: requestBody.type
method: generated
generated: '2026-11-18'
- target: $.paths['/uploads/generate-presigned-put.json'].post
update:
x-apievangelist-phrasing:
intent: Start a direct external upload
effect: write
questions:
- How do I upload a file directly to S3 instead of through Discourse?
- What do I need before starting an external upload?
instructions:
- text: Start an external upload of {file_name} ({file_size} bytes) as {type}.
slots:
file_name: requestBody.file_name
file_size: requestBody.file_size
type: requestBody.type
- text: Generate a presigned URL for {file_name} of size {file_size} for {type}.
slots:
file_name: requestBody.file_name
file_size: requestBody.file_size
type: requestBody.type
method: generated
generated: '2026-11-18'
- target: $.paths['/uploads/complete-external-upload.json'].post
update:
x-apievangelist-phrasing:
intent: Finish an external upload
effect: write
questions:
- How do I finish an external upload once the file is in S3?
- What happens to the file after an external upload completes?
instructions:
- text: Complete external upload {unique_identifier}.
slots:
unique_identifier: requestBody.unique_identifier
- text: Finish external upload {unique_identifier} for private message {for_private_message}.
slots:
unique_identifier: requestBody.unique_identifier
for_private_message: requestBody.for_private_message
method: generated
generated: '2026-11-18'
- target: $.paths['/uploads/create-multipart.json'].post
update:
x-apievangelist-phrasing:
intent: Start a multipart external upload
effect: write
questions:
- How do I upload a large file in parts to S3?
- What permissions are needed for multipart uploads?
instructions:
- text: Create a multipart upload of {file_name} ({file_size} bytes) as {upload_type}.
slots:
file_name: requestBody.file_name
file_size: requestBody.file_size
upload_type: requestBody.upload_type
- text: Start a multipart upload for {file_name} of size {file_size} for {upload_type}.
slots:
file_name: requestBody.file_name
file_size: requestBody.file_size
upload_type: requestBody.upload_type
method: generated
generated: '2026-11-18'
- target: $.paths['/uploads/batch-presign-multipart-parts.json'].post
update:
x-apievangelist-phrasing:
intent: Get presigned URLs for multipart parts
effect: read
questions:
- How do I get upload URLs for each part of a large file?
- Can I generate several presigned URLs at once for a multipart upload?
instructions:
- text: Generate presigned URLs for parts {part_numbers} of upload {unique_identifier}.
slots:
part_numbers: requestBody.part_numbers
unique_identifier: requestBody.unique_identifier
- text: Batch presign upload parts {part_numbers} for external upload {unique_identifier}.
slots:
part_numbers: requestBody.part_numbers
unique_identifier: requestBody.unique_identifier
method: generated
generated: '2026-11-18'
- target: $.paths['/uploads/abort-multipart.json'].post
update:
x-apievangelist-phrasing:
intent: Abort a multipart upload
effect: destructive
questions:
- How do I cancel a multipart upload that failed?
- Can I abort an external multipart upload before it finishes?
instructions:
- text: Abort multipart upload {external_upload_identifier}.
slots:
external_upload_identifier: requestBody.external_upload_identifier
- text: Cancel the large-file upload {external_upload_identifier}.
slots:
external_upload_identifier: requestBody.external_upload_identifier
method: generated
generated: '2026-11-18'
- target: $.paths['/uploads/complete-multipart.json'].post
update:
x-apievangelist-phrasing:
intent: Complete a multipart upload
effect: write
questions:
- How do I finalize a multipart upload once all parts are uploaded?
- What ETags do I need to provide to complete a multipart upload?
instructions:
- text: Complete multipart upload {unique_identifier} with parts {parts}.
slots:
unique_identifier: requestBody.unique_identifier
parts: requestBody.parts
- text: Finalize large-file upload {unique_identifier} using ETags {parts}.
slots:
unique_identifier: requestBody.unique_identifier
parts: requestBody.parts
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-uploads-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.