slack_web_api v1.2.1 SlackWebAPI.Api.AppsPermissionsResources

API calls for all endpoints tagged AppsPermissionsResources.

Link to this section Summary

Functions

Returns list of resource grants this app has on a team.

Link to this section Functions

Link to this function

apps_permissions_resources_list(connection, opts \\ [])

apps_permissions_resources_list(Tesla.Env.client(), keyword()) ::
  {:ok, map()} | {:error, Tesla.Env.t()}

Returns list of resource grants this app has on a team.

Parameters

  • connection (SlackWebAPI.Connection): Connection to server
  • opts (KeywordList): [optional] Optional parameters

    • :cursor (String.t): Paginate through collections of data by setting the cursor parameter to a next_cursor attribute returned by a previous request's response_metadata. Default value fetches the first "page" of the collection. See pagination for more detail.
    • :token (String.t): Authentication token. Requires scope: none
    • :limit (integer()): The maximum number of items to return.

Returns

{:ok, %{}} on success {:error, info} on failure