A lightweight API for indexing metadata and links to existing derivatives into Avalon.
...
access control Anchor access control access control
...
Bib import failure will result in a JSON response: {errors: ['Bib import failed', e.message]}, status: 422
admin/collections Anchor collections collections
...
PUTS admin/collections/:pid.json Updates a collection
units Anchor units units
In avalon, units are part of a controlled vocabulary. To add a new unit, a call to the vocabulary is required.
GET vocabulary.json Retrieves a hash of avalon controlled vocabularies, { units: [ 'Default Unit' , ...], ... }
GET vocabulary/:vocab.json Retrieves values contained in specified controlled vocabulary
POST vocabulary/:vocab.json Updates specified vocab by adding the value contained in the :entry parameter
response codes: Anchor codes codes
...