D2lvalenceElixir.Utils.Service.check_versions

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

check_versions(user_context, supported_version_request_list, options \\ [])

View Source

Specs

check_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()
  },
  [
    %D2lvalenceElixir.Data.SupportedVersionRequest{
      product_code: term(),
      version: term()
    }
  ],
  %{serializers: map() | %{}, body: map() | []}
) :: {:error, String.t()} | {:ok, [map()]} | {:ok, binary()}

Check if the Version of products requested are supported by the D2L instance

Returns

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

{:ok, list(map())} If application/json serializer available returns a list of maps with the check of every product.

Parameters

supported_version_request_list must be a list of %D2lvalenceElixir.Data.SupportedVersionRequest{}

Options

serializers: Map of availaber serializers. application/json recommended. body: Options to pass to the body of the request.