Spec the 403 on GET /presence/{userId}/status

This commit is contained in:
Travis Ralston 2018-07-04 14:37:21 -06:00
parent b61fe20171
commit 05c85fd840

View file

@ -123,6 +123,15 @@ paths:
description: |- description: |-
There is no presence state for this user. This user may not exist or There is no presence state for this user. This user may not exist or
isn't exposing presence information to you. isn't exposing presence information to you.
403:
description: You are not allowed to see this user's presence status.
examples:
application/json: {
"errcode": "M_FORBIDDEN",
"error": "You are not allowed to see their presence"
}
schema:
"$ref": "definitions/error.yaml"
tags: tags:
- Presence - Presence
"/presence/list/{userId}": "/presence/list/{userId}":