Set this parameter to true to retrieve only the document metadata from each result.
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 were successfully retrieved
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.
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.
Version of RavenDB that the responding server is running
Retrieved documents are sorted in descending order of their change vectors.
A retrieved document is identical in contents and format to the document stored in the server - unless the metadataOnly
parameter is set to true.
This is the general format of the JSON response body: