Merge pull request #1104 from matrix-org/dbkr/keys_query_token

Doc /keys/query 'token' param
pull/977/head
David Baker 7 years ago committed by GitHub
commit 573b25ab9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,5 @@
# Copyright 2016 OpenMarket Ltd # Copyright 2016 OpenMarket Ltd
# Copyright 2018 New Vector Ltd
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
@ -131,6 +132,13 @@ paths:
description: "device ID" description: "device ID"
example: example:
"@alice:example.com": [] "@alice:example.com": []
token:
type: string
description: |-
If the client is fetching keys as a result of a device update received
in a sync request, this should be the 'since' token of that sync request,
or any later sync token. This allows the server to ensure its response
contains the keys advertised by the notification in that sync.
required: required:
- device_keys - device_keys

Loading…
Cancel
Save