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

Enable serving whitehall asset from media download endpoint #1202

Merged

Conversation

lauraghiorghisor-tw
Copy link
Contributor

@lauraghiorghisor-tw lauraghiorghisor-tw commented Sep 18, 2023

Previous behaviour separated whitehall assets from regular assets by implementing a boolean check (mainstream?) which was false for whitehall assets.

We are changing the behaviour of assets in whitehall, so that all assets (unless already published) will use the non-legacy download endpoint.

The underlying reason is that whitehall is moving away from using legacy_url_path for identifying assets, therefore the media endpoints need to work for whitehall assets too.

Trello card here

Previous behaviour separated whitehall assets from regular assets
by implementing a boolean check (mainstream?) which was false for
whitehall assets.

We are changing the behaviour of assets in whitehall, so that all
assets (unless already published) will use the non-legacy download
endpoint.
Copy link
Contributor

@jkempster34 jkempster34 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me

@lauraghiorghisor-tw lauraghiorghisor-tw merged commit 0db8fc4 into main Sep 20, 2023
@lauraghiorghisor-tw lauraghiorghisor-tw deleted the serve-whitehall-asset-from-media-download-endpoint branch September 20, 2023 07:40
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.

2 participants