Skip to content

SITES-41950: add experimental prefix fallback for AEM Content API resolve and edit URL calls#1527

Open
terinmez wants to merge 1 commit intomainfrom
wip-switch-capi-endpoint
Open

SITES-41950: add experimental prefix fallback for AEM Content API resolve and edit URL calls#1527
terinmez wants to merge 1 commit intomainfrom
wip-switch-capi-endpoint

Conversation

@terinmez
Copy link
Copy Markdown
Contributor

@terinmez terinmez commented Apr 9, 2026

With the introduction of the aem.adobe.experimental scopes, the API-Router will permit access to experimental endpoints only if they are properly addressed. Today it was possible to use the future production endpoint, e.g. /adobe/pages instead of /adobe/experimental/aspm-expires-20251231/pages .

We need to make sure in the Codebases that they use the proper experimental paths.

Try experimental API prefix first (CONTENT_API_EXPERIMENTAL_PREFIX / PSS_API_EXPERIMENTAL_PREFIX), then fall back to the standard prefix if the experimental endpoint returns a non-200 or a network error. Updates both determineAEMCSPageId and getPageEditUrl.

Please ensure your pull request adheres to the following guidelines:

  • make sure to link the related issues in this description
  • when merging / squashing, make sure the fixed issue references are visible in the commits, for easy compilation of release notes

Related Issues

https://jira.corp.adobe.com/browse/SITES-41950

Thanks for contributing!

…olve and edit URL calls

Try experimental API prefix first (CONTENT_API_EXPERIMENTAL_PREFIX / PSS_API_EXPERIMENTAL_PREFIX),
then fall back to the standard prefix if the experimental endpoint returns a non-200 or a network
error. Updates both determineAEMCSPageId and getPageEditUrl.
@terinmez terinmez force-pushed the wip-switch-capi-endpoint branch from 0751114 to 0e382cc Compare April 9, 2026 22:28
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 9, 2026

This PR will trigger a minor release when merged.

@terinmez terinmez requested a review from rpapani April 9, 2026 22:45
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