Skip to content
natlibfi-arlehiko edited this page Mar 1, 2019 · 7 revisions

POST /blobs

  1. Authentication is done against external service
  2. Authorization is done comparing user groups returned from the authentication service against groups in the import profile. Authorization succeeds if the user belongs to any groups specified in the profile.
  3. The blob is written to db and is made available at /blobs/{id}/content. Metadata is available at /blobs/{id}. The state is set to PENDING_TRANSFORMATION

POST /blobs/

See BlobMetadataUpdate in api.json for actions the API does on different operations.

Clone this wiki locally