Get document
GET/documents/docs/:path
Returns one document by path, including child collection names one level below. Requires client.documents permission.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
Successful Response
Bad Request
Unauthorized
Forbidden
Not Found
Validation Error
Response shape
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"path": "players/42/progress",
"data": { "level": 10, "xp": 4500 },
"collections": ["inventory", "achievements"]
}
cURL example
curl -X GET "https://mw-client-api.wonderfulcoast-218d579d.centralindia.azurecontainerapps.io/documents/docs/players/42/progress" \
-H "x-client-id: <client-id>" \
-H "x-client-secret: <client-secret>" \
-H "Authorization: Bearer <access-token>"