Compare commits

...

4 commits

Author SHA1 Message Date
famfo bad0b11cce
Merge 70f6749c92 into f82d8ab15b 2025-10-07 11:51:42 +01:00
Johannes Marbach f82d8ab15b
Clarify that additional OpenGraph properties can be present in URL previews (#2225)
Some checks are pending
Spec / 🔎 Validate OpenAPI specifications (push) Waiting to run
Spec / 🔎 Check Event schema examples (push) Waiting to run
Spec / 🔎 Check OpenAPI definitions examples (push) Waiting to run
Spec / 🔎 Check JSON Schemas inline examples (push) Waiting to run
Spec / ⚙️ Calculate baseURL for later jobs (push) Waiting to run
Spec / 🐍 Build OpenAPI definitions (push) Blocked by required conditions
Spec / 📢 Run towncrier for changelog (push) Waiting to run
Spec / 📖 Build the spec (push) Blocked by required conditions
Spec / 🔎 Validate generated HTML (push) Blocked by required conditions
Spec / 📖 Build the historical backup spec (push) Blocked by required conditions
Spell Check / Spell Check with Typos (push) Waiting to run
Fixes: #1753

Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
2025-10-07 10:44:20 +02:00
famfo 70f6749c92
changelogs/s2s: add minimum_valid_until_ts clarification 2025-09-11 02:19:33 +02:00
famfo 1583a12cec
s2s/keys: clarify minimum_valid_until_ts query
Signed-off-by: famfo <famfo@famfo.xyz>
2025-09-11 02:19:33 +02:00
5 changed files with 16 additions and 7 deletions

View file

@ -0,0 +1 @@
Additional OpenGraph properties can be present in URL previews.

View file

@ -0,0 +1 @@
Clarify what the minimum_valid_until_ts field means when it is set in key queries.

View file

@ -379,7 +379,8 @@ paths:
description: |- description: |-
The OpenGraph data for the URL, which may be empty. Some values are The OpenGraph data for the URL, which may be empty. Some values are
replaced with matrix equivalents if they are provided in the response. replaced with matrix equivalents if they are provided in the response.
The differences from the OpenGraph protocol are described here. The differences from the [OpenGraph protocol](https://ogp.me/) are
described here.
content: content:
application/json: application/json:
schema: schema:
@ -394,6 +395,9 @@ paths:
format: uri format: uri
description: An [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris) to description: An [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris) to
the image. Omitted if there is no image. the image. Omitted if there is no image.
additionalProperties:
description: |-
Additional properties as per the [OpenGraph](https://ogp.me/) protocol.
examples: examples:
response: response:
value: { value: {

View file

@ -605,7 +605,8 @@ paths:
description: |- description: |-
The OpenGraph data for the URL, which may be empty. Some values are The OpenGraph data for the URL, which may be empty. Some values are
replaced with matrix equivalents if they are provided in the response. replaced with matrix equivalents if they are provided in the response.
The differences from the OpenGraph protocol are described here. The differences from the [OpenGraph](https://ogp.me/) protocol are
described here.
content: content:
application/json: application/json:
schema: schema:
@ -620,6 +621,9 @@ paths:
format: uri format: uri
description: An [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris) to description: An [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris) to
the image. Omitted if there is no image. the image. Omitted if there is no image.
additionalProperties:
description: |-
Additional properties as per the [OpenGraph](https://ogp.me/) protocol.
examples: examples:
response: response:
value: { value: {

View file

@ -34,8 +34,8 @@ paths:
- in: query - in: query
name: minimum_valid_until_ts name: minimum_valid_until_ts
description: |- description: |-
A millisecond POSIX timestamp in milliseconds indicating when the returned A millisecond POSIX timestamp. The returned keys MUST be valid
certificates will need to be valid until to be useful to the requesting server. until at least this timestamp.
If not supplied, the current time as determined by the notary server is used. If not supplied, the current time as determined by the notary server is used.
required: false required: false
@ -98,9 +98,8 @@ paths:
type: integer type: integer
format: int64 format: int64
description: |- description: |-
A millisecond POSIX timestamp in milliseconds indicating when A millisecond POSIX timestamp. The returned keys
the returned certificates will need to be valid until to be MUST be valid until at least this timestamp.
useful to the requesting server.
If not supplied, the current time as determined by the notary If not supplied, the current time as determined by the notary
server is used. server is used.