The API documentation for status/get user status does not match actual payload received from server as the active_channel property is missing.
Perform an authenticated API request for /users/{userId}/status and view the response payload.
Per API v4 documentation, the payload
{
"user_id": "string",
"status": "string",
"manual": true,
"last_activity_at": 0,
"active_channel": "string"
}
{
user_id: 'wxaf11dne7bu8mn73e3r13q4ah',
status: 'away',
manual: false,
last_activity_at: 1520640100796
}
Hi @scottliddick,
Thank you for this report!
I have created a ticket for this here for our engineers to fix: https://mattermost.atlassian.net/browse/MM-9798
I can fix that @amyblais. I will assign that ticket to me
Thank you @cpanato!
As the PR above has been merged, I'll close this issue off here now...
Most helpful comment
pr: https://github.com/mattermost/mattermost-api-reference/pull/341