Skip to content
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

Collections

##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

##GET /collections/:id/items

##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

##PUT /collections/:id

##PUT /collections/:id/release

##PUT /collections/:id/discard

##DELETE /collections/:id

#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

##DELETE /collections/:id/shares/:shareid

  • Deletes an existing share assigned to a collection or user
  • Method description
  • Status: Not implemented
Clone this wiki locally