-
Notifications
You must be signed in to change notification settings - Fork 2
Support registering multiple adjuncts in single payload #1110
Copy link
Copy link
Closed
1 / 11 of 1 issue completed
Copy link
Labels
APIhttps://dlcs-book.readthedocs.io/en/latest/https://dlcs-book.readthedocs.io/en/latest/adjunctsTickets that relate to "adjuncts" functionality to store additional linked files to an asset.Tickets that relate to "adjuncts" functionality to store additional linked files to an asset.refinedIdentify refined tickets in the backlogIdentify refined tickets in the backlog
Milestone
Metadata
Metadata
Assignees
Labels
APIhttps://dlcs-book.readthedocs.io/en/latest/https://dlcs-book.readthedocs.io/en/latest/adjunctsTickets that relate to "adjuncts" functionality to store additional linked files to an asset.Tickets that relate to "adjuncts" functionality to store additional linked files to an asset.refinedIdentify refined tickets in the backlogIdentify refined tickets in the backlog
Ticket number #1073 added endpoint
POST /customers/{c}/spaces/{s}/images/{i}/adjunctsto support registering a single adjunct.This ticket is to extend that same endpoint to support registering 1:n adjuncts in a single payload, see registering multiple adjuncts documentation. From that documentation:
The following would all be equivalent, examples 2 + 3 only show a single adjunct for brevity.
Single Adjunct (currently supported)
{ "id": "mets-from-origin", "origin": "https://dlcs.example/mets.xml", "@type": "Dataset", "mediaType": "text/xml", "profile": "http://www.loc.gov/standards/alto/v3/alto.xsd", "label": { "en": [ "METS-ALTO XML" ] }, "iiifLink": "seeAlso" }Array
[ { "id": "mets-from-origin", "origin": "https://dlcs.example/mets.xml", "@type": "Dataset", "mediaType": "text/xml", "profile": "http://www.loc.gov/standards/alto/v3/alto.xsd", "label": { "en": [ "METS-ALTO XML" ] }, "iiifLink": "seeAlso" } ]Hydra Collection
{ "@type": "Collection", "members": [ { "id": "mets-from-origin", "origin": "https://dlcs.example/mets.xml", "@type": "Dataset", "mediaType": "text/xml", "profile": "http://www.loc.gov/standards/alto/v3/alto.xsd", "label": { "en": [ "METS-ALTO XML" ] }, "iiifLink": "seeAlso" } ] }Processing of each adjunct follow rules for single (e.g. notify Engine if it has an "origin", finish in API if it's "external" etc).