Article For
2.0 3.0 3.5 4.0 4.1 4.2 5.0 5.1 5.2

Metadata only

Every RavenDB's response that includes documents together with metadata can be cut off to metadata only. If this is your intention add ?metadata-only=true parameter to the query string. In result only document metadata will be contained in the HTTP response to a request. Below there are a few simple use cases:

curl -X GET http://localhost:8080/docs/?metadata-only=true

curl -X GET "http://localhost:8080/queries?id=albums/661&id=albums/629&metadata-only=true"

curl -X GET "http://localhost:8080/indexes/AlbumsByGenre?query=Genre:genres/1&metadata-only=true"