Fetch a document by docid
Path parameters
Index path or prebuilt index name.
Document id in the index.
Query parameters
If true, try to return parsed document contents; if false, return the raw stored document string.
Response
Document found.
Example response
{
"api": "v1"
}Changes
Changed in 3 of the 3 revisions of this API.25
- ▲
removed the required property
documentfrom the response with the200statusresponse-required-property-removed
- ○
added the new optional
queryrequest parameterparsenew-optional-request-parameter
- ○
added the non-success response with the status
405response-non-success-status-added
- ○
added the non-success response with the status
500response-non-success-status-added
- ○
added the required property
docto the response with the200statusresponse-required-property-added
- ▲
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲