List
List
client.Apps.AppUsers.List(ctx, appID, query) (*ExpandedarrayListarrayNextPageTokenstringAppAppUserListResponse, error)
get/api/v1/apps/{app_id}/app_users
Invokes the c1.api.app.v1.AppUserService.List method.
Parameters
appIDstring
The appId field.
queryPageSizefieldPageTokenfieldAppAppUserListParams
Returns
AppAppUserListResponsestruct
The AppUserServiceListResponse message.
Request example Go
package main
import (
"context"
"fmt"
"github.com/stainless-sdks/-go"
"github.com/stainless-sdks/-go/option"
)
func main() {
client := conductoronesdk.NewClient(
option.WithAPIKey("My API Key"),
)
appUsers, err := client.Apps.AppUsers.List(
context.TODO(),
"app_id",
conductoronesdk.AppAppUserListParams{
},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", appUsers.Expanded)
}
200 Example
{
"expanded": [
{
"@type": "@type"
}
],
"list": [
{
"appPath": "appPath",
"appUser": {
"appUserType": "APP_USER_TYPE_UNSPECIFIED",
"status": {}
},
"identityUserPath": "identityUserPath",
"lastUsagePath": "lastUsagePath"
}
],
"nextPageToken": "nextPageToken"
}