Compare commits

...

4 commits

Author SHA1 Message Date
famfo 6787439e11
Merge 70f6749c92 into d968774fb7 2025-09-24 10:27:08 +01:00
Christian Paul d968774fb7
Missing quotation marks: Fix JSON formatting in application-service-api.md (#2213)
Some checks failed
Spec / 🔎 Validate OpenAPI specifications (push) Has been cancelled
Spec / 🔎 Check Event schema examples (push) Has been cancelled
Spec / 🔎 Check OpenAPI definitions examples (push) Has been cancelled
Spec / 🔎 Check JSON Schemas inline examples (push) Has been cancelled
Spec / ⚙️ Calculate baseURL for later jobs (push) Has been cancelled
Spec / 📢 Run towncrier for changelog (push) Has been cancelled
Spell Check / Spell Check with Typos (push) Has been cancelled
Spec / 🐍 Build OpenAPI definitions (push) Has been cancelled
Spec / 📖 Build the spec (push) Has been cancelled
Spec / 🔎 Validate generated HTML (push) Has been cancelled
Spec / 📖 Build the historical backup spec (push) Has been cancelled
2025-09-23 15:49:27 +00: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
4 changed files with 9 additions and 8 deletions

View file

@ -0,0 +1 @@
Fix JSON formatting in the "Server admin style permissions" examples.

View file

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

View file

@ -438,8 +438,8 @@ user ID without a password.
Content: Content:
{ {
type: "m.login.application_service", "type": "m.login.application_service",
username: "_irc_example" "username": "_irc_example"
} }
Similarly, logging in as users needs API changes in order to allow the AS to Similarly, logging in as users needs API changes in order to allow the AS to
@ -454,7 +454,7 @@ log in without needing the user's password. This is achieved by including the
Content: Content:
{ {
type: "m.login.application_service", "type": "m.login.application_service",
"identifier": { "identifier": {
"type": "m.id.user", "type": "m.id.user",
"user": "_irc_example" "user": "_irc_example"

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.