Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
A lightweight API for indexing metadata and links to existing derivatives into Avalon.  

...

Anchor
access control
access control
access control

...

Bib import failure will result in a JSON response: {errors: ['Bib import failed', e.message]}, status: 422

 

Anchor
collections
collections
admin/collections

...

PUTS admin/collections/:pid.json Updates a collection

 

Anchor
units
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 

 

Anchor
codes
codes
response codes:

...