Status
JSON Representation
"id": "99c6c017-7c86-4d78-89ca-dbc1267ffe76",
"configurationId": "215734e0-383d-11e2-81c1-0800200c9a66",
"name": "Went back in time",
"type": "away",
"note": "Tell Doc Brown",
"returnTime": 499132800,
"userCreated": true
}
Property | Type | Description |
---|---|---|
id | String | The id of the user status. |
configurationId | String | The id of the configuration object that represents the user status. |
name | String | The status name. |
type | String | The status type. Determines the icon used for the status. See Status Types below. |
note | String | The note set for the status. |
returnTime | Long | The time the user has set to return, or -1 if no return time has been set. Represented as a unix timestamp, in milliseconds. |
userCreated | Boolean | True, if the status is a custom status set by the user; false, if the status is a pre-configured status. |
Status Types
The following is a list of accepted status types. These types will be used in the JSON representation of the status, and in the set action when changing the status.
- available
- unavailable
- away
- xa
- dnd
- chat
- altblue
- altgreen
- altpink
- altpurple
- altred
Instance Resource Paths
Paths used to access a specific instance of the resource.
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/users/[{user_id} | getByName/{username}]/status | |
---|---|
Description | Provides access to the status of the specified user. Parameters:
Errors:
|
GET | Gets the status of the specified user. |
Action Paths
Actions that can be performed on this resource.
{instance_resource_path}/set | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description | Updates the status of a user. Parameters:
Errors:
| |||||||||||||||
JSON | { "name": "Went back in time", "type": "away", "note": "Tell Doc Brown", "returnTime": 499132800 } Properties:
| |||||||||||||||
POST | Updates the status of the user. |