-
URL:
/api/wants/
-
Method:
GET
-
Basic Auth required
-
Optional Params:
whose
:mine
|ours
|<user-id>
(TODO)where
:<location-slug>
(TODO)changed-since
:<YYYY-MM-DDTHH:MM:SS+00:00>
(TODO)
-
Response:
[ { 'id': 1234, 'resource_uri': '/api/wants/want/1234/', 'name': 'Hammer', 'notes': "Don't spend more than $10", 'creation_time': '2011-01-01T12:45:00+00:00', 'last_updated_time': '2011-01-02T17:55+00:00', }, { 'id': 5678, ... }, ]
-
URL:
/api/wants/want/<id>/
-
Method:
GET
-
Basic Auth required
-
Response:
{ 'id': 1234, 'resource_uri': '/api/wants/want/1234/', 'name': 'Hammer', 'notes': "Don't spend more than $10", 'creation_time': '2011-01-01T12:45:00+00:00', 'last_updated_time': '2011-01-02T17:55+00:00', }
-
URL:
/api/wants/
-
Method:
POST
-
Basic Auth required
-
POST Data
{ 'name': 'Cheerios', 'notes': 'Please buy three boxes' }
-
URL:
/api/wants/want/<item-id>/
-
Method:
PUT
-
Basic Auth required
-
POST Data
{ 'name': 'Cheerios', 'notes': 'Please buy four boxes' }
- URL:
/api/wants/want/<item-id>/
- Basic Auth required
- Method:
DELETE
-
URL:
/api/locations/
-
Method:
GET
-
Params
- changed-since:
<YYYY-MM-DDTHH:MM:SS+00:00>
- changed-since:
-
Response
[{ 'locations': [ { 'slug': 'rona, 'name': 'Rona', 'creation_time': '2011-01-01 12:45:00', 'modification_time': '2011-01-02 17:55', }, { 'slug': 'home-depot', ... }, ... ] }]
TODO
TODO
TODO
TODO
TODO