Skip to content

RFC 089: move the Identifiers API routes under /identifiers/v1 - #171

Merged
kenoir merged 2 commits into
mainfrom
rfc-089-identifiers-path-prefix
Sep 15, 2026
Merged

kenoir merged 2 commits into
mainfrom
rfc-089-identifiers-path-prefix

Conversation

@kenoir

@kenoir kenoir commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Preview

https://github.com/wellcomecollection/docs/blob/rfc-089-identifiers-path-prefix/rfcs/089-identifiers-api/README.md

What does this change?

Renames the Identifiers API path prefix in the RFC 089 route table, and in the two lines of RFC 085 that quote it, from /v1/identifiers/... to /identifiers/v1/.... api.wellcomecollection.org routes on the first path segment with a /{service}/{version}/... convention (/catalogue/v2/works), so the planned /identifiers/* CloudFront behaviour in wellcomecollection/platform#6578 needs the origin to answer on /identifiers/.... The prototype is being renamed now, while nothing consumes it and no contract has been published.

The canonical spec lives in catalogue-api and the matching change is wellcomecollection/catalogue-api#985. The RFC also now says why the service name comes first, and its modified stamp and the index entry are bumped.

How to test

Read the three changed rows of the route table. python3 .scripts/validate_rfc.py rfcs/089-identifiers-api/README.md still passes.

How can we measure success?

The RFC and the catalogue-api spec agree on the prefix when the CloudFront behaviour is built.

Have we considered potential risks?

Nothing deploys from this repo, and the API has no consumers, so the only cost of getting the prefix wrong is another rename.

api.wellcomecollection.org routes by first path segment, so the public
paths are /identifiers/v1/... rather than /v1/identifiers/....
@kenoir
kenoir requested review from a team as code owners September 15, 2026 10:27
@rcantin-w
rcantin-w removed the request for review from a team September 15, 2026 10:29
RFC 085 quoted the old paths, RFC 089 gave no reason for the segment
order, and its modified stamp had not moved.
@kenoir
kenoir merged commit 8758c3d into main Sep 15, 2026
7 checks passed
@kenoir
kenoir deleted the rfc-089-identifiers-path-prefix branch September 15, 2026 11:14
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.

1 participant