Discussion about the Blogmarks REST protocol
How to manipulate tags ?
Issue
- How to delete a tag from all my marks ?
- How to explode a tag in all my marks ?
Proposition
Add the tag projects near blogmarks.net
POST http://rest.blogmarks.net/user/{username}/marks/tag/blogmarks.net
...
<tag>
<label>projects</label>
</tag>
The tag blogmarks.net is added to each mark of the collection. A new resource is created, the server send :
HTTP/1.1 201 Created
Location: http://rest.blogmarks.net/user/{username}/marks/tag/projects
Delete the tag projects
DELETE http://rest.blogmarks.net/user/{username}/tag/projects
