This repository has been archived by the owner on Jul 2, 2018. It is now read-only.
B_Collections
Natasa Bulatovic edited this page Feb 3, 2016
·
9 revisions
##Path /collections
##Format Response are in JSON format.
#V1 ##GET /collections/
- Retrieves a list of collections accessible to the user (authorization optional).
- Method description
##GET /collections/:id
- Retrieves a collection with this collection :id
- Method description
##GET /collections/:id/items
- Retrieves all items within the collection with this collection :id
- Method description
##GET /collections/:id/items/template
- Retrieves a template JSON of an item within the collection :id , based on the collection's metadata profile
- Method description
##POST /collections
- Creates a new collection
- Method description
##PUT /collections/:id
- Updates an existing collection
- Method description
##PUT /collections/:id/release
- Releases an existing collection
- Method description
##PUT /collections/:id/discard
- Discards an existing collection
- Method description
##DELETE /collections/:id
- Deletes an existing collection
- Method description
#Future versions (optional, not implemented) ##GET /collections/:id/versions
- Retrieves collection history of the collection with this collection :id
- Method description
- Status: Not implemented
##GET /collections/:id/shares
- Retrieves list of shares of the collection with this collection :id
- Method description
- Status: Not implemented
##POST /collections/:id/shares
- Creates a new collection share
- Method description
- Status: Not implemented
##DELETE /collections/:id/shares/:shareid
- Deletes an existing share assigned to a collection or user
- Method description
- Status: Not implemented