Documents
The documents endpoint retrieves individual indexed records by their stable
ID. Document IDs are returned in search results and have the form
did|collection|rkey.
GET /documents/{id}
Fetch a single indexed document by its stable ID.
The document ID has the format did|collection|rkey. Deleted documents return 404.
Path parameters
| Name | Type | Description |
|---|---|---|
id |
string | Stable document ID (did|collection|rkey). |
Errors
| Status | Condition |
|---|---|
| 400 | Missing or empty document ID. |
| 404 | Document not found or has been deleted. |
| 500 | Database error. |