daux.io/tmdocs/01_API/20_Update.md

18 lines
381 B
Markdown
Raw Normal View History

2013-06-12 21:42:00 +02:00
To update an object in a collection, issue a HTTP POST call with the object in the body of the POST.
POST /collections/:collection/:id
name = Justin Walsh
employment = part
bio = Documention writer
...
**URL Parameters**
`:collection` is the key of the collection in the config.
`:id` is the id of the object you want to update.
**Returns**
The object you just updated.