sul-dlss / purl-fetcher

An HTTP API for querying and updating PURLs
0 stars 1 forks source link

Consolidate purl-related actions under PurlsController #879

Closed cbeer closed 1 month ago

cbeer commented 1 month ago

This PR adds new routes for:

PUT    /v1/purls/:druid(.:format)       v1/purls#create
PUT    /v1/purls/:druid/release_tags(.:format) v1/purls#release_tags
PATCH  /v1/purls/:druid/release_tags(.:format) v1/purls#release_tags

and adjusts the old released#update and resources#create routes to point to the purls for backwards compatibility until the client is updated.