Skip to content

Commit

Permalink
Clarify formats of string types for the `POST /_matrix/client/v3/logi…
Browse files Browse the repository at this point in the history
…n` endpoint (#1980)

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
  • Loading branch information
zecakeh and anoadragon453 authored Nov 6, 2024
1 parent f730987 commit e0bd054
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1980.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarify formats of string types.
3 changes: 3 additions & 0 deletions data/api/client-server/login.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ paths:
properties:
user_id:
type: string
format: mx-user-id
pattern: "^@"
description: The fully-qualified Matrix ID for the account.
access_token:
type: string
Expand All @@ -197,6 +199,7 @@ paths:
x-addedInMatrixVersion: "1.3"
home_server:
type: string
format: mx-server-name
deprecated: true
description: |-
The server_name of the homeserver on which the account has
Expand Down

0 comments on commit e0bd054

Please sign in to comment.