mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-05-02 07:04:09 +02:00
Compare commits
6 commits
62c5c1a1e0
...
7db34e1089
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7db34e1089 | ||
|
|
3877598b1e | ||
|
|
0e280ed014 | ||
|
|
0bc02c7c69 | ||
|
|
ebc9cc7aa6 | ||
|
|
5cf3c35c2d |
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
|
|
@ -155,6 +155,11 @@ jobs:
|
||||||
--api server-server \
|
--api server-server \
|
||||||
-r "$RELEASE" \
|
-r "$RELEASE" \
|
||||||
-o spec/server-server-api/api.json
|
-o spec/server-server-api/api.json
|
||||||
|
scripts/dump-openapi.py \
|
||||||
|
--base-url "https://spec.matrix.org${{ needs.calculate-baseurl.outputs.baseURL }}" \
|
||||||
|
--api identity \
|
||||||
|
-r "$RELEASE" \
|
||||||
|
-o spec/identity-service-api/api.json
|
||||||
tar -czf openapi.tar.gz spec
|
tar -czf openapi.tar.gz spec
|
||||||
- name: "📤 Artifact upload"
|
- name: "📤 Artifact upload"
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Clarify that `format` is required if `formatted_body` is specified.
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Fix various typos throughout the specification.
|
||||||
1
changelogs/internal/newsfragments/2172.clarification
Normal file
1
changelogs/internal/newsfragments/2172.clarification
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
GitHub actions are now building the OpenAPI `spec/identity-service-api/api.json` file.
|
||||||
|
|
@ -47,7 +47,7 @@ paths:
|
||||||
deleted alongside the device.
|
deleted alongside the device.
|
||||||
|
|
||||||
This endpoint does not use the [User-Interactive Authentication API](/client-server-api/#user-interactive-authentication-api) because
|
This endpoint does not use the [User-Interactive Authentication API](/client-server-api/#user-interactive-authentication-api) because
|
||||||
User-Interactive Authentication is designed to protect against attacks where the
|
User-Interactive Authentication is designed to protect against attacks where
|
||||||
someone gets hold of a single access token then takes over the account. This
|
someone gets hold of a single access token then takes over the account. This
|
||||||
endpoint invalidates all access tokens for the user, including the token used in
|
endpoint invalidates all access tokens for the user, including the token used in
|
||||||
the request, and therefore the attacker is unable to take over the account in
|
the request, and therefore the attacker is unable to take over the account in
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,8 @@ properties:
|
||||||
"1.10": This property can act as a caption for the audio.
|
"1.10": This property can act as a caption for the audio.
|
||||||
format:
|
format:
|
||||||
description: |-
|
description: |-
|
||||||
The format used in the `formatted_body`. Currently only
|
The format used in the `formatted_body`. This is required if `formatted_body`
|
||||||
`org.matrix.custom.html` is supported.
|
is specified. Currently only `org.matrix.custom.html` is supported.
|
||||||
type: string
|
type: string
|
||||||
x-addedInMatrixVersion: "1.10"
|
x-addedInMatrixVersion: "1.10"
|
||||||
formatted_body:
|
formatted_body:
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,8 @@ properties:
|
||||||
type: string
|
type: string
|
||||||
format:
|
format:
|
||||||
description: |-
|
description: |-
|
||||||
The format used in the `formatted_body`. Currently only
|
The format used in the `formatted_body`. This is required if `formatted_body`
|
||||||
`org.matrix.custom.html` is supported.
|
is specified. Currently only `org.matrix.custom.html` is supported.
|
||||||
type: string
|
type: string
|
||||||
formatted_body:
|
formatted_body:
|
||||||
description: |-
|
description: |-
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,8 @@ properties:
|
||||||
"1.10": This property can act as a caption for the file.
|
"1.10": This property can act as a caption for the file.
|
||||||
format:
|
format:
|
||||||
description: |-
|
description: |-
|
||||||
The format used in the `formatted_body`. Currently only
|
The format used in the `formatted_body`. This is required if `formatted_body`
|
||||||
`org.matrix.custom.html` is supported.
|
is specified. Currently only `org.matrix.custom.html` is supported.
|
||||||
type: string
|
type: string
|
||||||
x-addedInMatrixVersion: "1.10"
|
x-addedInMatrixVersion: "1.10"
|
||||||
formatted_body:
|
formatted_body:
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,8 @@ properties:
|
||||||
"1.10": This property can act as a caption for the image.
|
"1.10": This property can act as a caption for the image.
|
||||||
format:
|
format:
|
||||||
description: |-
|
description: |-
|
||||||
The format used in the `formatted_body`. Currently only
|
The format used in the `formatted_body`. This is required if `formatted_body`
|
||||||
`org.matrix.custom.html` is supported.
|
is specified. Currently only `org.matrix.custom.html` is supported.
|
||||||
type: string
|
type: string
|
||||||
x-addedInMatrixVersion: "1.10"
|
x-addedInMatrixVersion: "1.10"
|
||||||
formatted_body:
|
formatted_body:
|
||||||
|
|
|
||||||
|
|
@ -22,8 +22,8 @@ properties:
|
||||||
verification.
|
verification.
|
||||||
format:
|
format:
|
||||||
description: |-
|
description: |-
|
||||||
The format used in the `formatted_body`. Currently only
|
The format used in the `formatted_body`. This is required if `formatted_body`
|
||||||
`org.matrix.custom.html` is supported.
|
is specified. Currently only `org.matrix.custom.html` is supported.
|
||||||
type: string
|
type: string
|
||||||
formatted_body:
|
formatted_body:
|
||||||
description: |-
|
description: |-
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,8 @@ properties:
|
||||||
type: string
|
type: string
|
||||||
format:
|
format:
|
||||||
description: |-
|
description: |-
|
||||||
The format used in the `formatted_body`. Currently only
|
The format used in the `formatted_body`. This is required if `formatted_body`
|
||||||
`org.matrix.custom.html` is supported.
|
is specified. Currently only `org.matrix.custom.html` is supported.
|
||||||
type: string
|
type: string
|
||||||
formatted_body:
|
formatted_body:
|
||||||
description: |-
|
description: |-
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,8 @@ properties:
|
||||||
type: string
|
type: string
|
||||||
format:
|
format:
|
||||||
description: |-
|
description: |-
|
||||||
The format used in the `formatted_body`. Currently only
|
The format used in the `formatted_body`. This is required if `formatted_body`
|
||||||
`org.matrix.custom.html` is supported.
|
is specified. Currently only `org.matrix.custom.html` is supported.
|
||||||
type: string
|
type: string
|
||||||
formatted_body:
|
formatted_body:
|
||||||
description: |-
|
description: |-
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,8 @@ properties:
|
||||||
"1.10": This property can act as a caption for the video.
|
"1.10": This property can act as a caption for the video.
|
||||||
format:
|
format:
|
||||||
description: |-
|
description: |-
|
||||||
The format used in the `formatted_body`. Currently only
|
The format used in the `formatted_body`. This is required if `formatted_body`
|
||||||
`org.matrix.custom.html` is supported.
|
is specified. Currently only `org.matrix.custom.html` is supported.
|
||||||
type: string
|
type: string
|
||||||
x-addedInMatrixVersion: "1.10"
|
x-addedInMatrixVersion: "1.10"
|
||||||
formatted_body:
|
formatted_body:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue