/apps.permissions.resources.list
GET
/apps.permissions.resources.listReturns list of resource grants this app has on a team.
Request
Query Params
token
string
required
Authentication token. Requires scope: none
cursor
string
optional
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.
limit
integer
optional
The maximum number of items to return.
Request samples
Responses
Typical successful paginated response(200)
Typical error response(500)
Typical successful paginated response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
ok
#/definitions/700149required
resources
array [object {2}]
required
id
string
An ID for a resource
type
string
The type of resource the `id` corresponds to
response_metadata
object
optional
next_cursor
string
required
Additional properties
integer | number | string | boolean
optional
Exampleresponse
{
"ok": true,
"resources": [
{
"id": "T0DES3UAN",
"type": "team"
},
{
"id": "D024BFF1M",
"type": "app_home"
},
{
"id": "C024BE91L",
"type": "channel"
}
],
"response_metadata": {
"next_cursor": "dGVhbTpDMUg5UkVTR0w="
}
}
Last modified: a year ago