Last change
on this file since 46 was
30,
checked in by peter, 12 years ago
|
- added a separate run mode for the field resources (view_field)
- added an api outline/plan
|
File size:
595 bytes
|
Line | |
---|
1 | GET / |
---|
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 | |
---|
10 | GET /{id} |
---|
11 | Gets a individual bookmark |
---|
12 | |
---|
13 | GET /{id}/{field} |
---|
14 | Gets an individual field of an individual bookmark |
---|
15 | |
---|
16 | GET /feed |
---|
17 | Gets an Atom feed of the bookmarks |
---|
18 | |
---|
19 | POST / |
---|
20 | Create or update a bookmark |
---|
21 | |
---|
22 | |
---|
23 | == TODO == |
---|
24 | |
---|
25 | POST /{id} |
---|
26 | Update a bookmark |
---|
27 | |
---|
28 | PUT /{id} |
---|
29 | Create or update a bookmark; requires the entire resource representation to be given in JSON or XBEL |
---|
30 | |
---|
31 | DELETE /{id} |
---|
32 | Delete a bookmark |
---|
33 | |
---|
34 | PUT /{id}/{field} |
---|
35 | Set a single field of a bookmark |
---|
Note: See
TracBrowser
for help on using the repository browser.