Based on MongoDB, so it will get an _id
| Action | HTTP | Payload | URL | Description |
|---|---|---|---|---|
| Create | POST | json | /rest/<resource> | Create an entity represented by the JSON payload. |
| Read | GET | - | /rest/<resource> | Get all entities from the resource. |
| Delete | DELETE | - | /rest/<resource> | Delete a resource. |
| Read | GET | - | /rest/<resource>/<id> | Get a single entity. |
| Update | PUT | json | /rest/<resource>/<id> | Update an entitiy with the JSON payload. |
| Delete | DELETE | - | /rest/<resource>/<id> | Delete an entity. |