List the instances of a Decision Application
apps_list_instances( slug, archived = NULL, app_release_id = NULL, limit = NULL, page_num = NULL, order = NULL, order_dir = NULL )
slug | string required. The slug for the application. |
---|---|
archived | string optional. The archival status of the requested item(s). |
app_release_id | integer optional. If supplied, return only instances matching this release. |
limit | integer optional. Number of results to return. Defaults to its maximum of 50. |
page_num | integer optional. Page number of the results to return. Defaults to the first page, 1. |
order | string optional. The field on which to order the result set. Defaults to id. Must be one of: id, created_at. |
order_dir | string optional. Direction in which to sort, either asc (ascending) or desc (descending) defaulting to asc. |
An array containing the following fields:
integer, The unique id of the instance.
string, The name of the instance.
integer, The id of the app release the instance belongs to.
integer, The id of the report the instance belongs to.
string, The time the instance was created at.
list, A list containing the following elements:
id integer, The ID of this user.
name string, This user's name.
username string, This user's username.
initials string, This user's initials.
online boolean, Whether this user is online.
integer, The id of the project collecting all the items that belong to this app instance.
string, The archival status of the requested item(s).