Polarex.Downloadables (Polarex v0.2.3)

View Source

Provides API endpoints related to downloadables

Summary

Functions

customer_portal_downloadables_customer_portal_downloadables_get(token, opts \\ [])

@spec customer_portal_downloadables_customer_portal_downloadables_get(
  String.t(),
  keyword()
) :: {:ok, map()} | {:error, Polarex.HTTPValidationError.t()}

Get Downloadable

customer_portal_downloadables_list(opts \\ [])

@spec customer_portal_downloadables_list(keyword()) ::
  {:ok, Polarex.ListResourceDownloadableRead.t()}
  | {:error, Polarex.HTTPValidationError.t()}

List Downloadables

Scopes: customer_portal:read customer_portal:write

Options

  • organization_id: Filter by organization ID.
  • benefit_id: Filter by benefit ID.
  • page: Page number, defaults to 1.
  • limit: Size of a page, defaults to 10. Maximum is 100.