Skip to main content
POST
Upload or replace HTTP API documentation

Authorizations

Authorization
string
header
required

An API key minted in Command Center (Settings -> API Keys), sent as Authorization: Bearer 2501_ak_.... A Command Center session cookie is also accepted.

Path Parameters

id
string
required

Body

multipart/form-data
file
file[]
required
relative_path
string[]
required

Response

Stored files

id
string
required
plugin_id
string
required
relative_path
string
required

Where the file is stored, such as docs/openapi/orders.yaml; uploading to it again replaces the file.

name
string
required

The last segment of relative_path.

content_digest
string
required

The SHA-256 of the content, in hex.

size_bytes
integer
required
created_at
string<date-time>
required
updated_at
string<date-time>
required