RavenDB version 2.0. Other versions:

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"
    
Comments add new comment

The comments section is for user feedback or community content. If you seek assistance or have any questions, please post them at our support forums.

No comments found
SUBMIT COMMENT