Skip to content

Add oEmbed endpoint to the management api#16188

Merged
Zeegaan merged 2 commits intov14/devfrom
v14/feature/oEmbed-management-api
Apr 30, 2024
Merged

Add oEmbed endpoint to the management api#16188
Zeegaan merged 2 commits intov14/devfrom
v14/feature/oEmbed-management-api

Conversation

@bergmania
Copy link
Copy Markdown
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

Comment thread src/Umbraco.Core/Services/OEmbedService.cs Fixed
@Zeegaan
Copy link
Copy Markdown
Member

Zeegaan commented Apr 30, 2024

Looks good, tests good 🚀

@Zeegaan Zeegaan merged commit 3eef9b9 into v14/dev Apr 30, 2024
@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.

3 participants