D2lvalenceElixir.Utils.Service.get_all_versions
You're seeing just the function
get_all_versions
, go back to D2lvalenceElixir.Utils.Service module for more information.
Specs
get_all_versions( %D2lvalenceElixir.Auth.D2LUserContext{ anonymous: term(), app_id: term(), app_key: term(), encrypt_requests: term(), host: term(), scheme: term(), server_skew: term(), user_id: term(), user_key: term() }, %{serializers: map() | %{}, body: map() | []} ) :: {:error, String.t()} | {:ok, [map()]} | {:ok, binary()}
Gets the versions of all components.
Returns
{:error, cause}
when an error is caused.
{:ok, list(map())}
If application/json serializer available returns a list of maps with the products available and its versions:
[%{"LatestVersion" => "1.1", "ProductCode" => "bas", "SupportedVersions" => ["1.0", "1.1"]}]
Options
serializers: Map of availaber serializers. application/json recommended. body: Options to pass to the body of the request.