D2lvalenceElixir.Utils.Service.get_versions_for_product_component

You're seeing just the function get_versions_for_product_component, go back to D2lvalenceElixir.Utils.Service module for more information.
Link to this function

get_versions_for_product_component(user_context, product_component, options \\ [])

View Source

Specs

get_versions_for_product_component(
  %D2lvalenceElixir.Auth.D2LAppContext{app_id: term(), app_key: term()},
  String.t(),
  %{version: String.t() | nil, serializers: map() | %{}, body: map() | %{}}
) :: {:error, String.t()} | {:ok, list()} | {:ok, binary()}

Gets the version of a product component especified in product component.

Returns

{:error, cause} when an error is caused.

{:ok, list} If application/json serializer available returns a list with the product versions available

Options

version: version of the component to verify. If not specified, will get the version of the component. serializers: Map of availaber serializers. application/json recommended. body: Options to pass to the body of the request.