GET /api/v1/docs/file
Get File
: markdown content + frontmatter + resolved wikilinks.
Auth: Authorization: Bearer <token> required
Request
Section titled “Request”curl -sS -X GET "https://entherium.duckdns.org:8443/api/v1/docs/file" \ -H "Authorization: Bearer <token>"Response 200
Section titled “Response 200”The contract carries no example for this response; schema: DocFile. Field-level shape: interactive explorer.
Returns
Section titled “Returns”DocFile — Successful Response
| Field | Type | Description |
|---|---|---|
body | string | |
frontmatter | object | |
links | array of WikiLink | |
path | string |
Parameters
Section titled “Parameters”| Parameter | In | Required | Type | Default | Constraints | Description |
|---|---|---|---|---|---|---|
path | query | yes | string | — | — | Relative path within vault |
Errors
Section titled “Errors”| Code | Meaning | Body |
|---|---|---|
400 | Requested path is not a .md file | — |
401 | Missing or invalid authentication credentials | ErrorResponse |
403 | Path escapes the docs vault | — |
404 | File not found | — |
422 | Validation Error | HTTPValidationError |
Every error body is {detail, code?, request_id, doc_url} — request_id is the value to quote, doc_url points at the Errors reference.