Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Introduction

Excerpt

This document shows how RESTHeart can use the PUT, POST, PATCH and DELETE verbs to create, modify and delete resources within a MongoDB database, using only the HTTP protocol.

With the exception of the root resource (/) which is read-only, all resources have a state represented in JSON format (see Representation Format for more information). 

Example

The following request:

...

Code Block
titlePATCH bulk request
PATCHDELETE /db/coll/*?filter={<filter_query>}

...