List Chattables
This request returns a list of addressables that can be chatted.
Resource
GET /addressables?type=chattable[¶meters]
Where the parameter 'type' is saying that only chattable addressables should be searched.
Chattables are always sorted by MRU and the sorting cannot be changed to something else.
Because it is sorted as MRU no paging is available for this API call.
Parameters
Name | Type | Description |
---|---|---|
|
[chattable] |
If type is chattables then return objects you can chat with. |
|
[String] |
Include fields to the result. |
Payload
None
Response
Context
Authorization |
User |
Errors
Example
Request
GET https://xelion.nl/api/v1/master/addressables/525125525/colleagues?limit=2&include=status
Response
{
"data": [
{
"object": {
"commonName": "Wesley",
"oid": "1650975",
"objectType": "Person"
},
"links": [
{
"rel": "self",
"href": "https://xelion.nl/api/v1/master/addressables/1650975",
"method": "GET"
}
]
},
{
"object": {
"commonName": "Chris",
"oid": "1818085",
"objectType": "Person"
},
"links": [
{
"rel": "self",
"href": "https://xelion.nl/api/v1/master/addressables/1818085",
"method": "GET"
}
]
}
],
"meta": {
"links": [
{
"rel": "refresh",
"href": "https://xelion.nl/api/v1/master/addressables",
"method": "GET"
}
]
}
}