Merge remote-tracking branch 'matrix-org/master' into travis/towncrier
This commit is contained in:
commit
f418c20ff2
1 changed files with 11 additions and 0 deletions
|
@ -83,6 +83,8 @@ paths:
|
||||||
description: |-
|
description: |-
|
||||||
Get the given user's presence state.
|
Get the given user's presence state.
|
||||||
operationId: getPresence
|
operationId: getPresence
|
||||||
|
security:
|
||||||
|
- accessToken: []
|
||||||
parameters:
|
parameters:
|
||||||
- in: path
|
- in: path
|
||||||
type: string
|
type: string
|
||||||
|
@ -121,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}":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue