-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classOEmbedApi.Companion
-
Method Summary
Modifier and Type Method Description final StringgetBaseUrl()final OkHttpClientgetClient()final VideoOEmbedModeloEmbedGetOEmbed(String url, Integer maxWidth, Integer maxHeight, String token, Long expires)Get OEmbed Data Retrieves OEmbed information for a given video URL. final ApiResponse<VideoOEmbedModel>oEmbedGetOEmbedWithHttpInfo(String url, Integer maxWidth, Integer maxHeight, String token, Long expires)Get OEmbed Data Retrieves OEmbed information for a given video URL. final RequestConfig<Unit>oEmbedGetOEmbedRequestConfig(String url, Integer maxWidth, Integer maxHeight, String token, Long expires)To obtain the request config of the operation oEmbedGetOEmbed -
-
Constructor Detail
-
OEmbedApi
OEmbedApi(String basePath, OkHttpClient client)
-
-
Method Detail
-
getBaseUrl
final String getBaseUrl()
-
getClient
final OkHttpClient getClient()
-
oEmbedGetOEmbed
final VideoOEmbedModel oEmbedGetOEmbed(String url, Integer maxWidth, Integer maxHeight, String token, Long expires)
Get OEmbed Data Retrieves OEmbed information for a given video URL. This includes embed HTML, thumbnail URL, and metadata such as title and provider details.
- Parameters:
url- The URL for which to retrieve OEmbed information.maxWidth- Optional maximum width of the embed.maxHeight- Optional maximum height of the embed.token- Authentication token if required.expires- Expiration timestamp for the provided token.
-
oEmbedGetOEmbedWithHttpInfo
final ApiResponse<VideoOEmbedModel> oEmbedGetOEmbedWithHttpInfo(String url, Integer maxWidth, Integer maxHeight, String token, Long expires)
Get OEmbed Data Retrieves OEmbed information for a given video URL. This includes embed HTML, thumbnail URL, and metadata such as title and provider details.
- Parameters:
url- The URL for which to retrieve OEmbed information.maxWidth- Optional maximum width of the embed.maxHeight- Optional maximum height of the embed.token- Authentication token if required.expires- Expiration timestamp for the provided token.
-
oEmbedGetOEmbedRequestConfig
final RequestConfig<Unit> oEmbedGetOEmbedRequestConfig(String url, Integer maxWidth, Integer maxHeight, String token, Long expires)
To obtain the request config of the operation oEmbedGetOEmbed
- Parameters:
url- The URL for which to retrieve OEmbed information.maxWidth- Optional maximum width of the embed.maxHeight- Optional maximum height of the embed.token- Authentication token if required.expires- Expiration timestamp for the provided token.
-
-
-
-