Compare commits

...

2 commits

Author SHA1 Message Date
Kévin Commaille 2633f6f185
Use "server" instead of "homeserver"
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2026-01-17 10:07:45 +01:00
Kévin Commaille 68881a07b1
Remove enum for actions
It doesn't make sense to have the action schema in a separate file now
that only the `type` is shared.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2026-01-17 10:04:41 +01:00
3 changed files with 4 additions and 25 deletions

View file

@ -1,22 +0,0 @@
# Copyright 2026 The Matrix.org Foundation C.I.C.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
type: string
enum:
- "org.matrix.profile"
- "org.matrix.devices_list"
- "org.matrix.device_view"
- "org.matrix.device_delete"
- "org.matrix.account_deactivate"
- "org.matrix.cross_signing_reset"
description: An action that the account management URL supports.

View file

@ -19,11 +19,12 @@ properties:
format: uri format: uri
description: |- description: |-
The URL where the user is able to access the account management capabilities of the The URL where the user is able to access the account management capabilities of the
homeserver. server.
account_management_actions_supported: account_management_actions_supported:
type: array type: array
description: |- description: |-
List of [actions](/client-server-api/#account-management-url-actions) that the account List of [actions](/client-server-api/#account-management-url-actions) that the account
management URL supports. management URL supports.
items: items:
$ref: ./oauth2-account-management-action.yaml type: string
description: An action that the account management URL supports.

View file

@ -15,7 +15,7 @@ type: object
title: OAuth 2.0 Account Management URL Query Parameters title: OAuth 2.0 Account Management URL Query Parameters
properties: properties:
action: action:
$ref: ./oauth2-account-management-action.yaml type: string
description: |- description: |-
The action that the user wishes to take. Must match one of the actions advertised by the The action that the user wishes to take. Must match one of the actions advertised by the
server in [`account_management_actions_supported`](/client-server-api/#account-management-url-discovery). server in [`account_management_actions_supported`](/client-server-api/#account-management-url-discovery).