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 oEmbed endpoint to the management api #16188

Merged
merged 2 commits into from
Apr 30, 2024

Conversation

bergmania
Copy link
Member

Description

This PR adds oEmbed query endpoint to the management api. This is intended to use from the RTE.

I decided to only return the markup, even that we potentially could return a bigger object, but that would require breaking changes in existing oEmbed providers, so I think we should do that at another time, if we will ever need it.

I added backward compatible async methods all the way, to ensure we use the HttpClient async.

Test

Call the new endpoint with the different providers urls

@Zeegaan
Copy link
Member

Zeegaan commented Apr 30, 2024

Looks good, tests good 🚀

@Zeegaan Zeegaan merged commit 3eef9b9 into v14/dev Apr 30, 2024
15 of 16 checks passed
@Zeegaan Zeegaan deleted the v14/feature/oEmbed-management-api branch April 30, 2024 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants