Get one documentation page as HTML or Markdown
On this page
GET
/docs/api/{page}get_docs_page| Risk | read |
| Authentication | none (public) |
| Scopes | none |
| Idempotency | natural: repeating the call gives the same result |
| Dry run | not applicable |
| Success status | 200 |
| Response type | text/markdown |
What it does#
- Use when: You need a guide, the page of one operation (operations/<operation_id>) or one error code (errors/<code>).
- Do not use when: you want the whole contract at once (call get_openapi).
- Side effects: None.
- Reversible: Not applicable, nothing changes.
- Required scope: none (public).
- Idempotency: safe to repeat.
- Typical next step: call the operation the page describes, with dry_run=true first when it changes data.
Request#
Path parameters#
| Field | Type | Description |
|---|---|---|
page | string, max 120 characters | Page name, for example quickstart, operations/upsert_subscriber or errors/not_found. Add .md for Markdown. The name can contain one slash. |
Query parameters#
None.
Response#
The body is text/markdown text.
Examples#
markdown#
Request:
curl 'https://api.seemly.com/docs/api/errors/not_found.md'const response = await fetch("https://api.seemly.com/docs/api/errors/not_found.md");
const result = await response.json();
console.log(response.status, result);import os
import requests
response = requests.get("https://api.seemly.com/docs/api/errors/not_found.md")
print(response.status_code, response.json())Response: 200 (text/markdown):
# not_found
HTTP status: 404Errors#
| Status | Codes |
|---|---|
| 400 | validation_failed |
| 404 | not_found |
| 503 | service_unavailable |
Every error is an application/problem+json body with a code, a fix sentence and next_actions. See reading a problem response.