canmove, Confirmed users
1,173
edits
m (still trying to fix itals) |
(More italic fixing. HTML, why hast thou forsaken me?) |
||
Line 106: | Line 106: | ||
'''https://''server''/0.3/user | '''https://''server''/0.3/user/''username''/ ''collection''/''id'' ''' | ||
Returns the WBO in the collection corresponding to the requested id | Returns the WBO in the collection corresponding to the requested id | ||
Line 113: | Line 113: | ||
== PUT == | == PUT == | ||
'''https://''server''/0.3/user | '''https://''server''/0.3/user/''username''/ ''collection''/''id'' ''' | ||
Adds the WBO defined in the request body to the collection. If the WBO does not contain a payload, it will only updated the provided metadata fields on an already defined object. | Adds the WBO defined in the request body to the collection. If the WBO does not contain a payload, it will only updated the provided metadata fields on an already defined object. | ||
Line 121: | Line 121: | ||
== POST == | == POST == | ||
'''https://''server''/0.3/user | '''https://''server''/0.3/user/''username''/''collection'' ''' | ||
Takes an array of WBOs in the request body and iterates over them, effectively doing a series of atomic PUTs with the same timestamp. | Takes an array of WBOs in the request body and iterates over them, effectively doing a series of atomic PUTs with the same timestamp. | ||
Line 133: | Line 133: | ||
== DELETE == | == DELETE == | ||
'''https://''server''/0.3/user | '''https://''server''/0.3/user/''username''/''collection'' ''' | ||
Deletes the collection and all contents. Additional request parameters may modify the selection of which items to delete: | Deletes the collection and all contents. Additional request parameters may modify the selection of which items to delete: | ||
Line 165: | Line 165: | ||
'''https://''server''/0.3/user | '''https://''server''/0.3/user/''username''/''collection''/''id'' ''' | ||
Deletes the WBO at the location given | Deletes the WBO at the location given |