mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-26 04:54:10 +01:00
Add 403 return codes
This commit is contained in:
parent
0cec7c7f1b
commit
84f43a3c10
|
|
@ -71,6 +71,10 @@ paths:
|
||||||
application/json: {}
|
application/json: {}
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
|
403:
|
||||||
|
description: |-
|
||||||
|
The access token provided is not authorized to modify this user's account
|
||||||
|
data.
|
||||||
tags:
|
tags:
|
||||||
- User data
|
- User data
|
||||||
get:
|
get:
|
||||||
|
|
@ -106,6 +110,10 @@ paths:
|
||||||
type: object
|
type: object
|
||||||
example: {
|
example: {
|
||||||
"custom_account_data_key": "custom_config_value"}
|
"custom_account_data_key": "custom_config_value"}
|
||||||
|
403:
|
||||||
|
description: |-
|
||||||
|
The access token provided is not authorized to retrieve this user's account
|
||||||
|
data.
|
||||||
tags:
|
tags:
|
||||||
- User data
|
- User data
|
||||||
"/user/{userId}/rooms/{roomId}/account_data/{type}":
|
"/user/{userId}/rooms/{roomId}/account_data/{type}":
|
||||||
|
|
@ -159,6 +167,10 @@ paths:
|
||||||
application/json: {}
|
application/json: {}
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
|
403:
|
||||||
|
description: |-
|
||||||
|
The access token provided is not authorized to modify this user's account
|
||||||
|
data.
|
||||||
tags:
|
tags:
|
||||||
- User data
|
- User data
|
||||||
get:
|
get:
|
||||||
|
|
@ -201,5 +213,9 @@ paths:
|
||||||
type: object
|
type: object
|
||||||
example: {
|
example: {
|
||||||
"custom_account_data_key": "custom_config_value"}
|
"custom_account_data_key": "custom_config_value"}
|
||||||
|
403:
|
||||||
|
description: |-
|
||||||
|
The access token provided is not authorized to retrieve this user's account
|
||||||
|
data.
|
||||||
tags:
|
tags:
|
||||||
- User data
|
- User data
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue