source: bookmarks/trunk/api @ 55

Last change on this file since 55 was 48, checked in by peter, 11 years ago
  • updated TODOs
  • tags are returned as space-separated plain text
File size: 594 bytes
RevLine 
[30]1GET /
2  Lists the bookmarks
3
4  Params:
5    format=json|xbel
6    tag={tag} (repeatable)
7    limit={limit}
8    offset={offset} (only if limit is given)
9
10GET /{id}
11  Gets a individual bookmark
12
13GET /{id}/{field}
14  Gets an individual field of an individual bookmark
15
16GET /feed
17  Gets an Atom feed of the bookmarks
18
19POST /
20  Create or update a bookmark
21
22POST /{id}
23  Update a bookmark
24
[48]25== TODO ==
26
[30]27PUT /{id}
28  Create or update a bookmark; requires the entire resource representation to be given in JSON or XBEL
29
30DELETE /{id}
31  Delete a bookmark
32
33PUT /{id}/{field}
34  Set a single field of a bookmark
Note: See TracBrowser for help on using the repository browser.