Fix links in data
This commit is contained in:
parent
27f8867aa0
commit
873e8b30eb
84 changed files with 211 additions and 220 deletions
|
@ -15,7 +15,7 @@ type: object
|
|||
title: InviteEvent
|
||||
description: |-
|
||||
An invite event. Note that events have a different format depending on the
|
||||
room version - check the `room version specification`_ for precise event formats.
|
||||
room version - check the [room version specification](/#room-versions) for precise event formats.
|
||||
allOf:
|
||||
- type: object
|
||||
properties:
|
||||
|
@ -46,7 +46,7 @@ allOf:
|
|||
title: Membership Event Content
|
||||
description: |-
|
||||
The content of the event, matching what is available in the
|
||||
`Client-Server API`_. Must include a `membership` of `invite`.
|
||||
[Client-Server API](/client-server-api/). Must include a `membership` of `invite`.
|
||||
example: {"membership": "invite"}
|
||||
properties:
|
||||
membership:
|
||||
|
|
|
@ -41,7 +41,7 @@ properties:
|
|||
properties:
|
||||
key:
|
||||
type: string
|
||||
description: The `Unpadded Base64`_ encoded key.
|
||||
description: The [Unpadded base64](/appendices/#unpadded-base64) encoded key.
|
||||
example: "VGhpcyBzaG91bGQgYmUgYSByZWFsIGVkMjU1MTkgcGF5bG9hZA"
|
||||
required: ["key"]
|
||||
old_verify_keys:
|
||||
|
@ -70,7 +70,7 @@ properties:
|
|||
example: 1532645052628
|
||||
key:
|
||||
type: string
|
||||
description: The `Unpadded Base64`_ encoded key.
|
||||
description: The [Unpadded base64](/appendices/#unpadded-base64) encoded key.
|
||||
example: "VGhpcyBzaG91bGQgYmUgeW91ciBvbGQga2V5J3MgZWQyNTUxOSBwYXlsb2FkLg"
|
||||
required: ["expired_ts", "key"]
|
||||
signatures:
|
||||
|
@ -78,8 +78,7 @@ properties:
|
|||
description: |-
|
||||
Digital signatures for this object signed using the `verify_keys`.
|
||||
|
||||
The signature is calculated using the process described at `Signing
|
||||
JSON`_.
|
||||
The signature is calculated using the process described at [Signing JSON](/appendices/#signing-json).
|
||||
title: Signatures
|
||||
additionalProperties:
|
||||
type: object
|
||||
|
@ -91,7 +90,7 @@ properties:
|
|||
description: |-
|
||||
POSIX timestamp when the list of valid keys should be refreshed. This field MUST
|
||||
be ignored in room versions 1, 2, 3, and 4. Keys used beyond this timestamp MUST
|
||||
be considered invalid, depending on the `room version specification`_.
|
||||
be considered invalid, depending on the [room version specification](/#room-versions).
|
||||
|
||||
Servers MUST use the lesser of this field and 7 days into the future when
|
||||
determining if a key is valid. This is to avoid a situation where an attacker
|
||||
|
|
|
@ -24,7 +24,7 @@ allOf:
|
|||
type: object
|
||||
title: Event Hash
|
||||
description: |-
|
||||
Content hashes of the PDU, following the algorithm specified in `Signing Events`_.
|
||||
Content hashes of the PDU, following the algorithm specified in [Signing Events](/server-server-api/#signing-events).
|
||||
example: {
|
||||
"sha256": "ThisHashCoversAllFieldsInCaseThisIsRedacted"
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ allOf:
|
|||
signatures:
|
||||
type: object
|
||||
description: |-
|
||||
Signatures for the PDU, following the algorithm specified in `Signing Events`_.
|
||||
Signatures for the PDU, following the algorithm specified in [Signing Events](/server-server-api/#signing-events).
|
||||
example: {
|
||||
"example.com": {
|
||||
"ed25519:key_version:": "86BytesOfSignatureOfTheRedactedEvent"
|
||||
|
|
|
@ -52,7 +52,7 @@ allOf:
|
|||
type: object
|
||||
title: Event Hash
|
||||
description: |-
|
||||
Content hashes of the PDU, following the algorithm specified in `Signing Events`_.
|
||||
Content hashes of the PDU, following the algorithm specified in [Signing Events](/server-server-api/#signing-events).
|
||||
example: {
|
||||
"sha256": "ThisHashCoversAllFieldsInCaseThisIsRedacted"
|
||||
}
|
||||
|
@ -65,7 +65,7 @@ allOf:
|
|||
signatures:
|
||||
type: object
|
||||
description: |-
|
||||
Signatures for the PDU, following the algorithm specified in `Signing Events`_.
|
||||
Signatures for the PDU, following the algorithm specified in [Signing Events](/server-server-api/#signing-events).
|
||||
example: {
|
||||
"example.com": {
|
||||
"ed25519:key_version:": "86BytesOfSignatureOfTheRedactedEvent"
|
||||
|
|
|
@ -14,6 +14,6 @@
|
|||
signedRequest:
|
||||
type: apiKey
|
||||
description: |-
|
||||
The `Authorization` header defined in the `Authentication`_ section.
|
||||
The `Authorization` header defined in the [Authentication](/server-server-api/#authentication) section.
|
||||
name: Authorization
|
||||
in: header
|
||||
|
|
|
@ -25,13 +25,13 @@ properties:
|
|||
The auth chain for the entire current room state prior to the join event.
|
||||
|
||||
Note that events have a different format depending on the room version - check the
|
||||
`room version specification`_ for precise event formats.
|
||||
[room version specification](/#room-versions) for precise event formats.
|
||||
items:
|
||||
type: object
|
||||
title: PDU
|
||||
description: |-
|
||||
The `PDUs <#pdus>`_ that make up the auth chain. The event format varies depending
|
||||
on the room version - check the `room version specification`_ for precise event formats.
|
||||
The [PDUs](/server-server-api/#pdus) that make up the auth chain. The event format varies depending
|
||||
on the room version - check the [room version specification](/#room-versions) for precise event formats.
|
||||
schema:
|
||||
type: object
|
||||
properties: []
|
||||
|
@ -42,14 +42,14 @@ properties:
|
|||
description: |-
|
||||
The resolved current room state prior to the join event.
|
||||
|
||||
The event format varies depending on the room version - check the `room version specification`_
|
||||
The event format varies depending on the room version - check the [room version specification](/#room-versions)
|
||||
for precise event formats.
|
||||
items:
|
||||
type: object
|
||||
title: PDU
|
||||
description: |-
|
||||
The `PDUs <#pdus>`_ for the fully resolved state of the room. The event format varies depending
|
||||
on the room version - check the `room version specification`_ for precise event formats.
|
||||
The [PDUs](/server-server-api/#pdus) for the fully resolved state of the room. The event format varies depending
|
||||
on the room version - check the [room version specification](/#room-versions) for precise event formats.
|
||||
schema:
|
||||
type: object
|
||||
properties: []
|
||||
|
|
|
@ -19,13 +19,13 @@ properties:
|
|||
type: array
|
||||
description: |-
|
||||
A single PDU. Note that events have a different format depending on the room
|
||||
version - check the `room version specification`_ for precise event formats.
|
||||
version - check the [room version specification](/#room-versions) for precise event formats.
|
||||
items:
|
||||
type: object
|
||||
title: PDU
|
||||
description: |-
|
||||
The `PDUs <#pdus>`_ contained in the transaction. The event format varies depending
|
||||
on the room version - check the `room version specification`_ for precise event formats.
|
||||
The [PDUs](/server-server-api/#pdus) contained in the transaction. The event format varies depending
|
||||
on the room version - check the [room version specification](/#room-versions) for precise event formats.
|
||||
properties: []
|
||||
example:
|
||||
$ref: "../examples/minimal_pdu.json"
|
||||
|
|
|
@ -34,13 +34,13 @@ properties:
|
|||
description: |-
|
||||
List of persistent updates to rooms. Must not include more than 50 PDUs. Note that
|
||||
events have a different format depending on the room version - check the
|
||||
`room version specification`_ for precise event formats.
|
||||
[room version specification](/#room-versions) for precise event formats.
|
||||
items:
|
||||
type: object
|
||||
title: PDU
|
||||
description: |-
|
||||
The `PDUs <#pdus>`_ contained in the transaction. The event format varies depending
|
||||
on the room version - check the `room version specification`_ for precise event formats.
|
||||
The [PDUs](/server-server-api/#pdus) contained in the transaction. The event format varies depending
|
||||
on the room version - check the [room version specification](/#room-versions) for precise event formats.
|
||||
properties: []
|
||||
example:
|
||||
$ref: "../examples/minimal_pdu.json"
|
||||
|
|
|
@ -19,14 +19,14 @@ properties:
|
|||
type: array
|
||||
description: |-
|
||||
List of persistent updates to rooms. Note that events have a different format
|
||||
depending on the room version - check the `room version specification`_ for
|
||||
depending on the room version - check the [room version specification](/#room-versions) for
|
||||
precise event formats.
|
||||
items:
|
||||
type: object
|
||||
title: PDU
|
||||
description: |-
|
||||
The `PDUs <#pdus>`_ contained in the transaction. The event format varies depending
|
||||
on the room version - check the `room version specification`_ for precise event formats.
|
||||
The [PDUs](/server-server-api/#pdus) contained in the transaction. The event format varies depending
|
||||
on the room version - check the [room version specification](/#room-versions) for precise event formats.
|
||||
properties: []
|
||||
example:
|
||||
$ref: "../examples/minimal_pdu.json"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue