Package 

Class OEmbedApi

    • Constructor Detail

      • OEmbedApi

        OEmbedApi(String basePath, OkHttpClient client)
    • Method Detail

      • 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.