Open API Docs
Get Document Details
Admin
2026/4/2
7 阅读
Get Document Details
Endpoint
GET /api/open/documents/:id
Path parameter
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Document ID |
Response highlights
The response includes:
- Basic document fields
- Category information
- Author information
- Parent document information
- Child document information
Notes
- This endpoint only supports document
id, notslug. - A successful read increments the view count on the server side.
- If the document does not exist, the API returns
404.
