Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to PUT IIIF collections #113

Merged
merged 13 commits into from
Oct 24, 2024
Merged

Conversation

JackLewis-digirati
Copy link
Collaborator

@JackLewis-digirati JackLewis-digirati commented Oct 22, 2024

Resolves #54

This PR allows PUT to be used to update IIIF collections. Additionally, there is a change to how POST and PUT eport success to provide both the additional fields add to an S3 collection as well as the fixed fields added from the presentation collection.

I.E.: if a homepage directive is added to the JSON, it will be added to the response, whereas previously the only way to see this field was to call GET hierarchical

implementation details

  • converting a IIIF collection to a storage collection is not allowed

@JackLewis-digirati JackLewis-digirati changed the title Feature/put iiif collection Add ability to PUT IIIF collections Oct 22, 2024
# Conflicts:
#	src/IIIFPresentation/API.Tests/Integration/ModifyCollectionTests.cs
#	src/IIIFPresentation/API/Converters/CollectionConverter.cs
#	src/IIIFPresentation/API/Features/Storage/Helpers/ErrorHelper.cs
#	src/IIIFPresentation/API/Features/Storage/Requests/CreateCollection.cs
#	src/IIIFPresentation/API/Features/Storage/Requests/UpsertCollection.cs
#	src/IIIFPresentation/API/Features/Storage/StorageController.cs
#	src/IIIFPresentation/API/Features/Storage/Validators/PresentationCollectionValidator.cs
#	src/IIIFPresentation/API/Program.cs
#	src/IIIFPresentation/Core/IIIF/IIIFResponseX.cs
#	src/IIIFPresentation/Models/API/General/ModifyCollectionType.cs
# Conflicts:
#	src/IIIFPresentation/API.Tests/Integration/ModifyManifestTests.cs
#	src/IIIFPresentation/Core/IIIF/IIIFResponseX.cs
@JackLewis-digirati JackLewis-digirati merged commit 28ff5e4 into main Oct 24, 2024
3 checks passed
@JackLewis-digirati JackLewis-digirati deleted the feature/putIiifCollection branch October 24, 2024 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PUT IIIF Collection
3 participants