Name of a counter to retrieve. Set this parameter to @all_counters to retrieve all counters of the specified documents. Counters of included documents, however, will not be retrieved.
No; Can be used more than once
Set this parameter to true to retrieve only the metadata of each document. This does not apply to included documents which are retrieved with their complete contents.
No; Used once
This header takes a hash representing the previous results of an identical request. The hash is found in the response header ETag. If the results were not modified since the previous request, the server responds with http status code 304 and the requested documents are retrieved from a local cache rather than over the network.
Http Status Codes
Results are successfully retrieved. If a requested document could not be found, the result returned is null.
In response to an If-None-Match check: none of the requested documents were modified since they were last loaded, so they were not retrieved from the server.
No document with the specified ID was found. This code is only sent when one document was requested. Otherwise, see status code 200.
MIME media type and character encoding. This should always be: application/json; charset=utf-8.
Hash representing the state of these results. If another, identical request is made, this hash can be sent in the If-None-Match header to check whether the retrieved documents have been modified since the last response. If none were modified, they are not retrieved.
Version of RavenDB that the responding server is running.
A retrieved document is identical in contents and format to the document stored on the server (unless the metadataOnly
parameter is set to true).
This is the general JSON format of the response body: