mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-04 18:24:10 +02:00
Convert errors in presence.yaml
This commit is contained in:
parent
16125f16f5
commit
84e07a0c10
|
|
@ -123,6 +123,8 @@ 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.
|
||||||
|
schema:
|
||||||
|
"$ref": "definitions/errors/error.yaml"
|
||||||
403:
|
403:
|
||||||
description: You are not allowed to see this user's presence status.
|
description: You are not allowed to see this user's presence status.
|
||||||
examples:
|
examples:
|
||||||
|
|
@ -131,7 +133,7 @@ paths:
|
||||||
"error": "You are not allowed to see their presence"
|
"error": "You are not allowed to see their presence"
|
||||||
}
|
}
|
||||||
schema:
|
schema:
|
||||||
"$ref": "definitions/error.yaml"
|
"$ref": "definitions/errors/error.yaml"
|
||||||
tags:
|
tags:
|
||||||
- Presence
|
- Presence
|
||||||
"/presence/list/{userId}":
|
"/presence/list/{userId}":
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue