async-matrix 0.1.3 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +131 -0
- data/data/matrix-spec/api/client-server/account-data.yaml +389 -0
- data/data/matrix-spec/api/client-server/account_deactivation.yaml +149 -0
- data/data/matrix-spec/api/client-server/admin.yaml +512 -0
- data/data/matrix-spec/api/client-server/administrative_contact.yaml +620 -0
- data/data/matrix-spec/api/client-server/appservice_ping.yaml +183 -0
- data/data/matrix-spec/api/client-server/appservice_room_directory.yaml +104 -0
- data/data/matrix-spec/api/client-server/authed-content-repo.yaml +590 -0
- data/data/matrix-spec/api/client-server/banning.yaml +177 -0
- data/data/matrix-spec/api/client-server/capabilities.yaml +235 -0
- data/data/matrix-spec/api/client-server/content-repo.yaml +887 -0
- data/data/matrix-spec/api/client-server/create_room.yaml +306 -0
- data/data/matrix-spec/api/client-server/cross_signing.yaml +300 -0
- data/data/matrix-spec/api/client-server/definitions/auth_data.yaml +34 -0
- data/data/matrix-spec/api/client-server/definitions/auth_response.yaml +62 -0
- data/data/matrix-spec/api/client-server/definitions/client_device.yaml +44 -0
- data/data/matrix-spec/api/client-server/definitions/client_event.yaml +49 -0
- data/data/matrix-spec/api/client-server/definitions/client_event_without_room_id.yaml +147 -0
- data/data/matrix-spec/api/client-server/definitions/cross_signing_key.yaml +57 -0
- data/data/matrix-spec/api/client-server/definitions/device_keys.yaml +70 -0
- data/data/matrix-spec/api/client-server/definitions/errors/error.yaml +26 -0
- data/data/matrix-spec/api/client-server/definitions/errors/rate_limited.yaml +34 -0
- data/data/matrix-spec/api/client-server/definitions/event_batch.yaml +22 -0
- data/data/matrix-spec/api/client-server/definitions/event_filter.yaml +55 -0
- data/data/matrix-spec/api/client-server/definitions/invite_3pid.yaml +45 -0
- data/data/matrix-spec/api/client-server/definitions/key_backup_auth_data.yaml +36 -0
- data/data/matrix-spec/api/client-server/definitions/key_backup_data.yaml +50 -0
- data/data/matrix-spec/api/client-server/definitions/key_backup_session_data.yaml +57 -0
- data/data/matrix-spec/api/client-server/definitions/m.login.terms_params.yaml +83 -0
- data/data/matrix-spec/api/client-server/definitions/m.mentions.yaml +33 -0
- data/data/matrix-spec/api/client-server/definitions/m.oauth_params.yaml +30 -0
- data/data/matrix-spec/api/client-server/definitions/m.relates_to.yaml +45 -0
- data/data/matrix-spec/api/client-server/definitions/megolm_export_session_data.yaml +39 -0
- data/data/matrix-spec/api/client-server/definitions/olm_payload.yaml +88 -0
- data/data/matrix-spec/api/client-server/definitions/one_time_keys.yaml +27 -0
- data/data/matrix-spec/api/client-server/definitions/openid_token.yaml +37 -0
- data/data/matrix-spec/api/client-server/definitions/protocol.yaml +44 -0
- data/data/matrix-spec/api/client-server/definitions/public_rooms_chunk.yaml +74 -0
- data/data/matrix-spec/api/client-server/definitions/public_rooms_response.yaml +59 -0
- data/data/matrix-spec/api/client-server/definitions/push_condition.yaml +53 -0
- data/data/matrix-spec/api/client-server/definitions/push_rule.yaml +53 -0
- data/data/matrix-spec/api/client-server/definitions/push_ruleset.yaml +206 -0
- data/data/matrix-spec/api/client-server/definitions/recent_emoji.yaml +29 -0
- data/data/matrix-spec/api/client-server/definitions/request_email_validation.yaml +36 -0
- data/data/matrix-spec/api/client-server/definitions/request_msisdn_validation.yaml +36 -0
- data/data/matrix-spec/api/client-server/definitions/request_token_response.yaml +46 -0
- data/data/matrix-spec/api/client-server/definitions/room_event_filter.yaml +60 -0
- data/data/matrix-spec/api/client-server/definitions/room_key_backup.yaml +37 -0
- data/data/matrix-spec/api/client-server/definitions/room_summary.yaml +44 -0
- data/data/matrix-spec/api/client-server/definitions/security.yaml +47 -0
- data/data/matrix-spec/api/client-server/definitions/sso_login_flow.yaml +98 -0
- data/data/matrix-spec/api/client-server/definitions/state_event_batch.yaml +21 -0
- data/data/matrix-spec/api/client-server/definitions/sync_filter.yaml +86 -0
- data/data/matrix-spec/api/client-server/definitions/tag.yaml +24 -0
- data/data/matrix-spec/api/client-server/definitions/third_party_signed.yaml +45 -0
- data/data/matrix-spec/api/client-server/definitions/timeline_batch.yaml +36 -0
- data/data/matrix-spec/api/client-server/definitions/user_identifier.yaml +27 -0
- data/data/matrix-spec/api/client-server/definitions/wellknown/full.yaml +38 -0
- data/data/matrix-spec/api/client-server/definitions/wellknown/homeserver.yaml +25 -0
- data/data/matrix-spec/api/client-server/definitions/wellknown/identity_server.yaml +25 -0
- data/data/matrix-spec/api/client-server/device_management.yaml +314 -0
- data/data/matrix-spec/api/client-server/directory.yaml +318 -0
- data/data/matrix-spec/api/client-server/event_context.yaml +161 -0
- data/data/matrix-spec/api/client-server/filter.yaml +224 -0
- data/data/matrix-spec/api/client-server/inviting.yaml +149 -0
- data/data/matrix-spec/api/client-server/joining.yaml +238 -0
- data/data/matrix-spec/api/client-server/key_backup.yaml +993 -0
- data/data/matrix-spec/api/client-server/keys.yaml +482 -0
- data/data/matrix-spec/api/client-server/kicking.yaml +110 -0
- data/data/matrix-spec/api/client-server/knocking.yaml +152 -0
- data/data/matrix-spec/api/client-server/leaving.yaml +163 -0
- data/data/matrix-spec/api/client-server/list_joined_rooms.yaml +68 -0
- data/data/matrix-spec/api/client-server/list_public_rooms.yaml +280 -0
- data/data/matrix-spec/api/client-server/login.yaml +321 -0
- data/data/matrix-spec/api/client-server/login_token.yaml +138 -0
- data/data/matrix-spec/api/client-server/logout.yaml +86 -0
- data/data/matrix-spec/api/client-server/message_pagination.yaml +194 -0
- data/data/matrix-spec/api/client-server/notifications.yaml +152 -0
- data/data/matrix-spec/api/client-server/oauth_server_metadata.yaml +238 -0
- data/data/matrix-spec/api/client-server/old_sync.yaml +379 -0
- data/data/matrix-spec/api/client-server/openid.yaml +98 -0
- data/data/matrix-spec/api/client-server/password_management.yaml +246 -0
- data/data/matrix-spec/api/client-server/peeking_events.yaml +122 -0
- data/data/matrix-spec/api/client-server/policy_server.yaml +82 -0
- data/data/matrix-spec/api/client-server/presence.yaml +169 -0
- data/data/matrix-spec/api/client-server/profile.yaml +366 -0
- data/data/matrix-spec/api/client-server/pusher.yaml +303 -0
- data/data/matrix-spec/api/client-server/pushrules.yaml +633 -0
- data/data/matrix-spec/api/client-server/read_markers.yaml +103 -0
- data/data/matrix-spec/api/client-server/receipts.yaml +139 -0
- data/data/matrix-spec/api/client-server/redaction.yaml +116 -0
- data/data/matrix-spec/api/client-server/refresh.yaml +119 -0
- data/data/matrix-spec/api/client-server/registration.yaml +488 -0
- data/data/matrix-spec/api/client-server/registration_tokens.yaml +93 -0
- data/data/matrix-spec/api/client-server/relations.yaml +382 -0
- data/data/matrix-spec/api/client-server/report_content.yaml +283 -0
- data/data/matrix-spec/api/client-server/room_event_by_timestamp.yaml +147 -0
- data/data/matrix-spec/api/client-server/room_initial_sync.yaml +188 -0
- data/data/matrix-spec/api/client-server/room_send.yaml +130 -0
- data/data/matrix-spec/api/client-server/room_state.yaml +159 -0
- data/data/matrix-spec/api/client-server/room_summary.yaml +138 -0
- data/data/matrix-spec/api/client-server/room_upgrades.yaml +130 -0
- data/data/matrix-spec/api/client-server/rooms.yaml +380 -0
- data/data/matrix-spec/api/client-server/search.yaml +385 -0
- data/data/matrix-spec/api/client-server/space_hierarchy.yaml +237 -0
- data/data/matrix-spec/api/client-server/sso_login_redirect.yaml +135 -0
- data/data/matrix-spec/api/client-server/support.yaml +142 -0
- data/data/matrix-spec/api/client-server/sync.yaml +692 -0
- data/data/matrix-spec/api/client-server/tags.yaml +183 -0
- data/data/matrix-spec/api/client-server/third_party_lookup.yaml +324 -0
- data/data/matrix-spec/api/client-server/third_party_membership.yaml +139 -0
- data/data/matrix-spec/api/client-server/threads_list.yaml +167 -0
- data/data/matrix-spec/api/client-server/to_device.yaml +104 -0
- data/data/matrix-spec/api/client-server/typing.yaml +103 -0
- data/data/matrix-spec/api/client-server/users.yaml +136 -0
- data/data/matrix-spec/api/client-server/versions.yaml +108 -0
- data/data/matrix-spec/api/client-server/voip.yaml +93 -0
- data/data/matrix-spec/api/client-server/wellknown.yaml +60 -0
- data/data/matrix-spec/api/client-server/whoami.yaml +121 -0
- data/data/matrix-spec/event-schemas/examples/core/event.json +6 -0
- data/data/matrix-spec/event-schemas/examples/core/room_edu.json +3 -0
- data/data/matrix-spec/event-schemas/examples/core/room_event.json +11 -0
- data/data/matrix-spec/event-schemas/examples/core/state_event.json +4 -0
- data/data/matrix-spec/event-schemas/examples/invite_room_state.json +18 -0
- data/data/matrix-spec/event-schemas/examples/knock_room_state.json +18 -0
- data/data/matrix-spec/event-schemas/examples/m.accepted_terms.yaml +10 -0
- data/data/matrix-spec/event-schemas/examples/m.call.answer.yaml +21 -0
- data/data/matrix-spec/event-schemas/examples/m.call.candidates.yaml +16 -0
- data/data/matrix-spec/event-schemas/examples/m.call.hangup.yaml +10 -0
- data/data/matrix-spec/event-schemas/examples/m.call.invite.yaml +22 -0
- data/data/matrix-spec/event-schemas/examples/m.call.negotiate.yaml +22 -0
- data/data/matrix-spec/event-schemas/examples/m.call.reject.yaml +9 -0
- data/data/matrix-spec/event-schemas/examples/m.call.sdp_stream_metadata_changed.yaml +16 -0
- data/data/matrix-spec/event-schemas/examples/m.call.select_answer.yaml +10 -0
- data/data/matrix-spec/event-schemas/examples/m.direct.yaml +10 -0
- data/data/matrix-spec/event-schemas/examples/m.dummy.yaml +4 -0
- data/data/matrix-spec/event-schemas/examples/m.forwarded_room_key.yaml +14 -0
- data/data/matrix-spec/event-schemas/examples/m.fully_read.yaml +7 -0
- data/data/matrix-spec/event-schemas/examples/m.identity_server.yaml +7 -0
- data/data/matrix-spec/event-schemas/examples/m.ignored_user_list.yaml +9 -0
- data/data/matrix-spec/event-schemas/examples/m.invite_permission_config.yaml +7 -0
- data/data/matrix-spec/event-schemas/examples/m.key.verification.accept.yaml +12 -0
- data/data/matrix-spec/event-schemas/examples/m.key.verification.cancel.yaml +8 -0
- data/data/matrix-spec/event-schemas/examples/m.key.verification.done.yaml +6 -0
- data/data/matrix-spec/event-schemas/examples/m.key.verification.key.yaml +7 -0
- data/data/matrix-spec/event-schemas/examples/m.key.verification.mac.yaml +10 -0
- data/data/matrix-spec/event-schemas/examples/m.key.verification.ready.yaml +10 -0
- data/data/matrix-spec/event-schemas/examples/m.key.verification.request.yaml +11 -0
- data/data/matrix-spec/event-schemas/examples/m.key.verification.start$m.sas.v1.yaml +12 -0
- data/data/matrix-spec/event-schemas/examples/m.key.verification.start.yaml +8 -0
- data/data/matrix-spec/event-schemas/examples/m.key_backup.yaml +7 -0
- data/data/matrix-spec/event-schemas/examples/m.marked_unread.yaml +7 -0
- data/data/matrix-spec/event-schemas/examples/m.policy.rule.room.yaml +10 -0
- data/data/matrix-spec/event-schemas/examples/m.policy.rule.server.yaml +10 -0
- data/data/matrix-spec/event-schemas/examples/m.policy.rule.user.yaml +10 -0
- data/data/matrix-spec/event-schemas/examples/m.presence.yaml +12 -0
- data/data/matrix-spec/event-schemas/examples/m.push_rules.yaml +177 -0
- data/data/matrix-spec/event-schemas/examples/m.reaction.yaml +11 -0
- data/data/matrix-spec/event-schemas/examples/m.receipt.yaml +18 -0
- data/data/matrix-spec/event-schemas/examples/m.recent_emoji.yaml +16 -0
- data/data/matrix-spec/event-schemas/examples/m.room.avatar.yaml +14 -0
- data/data/matrix-spec/event-schemas/examples/m.room.canonical_alias.yaml +12 -0
- data/data/matrix-spec/event-schemas/examples/m.room.create.yaml +13 -0
- data/data/matrix-spec/event-schemas/examples/m.room.encrypted$megolm.yaml +11 -0
- data/data/matrix-spec/event-schemas/examples/m.room.encrypted$olm.yaml +14 -0
- data/data/matrix-spec/event-schemas/examples/m.room.encryption.yaml +10 -0
- data/data/matrix-spec/event-schemas/examples/m.room.guest_access.yaml +8 -0
- data/data/matrix-spec/event-schemas/examples/m.room.history_visibility.yaml +8 -0
- data/data/matrix-spec/event-schemas/examples/m.room.join_rules$restricted.yaml +18 -0
- data/data/matrix-spec/event-schemas/examples/m.room.join_rules.yaml +8 -0
- data/data/matrix-spec/event-schemas/examples/m.room.member$invite_room_state.yaml +15 -0
- data/data/matrix-spec/event-schemas/examples/m.room.member$join_authorised_via_users_server.yaml +12 -0
- data/data/matrix-spec/event-schemas/examples/m.room.member$knock_room_state.yaml +15 -0
- data/data/matrix-spec/event-schemas/examples/m.room.member$third_party_invite.yaml +20 -0
- data/data/matrix-spec/event-schemas/examples/m.room.member.yaml +12 -0
- data/data/matrix-spec/event-schemas/examples/m.room.message$m.audio.yaml +14 -0
- data/data/matrix-spec/event-schemas/examples/m.room.message$m.emote.yaml +10 -0
- data/data/matrix-spec/event-schemas/examples/m.room.message$m.file.yaml +14 -0
- data/data/matrix-spec/event-schemas/examples/m.room.message$m.image.yaml +16 -0
- data/data/matrix-spec/event-schemas/examples/m.room.message$m.key.verification.request.yaml +19 -0
- data/data/matrix-spec/event-schemas/examples/m.room.message$m.location.yaml +18 -0
- data/data/matrix-spec/event-schemas/examples/m.room.message$m.notice.yaml +10 -0
- data/data/matrix-spec/event-schemas/examples/m.room.message$m.server_notice.yaml +11 -0
- data/data/matrix-spec/event-schemas/examples/m.room.message$m.text.yaml +10 -0
- data/data/matrix-spec/event-schemas/examples/m.room.message$m.video.yaml +23 -0
- data/data/matrix-spec/event-schemas/examples/m.room.name.yaml +8 -0
- data/data/matrix-spec/event-schemas/examples/m.room.pinned_events.yaml +8 -0
- data/data/matrix-spec/event-schemas/examples/m.room.policy.yaml +11 -0
- data/data/matrix-spec/event-schemas/examples/m.room.power_levels.yaml +24 -0
- data/data/matrix-spec/event-schemas/examples/m.room.redaction.yaml +8 -0
- data/data/matrix-spec/event-schemas/examples/m.room.server_acl.yaml +10 -0
- data/data/matrix-spec/event-schemas/examples/m.room.third_party_invite.yaml +14 -0
- data/data/matrix-spec/event-schemas/examples/m.room.tombstone.yaml +9 -0
- data/data/matrix-spec/event-schemas/examples/m.room.topic.yaml +16 -0
- data/data/matrix-spec/event-schemas/examples/m.room_key.withheld.yaml +12 -0
- data/data/matrix-spec/event-schemas/examples/m.room_key.yaml +10 -0
- data/data/matrix-spec/event-schemas/examples/m.room_key_request$cancel_request.yaml +8 -0
- data/data/matrix-spec/event-schemas/examples/m.room_key_request$request.yaml +14 -0
- data/data/matrix-spec/event-schemas/examples/m.secret.request.yaml +9 -0
- data/data/matrix-spec/event-schemas/examples/m.secret.send.yaml +7 -0
- data/data/matrix-spec/event-schemas/examples/m.space.child.yaml +10 -0
- data/data/matrix-spec/event-schemas/examples/m.space.parent.yaml +9 -0
- data/data/matrix-spec/event-schemas/examples/m.sticker.yaml +22 -0
- data/data/matrix-spec/event-schemas/examples/m.tag.yaml +9 -0
- data/data/matrix-spec/event-schemas/examples/m.typing.yaml +7 -0
- data/data/matrix-spec/event-schemas/moderation_policy_rule.yaml +32 -0
- data/data/matrix-spec/event-schemas/schema/components/m_text_content_block.yaml +28 -0
- data/data/matrix-spec/event-schemas/schema/components/sdp_stream_metadata.yaml +43 -0
- data/data/matrix-spec/event-schemas/schema/components/signed_third_party_invite.yaml +48 -0
- data/data/matrix-spec/event-schemas/schema/core-event-schema/call_event.yaml +27 -0
- data/data/matrix-spec/event-schemas/schema/core-event-schema/event.yaml +16 -0
- data/data/matrix-spec/event-schemas/schema/core-event-schema/msgtype_infos/avatar_info.yaml +30 -0
- data/data/matrix-spec/event-schemas/schema/core-event-schema/msgtype_infos/image_info.yaml +52 -0
- data/data/matrix-spec/event-schemas/schema/core-event-schema/msgtype_infos/thumbnail_info.yaml +22 -0
- data/data/matrix-spec/event-schemas/schema/core-event-schema/room_event.yaml +17 -0
- data/data/matrix-spec/event-schemas/schema/core-event-schema/state_event.yaml +8 -0
- data/data/matrix-spec/event-schemas/schema/core-event-schema/stripped_state.yaml +48 -0
- data/data/matrix-spec/event-schemas/schema/core-event-schema/sync_room_event.yaml +49 -0
- data/data/matrix-spec/event-schemas/schema/core-event-schema/sync_state_event.yaml +36 -0
- data/data/matrix-spec/event-schemas/schema/core-event-schema/unsigned_prop.yaml +23 -0
- data/data/matrix-spec/event-schemas/schema/m.accepted_terms.yaml +25 -0
- data/data/matrix-spec/event-schemas/schema/m.call.answer.yaml +44 -0
- data/data/matrix-spec/event-schemas/schema/m.call.candidates.yaml +52 -0
- data/data/matrix-spec/event-schemas/schema/m.call.hangup.yaml +57 -0
- data/data/matrix-spec/event-schemas/schema/m.call.invite.yaml +53 -0
- data/data/matrix-spec/event-schemas/schema/m.call.negotiate.yaml +78 -0
- data/data/matrix-spec/event-schemas/schema/m.call.reject.yaml +29 -0
- data/data/matrix-spec/event-schemas/schema/m.call.sdp_stream_metadata_changed.yaml +24 -0
- data/data/matrix-spec/event-schemas/schema/m.call.select_answer.yaml +29 -0
- data/data/matrix-spec/event-schemas/schema/m.direct.yaml +29 -0
- data/data/matrix-spec/event-schemas/schema/m.dummy.yaml +25 -0
- data/data/matrix-spec/event-schemas/schema/m.forwarded_room_key.yaml +70 -0
- data/data/matrix-spec/event-schemas/schema/m.fully_read.yaml +26 -0
- data/data/matrix-spec/event-schemas/schema/m.identity_server.yaml +28 -0
- data/data/matrix-spec/event-schemas/schema/m.ignored_user_list.yaml +30 -0
- data/data/matrix-spec/event-schemas/schema/m.invite_permission_config.yaml +21 -0
- data/data/matrix-spec/event-schemas/schema/m.key.verification.accept.yaml +63 -0
- data/data/matrix-spec/event-schemas/schema/m.key.verification.cancel.yaml +72 -0
- data/data/matrix-spec/event-schemas/schema/m.key.verification.done.yaml +24 -0
- data/data/matrix-spec/event-schemas/schema/m.key.verification.key.yaml +31 -0
- data/data/matrix-spec/event-schemas/schema/m.key.verification.m.relates_to.yaml +23 -0
- data/data/matrix-spec/event-schemas/schema/m.key.verification.mac.yaml +43 -0
- data/data/matrix-spec/event-schemas/schema/m.key.verification.ready.yaml +41 -0
- data/data/matrix-spec/event-schemas/schema/m.key.verification.request.yaml +47 -0
- data/data/matrix-spec/event-schemas/schema/m.key.verification.start$m.reciprocate.v1.yaml +45 -0
- data/data/matrix-spec/event-schemas/schema/m.key.verification.start$m.sas.v1.yaml +76 -0
- data/data/matrix-spec/event-schemas/schema/m.key.verification.start.yaml +46 -0
- data/data/matrix-spec/event-schemas/schema/m.key_backup.yaml +24 -0
- data/data/matrix-spec/event-schemas/schema/m.marked_unread.yaml +26 -0
- data/data/matrix-spec/event-schemas/schema/m.policy.rule.room.yaml +17 -0
- data/data/matrix-spec/event-schemas/schema/m.policy.rule.server.yaml +17 -0
- data/data/matrix-spec/event-schemas/schema/m.policy.rule.user.yaml +17 -0
- data/data/matrix-spec/event-schemas/schema/m.presence.yaml +50 -0
- data/data/matrix-spec/event-schemas/schema/m.push_rules.yaml +23 -0
- data/data/matrix-spec/event-schemas/schema/m.reaction.yaml +45 -0
- data/data/matrix-spec/event-schemas/schema/m.receipt.yaml +65 -0
- data/data/matrix-spec/event-schemas/schema/m.recent_emoji.yaml +29 -0
- data/data/matrix-spec/event-schemas/schema/m.room.avatar.yaml +29 -0
- data/data/matrix-spec/event-schemas/schema/m.room.canonical_alias.yaml +40 -0
- data/data/matrix-spec/event-schemas/schema/m.room.create.yaml +86 -0
- data/data/matrix-spec/event-schemas/schema/m.room.encrypted.yaml +91 -0
- data/data/matrix-spec/event-schemas/schema/m.room.encryption.yaml +38 -0
- data/data/matrix-spec/event-schemas/schema/m.room.guest_access.yaml +28 -0
- data/data/matrix-spec/event-schemas/schema/m.room.history_visibility.yaml +30 -0
- data/data/matrix-spec/event-schemas/schema/m.room.join_rules.yaml +78 -0
- data/data/matrix-spec/event-schemas/schema/m.room.member.yaml +174 -0
- data/data/matrix-spec/event-schemas/schema/m.room.message$m.audio.yaml +73 -0
- data/data/matrix-spec/event-schemas/schema/m.room.message$m.emote.yaml +36 -0
- data/data/matrix-spec/event-schemas/schema/m.room.message$m.file.yaml +85 -0
- data/data/matrix-spec/event-schemas/schema/m.room.message$m.image.yaml +63 -0
- data/data/matrix-spec/event-schemas/schema/m.room.message$m.key.verification.request.yaml +70 -0
- data/data/matrix-spec/event-schemas/schema/m.room.message$m.location.yaml +50 -0
- data/data/matrix-spec/event-schemas/schema/m.room.message$m.notice.yaml +36 -0
- data/data/matrix-spec/event-schemas/schema/m.room.message$m.server_notice.yaml +41 -0
- data/data/matrix-spec/event-schemas/schema/m.room.message$m.text.yaml +36 -0
- data/data/matrix-spec/event-schemas/schema/m.room.message$m.video.yaml +95 -0
- data/data/matrix-spec/event-schemas/schema/m.room.message.yaml +25 -0
- data/data/matrix-spec/event-schemas/schema/m.room.name.yaml +35 -0
- data/data/matrix-spec/event-schemas/schema/m.room.pinned_events.yaml +27 -0
- data/data/matrix-spec/event-schemas/schema/m.room.policy.yaml +41 -0
- data/data/matrix-spec/event-schemas/schema/m.room.power_levels.yaml +139 -0
- data/data/matrix-spec/event-schemas/schema/m.room.redaction.yaml +29 -0
- data/data/matrix-spec/event-schemas/schema/m.room.server_acl.yaml +88 -0
- data/data/matrix-spec/event-schemas/schema/m.room.third_party_invite.yaml +79 -0
- data/data/matrix-spec/event-schemas/schema/m.room.tombstone.yaml +29 -0
- data/data/matrix-spec/event-schemas/schema/m.room.topic.yaml +53 -0
- data/data/matrix-spec/event-schemas/schema/m.room_key.withheld.yaml +88 -0
- data/data/matrix-spec/event-schemas/schema/m.room_key.yaml +38 -0
- data/data/matrix-spec/event-schemas/schema/m.room_key_request.yaml +73 -0
- data/data/matrix-spec/event-schemas/schema/m.secret.request.yaml +42 -0
- data/data/matrix-spec/event-schemas/schema/m.secret.send.yaml +35 -0
- data/data/matrix-spec/event-schemas/schema/m.space.child.yaml +50 -0
- data/data/matrix-spec/event-schemas/schema/m.space.parent.yaml +36 -0
- data/data/matrix-spec/event-schemas/schema/m.sticker.yaml +36 -0
- data/data/matrix-spec/event-schemas/schema/m.tag.yaml +28 -0
- data/data/matrix-spec/event-schemas/schema/m.typing.yaml +29 -0
- data/lib/async/matrix/api/chain.rb +575 -0
- data/lib/async/matrix/api/concat.rb +105 -0
- data/lib/async/matrix/api/path_tree.rb +208 -0
- data/lib/async/matrix/api.rb +204 -0
- data/lib/async/matrix/application_service/bot.rb +235 -0
- data/lib/async/matrix/application_service/config/schema/analytics.json +21 -0
- data/lib/async/matrix/application_service/config/schema/appservice.json +82 -0
- data/lib/async/matrix/application_service/config/schema/backfill.json +91 -0
- data/lib/async/matrix/application_service/config/schema/bridge.json +209 -0
- data/lib/async/matrix/application_service/config/schema/config.json +61 -0
- data/lib/async/matrix/application_service/config/schema/database.json +38 -0
- data/lib/async/matrix/application_service/config/schema/direct_media.json +35 -0
- data/lib/async/matrix/application_service/config/schema/double_puppet.json +24 -0
- data/lib/async/matrix/application_service/config/schema/encryption.json +164 -0
- data/lib/async/matrix/application_service/config/schema/homeserver.json +58 -0
- data/lib/async/matrix/application_service/config/schema/logging.json +50 -0
- data/lib/async/matrix/application_service/config/schema/management_room_texts.json +25 -0
- data/lib/async/matrix/application_service/config/schema/matrix.json +45 -0
- data/lib/async/matrix/application_service/config/schema/permissions.json +54 -0
- data/lib/async/matrix/application_service/config/schema/provisioning.json +23 -0
- data/lib/async/matrix/application_service/config/schema/public_media.json +39 -0
- data/lib/async/matrix/application_service/config/schema/relay.json +43 -0
- data/lib/async/matrix/application_service/config/vivify.rb +110 -0
- data/lib/async/matrix/application_service/config.rb +214 -123
- data/lib/async/matrix/application_service/dispatcher.rb +115 -113
- data/lib/async/matrix/application_service/error_response.rb +26 -26
- data/lib/async/matrix/application_service/event.rb +217 -1
- data/lib/async/matrix/application_service/server.rb +286 -215
- data/lib/async/matrix/application_service/transaction.rb +52 -52
- data/lib/async/matrix/application_service/transaction_store.rb +62 -62
- data/lib/async/matrix/client.rb +919 -179
- data/lib/async/matrix/connection.rb +8 -8
- data/lib/async/matrix/endpoint.rb +45 -45
- data/lib/async/matrix/error.rb +49 -43
- data/lib/async/matrix/media_client.rb +173 -0
- data/lib/async/matrix/notifier.rb +92 -92
- data/lib/async/matrix/schema/registry.rb +355 -0
- data/lib/async/matrix/schema/validation_error.rb +226 -0
- data/lib/async/matrix/schema.rb +174 -0
- data/lib/async/matrix/server.rb +7 -7
- data/lib/async/matrix/stream.rb +7 -7
- data/lib/async/matrix/version.rb +1 -1
- data/lib/async/matrix.rb +2 -2
- metadata +353 -1
|
@@ -0,0 +1,993 @@
|
|
|
1
|
+
# Copyright 2019-2020 The Matrix.org Foundation C.I.C.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
openapi: 3.1.0
|
|
15
|
+
info:
|
|
16
|
+
title: Matrix Client-Server Key Backup API
|
|
17
|
+
version: 1.0.0
|
|
18
|
+
paths:
|
|
19
|
+
/room_keys/version:
|
|
20
|
+
post:
|
|
21
|
+
x-addedInMatrixVersion: "1.1"
|
|
22
|
+
summary: Create a new backup.
|
|
23
|
+
description: Creates a new backup.
|
|
24
|
+
operationId: postRoomKeysVersion
|
|
25
|
+
security:
|
|
26
|
+
- accessTokenQuery: []
|
|
27
|
+
- accessTokenBearer: []
|
|
28
|
+
requestBody:
|
|
29
|
+
content:
|
|
30
|
+
application/json:
|
|
31
|
+
schema:
|
|
32
|
+
type: object
|
|
33
|
+
properties:
|
|
34
|
+
algorithm:
|
|
35
|
+
description: The algorithm used for storing backups.
|
|
36
|
+
type: string
|
|
37
|
+
enum:
|
|
38
|
+
- m.megolm_backup.v1.curve25519-aes-sha2
|
|
39
|
+
example: m.megolm_backup.v1.curve25519-aes-sha2
|
|
40
|
+
auth_data:
|
|
41
|
+
description: |-
|
|
42
|
+
Algorithm-dependent data. See the documentation for the backup
|
|
43
|
+
algorithms in [Server-side key backups](/client-server-api/#server-side-key-backups) for more information on the
|
|
44
|
+
expected format of the data.
|
|
45
|
+
type: object
|
|
46
|
+
example:
|
|
47
|
+
public_key: abcdefg
|
|
48
|
+
signatures:
|
|
49
|
+
"@alice:example.org":
|
|
50
|
+
ed25519:deviceid: signature
|
|
51
|
+
required:
|
|
52
|
+
- algorithm
|
|
53
|
+
- auth_data
|
|
54
|
+
description: The backup configuration.
|
|
55
|
+
required: true
|
|
56
|
+
responses:
|
|
57
|
+
"200":
|
|
58
|
+
description: The version id of the new backup.
|
|
59
|
+
content:
|
|
60
|
+
application/json:
|
|
61
|
+
schema:
|
|
62
|
+
type: object
|
|
63
|
+
properties:
|
|
64
|
+
version:
|
|
65
|
+
type: string
|
|
66
|
+
description: The backup version. This is an opaque string.
|
|
67
|
+
example: "1"
|
|
68
|
+
required:
|
|
69
|
+
- version
|
|
70
|
+
"429":
|
|
71
|
+
description: This request was rate-limited.
|
|
72
|
+
content:
|
|
73
|
+
application/json:
|
|
74
|
+
schema:
|
|
75
|
+
$ref: definitions/errors/rate_limited.yaml
|
|
76
|
+
tags:
|
|
77
|
+
- End-to-end encryption
|
|
78
|
+
get:
|
|
79
|
+
x-addedInMatrixVersion: "1.1"
|
|
80
|
+
summary: Get information about the latest backup version.
|
|
81
|
+
description: Get information about the latest backup version.
|
|
82
|
+
operationId: getRoomKeysVersionCurrent
|
|
83
|
+
security:
|
|
84
|
+
- accessTokenQuery: []
|
|
85
|
+
- accessTokenBearer: []
|
|
86
|
+
responses:
|
|
87
|
+
"200":
|
|
88
|
+
description: The information about the backup.
|
|
89
|
+
content:
|
|
90
|
+
application/json:
|
|
91
|
+
schema:
|
|
92
|
+
type: object
|
|
93
|
+
properties:
|
|
94
|
+
algorithm:
|
|
95
|
+
type: string
|
|
96
|
+
description: The algorithm used for storing backups.
|
|
97
|
+
enum:
|
|
98
|
+
- m.megolm_backup.v1.curve25519-aes-sha2
|
|
99
|
+
example: m.megolm_backup.v1.curve25519-aes-sha2
|
|
100
|
+
auth_data:
|
|
101
|
+
description: |-
|
|
102
|
+
Algorithm-dependent data. See the documentation for the backup
|
|
103
|
+
algorithms in [Server-side key backups](/client-server-api/#server-side-key-backups) for more information on the
|
|
104
|
+
expected format of the data.
|
|
105
|
+
type: object
|
|
106
|
+
example:
|
|
107
|
+
public_key: abcdefg
|
|
108
|
+
signatures:
|
|
109
|
+
"@alice:example.org":
|
|
110
|
+
ed25519:deviceid: signature
|
|
111
|
+
count:
|
|
112
|
+
description: The number of keys stored in the backup.
|
|
113
|
+
type: integer
|
|
114
|
+
example: 42
|
|
115
|
+
etag:
|
|
116
|
+
description: |-
|
|
117
|
+
An opaque string representing stored keys in the backup.
|
|
118
|
+
Clients can compare it with the `etag` value they received
|
|
119
|
+
in the request of their last key storage request. If not
|
|
120
|
+
equal, another client has modified the backup.
|
|
121
|
+
type: string
|
|
122
|
+
example: anopaquestring
|
|
123
|
+
version:
|
|
124
|
+
type: string
|
|
125
|
+
description: The backup version.
|
|
126
|
+
example: "1"
|
|
127
|
+
required:
|
|
128
|
+
- algorithm
|
|
129
|
+
- auth_data
|
|
130
|
+
- count
|
|
131
|
+
- etag
|
|
132
|
+
- version
|
|
133
|
+
"404":
|
|
134
|
+
description: No backup exists.
|
|
135
|
+
content:
|
|
136
|
+
application/json:
|
|
137
|
+
schema:
|
|
138
|
+
$ref: definitions/errors/error.yaml
|
|
139
|
+
examples:
|
|
140
|
+
response:
|
|
141
|
+
value: {
|
|
142
|
+
"errcode": "M_NOT_FOUND",
|
|
143
|
+
"error": "No current backup version"
|
|
144
|
+
}
|
|
145
|
+
"429":
|
|
146
|
+
description: This request was rate-limited.
|
|
147
|
+
content:
|
|
148
|
+
application/json:
|
|
149
|
+
schema:
|
|
150
|
+
$ref: definitions/errors/rate_limited.yaml
|
|
151
|
+
tags:
|
|
152
|
+
- End-to-end encryption
|
|
153
|
+
"/room_keys/version/{version}":
|
|
154
|
+
get:
|
|
155
|
+
x-addedInMatrixVersion: "1.1"
|
|
156
|
+
summary: Get information about an existing backup.
|
|
157
|
+
description: Get information about an existing backup.
|
|
158
|
+
operationId: getRoomKeysVersion
|
|
159
|
+
security:
|
|
160
|
+
- accessTokenQuery: []
|
|
161
|
+
- accessTokenBearer: []
|
|
162
|
+
parameters:
|
|
163
|
+
- in: path
|
|
164
|
+
name: version
|
|
165
|
+
description: |-
|
|
166
|
+
The backup version to get, as returned in the `version` parameter
|
|
167
|
+
of the response in
|
|
168
|
+
[`POST /_matrix/client/v3/room_keys/version`](/client-server-api/#post_matrixclientv3room_keysversion)
|
|
169
|
+
or this endpoint.
|
|
170
|
+
required: true
|
|
171
|
+
example: "1"
|
|
172
|
+
schema:
|
|
173
|
+
type: string
|
|
174
|
+
responses:
|
|
175
|
+
"200":
|
|
176
|
+
description: The information about the requested backup.
|
|
177
|
+
content:
|
|
178
|
+
application/json:
|
|
179
|
+
schema:
|
|
180
|
+
type: object
|
|
181
|
+
properties:
|
|
182
|
+
algorithm:
|
|
183
|
+
type: string
|
|
184
|
+
description: The algorithm used for storing backups.
|
|
185
|
+
enum:
|
|
186
|
+
- m.megolm_backup.v1.curve25519-aes-sha2
|
|
187
|
+
example: m.megolm_backup.v1.curve25519-aes-sha2
|
|
188
|
+
auth_data:
|
|
189
|
+
description: |-
|
|
190
|
+
Algorithm-dependent data. See the documentation for the backup
|
|
191
|
+
algorithms in [Server-side key backups](/client-server-api/#server-side-key-backups) for more information on the
|
|
192
|
+
expected format of the data.
|
|
193
|
+
type: object
|
|
194
|
+
example:
|
|
195
|
+
public_key: abcdefg
|
|
196
|
+
signatures:
|
|
197
|
+
"@alice:example.org":
|
|
198
|
+
ed25519:deviceid: signature
|
|
199
|
+
count:
|
|
200
|
+
description: The number of keys stored in the backup.
|
|
201
|
+
type: integer
|
|
202
|
+
example: 42
|
|
203
|
+
etag:
|
|
204
|
+
description: |-
|
|
205
|
+
An opaque string representing stored keys in the backup.
|
|
206
|
+
Clients can compare it with the `etag` value they received
|
|
207
|
+
in the request of their last key storage request. If not
|
|
208
|
+
equal, another client has modified the backup.
|
|
209
|
+
type: string
|
|
210
|
+
example: anopaquestring
|
|
211
|
+
version:
|
|
212
|
+
type: string
|
|
213
|
+
description: The backup version.
|
|
214
|
+
example: "1"
|
|
215
|
+
required:
|
|
216
|
+
- algorithm
|
|
217
|
+
- auth_data
|
|
218
|
+
- count
|
|
219
|
+
- etag
|
|
220
|
+
- version
|
|
221
|
+
"404":
|
|
222
|
+
description: The backup specified does not exist.
|
|
223
|
+
content:
|
|
224
|
+
application/json:
|
|
225
|
+
schema:
|
|
226
|
+
$ref: definitions/errors/error.yaml
|
|
227
|
+
examples:
|
|
228
|
+
response:
|
|
229
|
+
value: {
|
|
230
|
+
"errcode": "M_NOT_FOUND",
|
|
231
|
+
"error": "Unknown backup version"
|
|
232
|
+
}
|
|
233
|
+
"429":
|
|
234
|
+
description: This request was rate-limited.
|
|
235
|
+
content:
|
|
236
|
+
application/json:
|
|
237
|
+
schema:
|
|
238
|
+
$ref: definitions/errors/rate_limited.yaml
|
|
239
|
+
tags:
|
|
240
|
+
- End-to-end encryption
|
|
241
|
+
put:
|
|
242
|
+
x-addedInMatrixVersion: "1.1"
|
|
243
|
+
summary: Update information about an existing backup.
|
|
244
|
+
description: Update information about an existing backup. Only `auth_data` can
|
|
245
|
+
be modified.
|
|
246
|
+
operationId: putRoomKeysVersion
|
|
247
|
+
security:
|
|
248
|
+
- accessTokenQuery: []
|
|
249
|
+
- accessTokenBearer: []
|
|
250
|
+
parameters:
|
|
251
|
+
- in: path
|
|
252
|
+
name: version
|
|
253
|
+
description: |-
|
|
254
|
+
The backup version to update, as returned in the `version`
|
|
255
|
+
parameter in the response of
|
|
256
|
+
[`POST /_matrix/client/v3/room_keys/version`](/client-server-api/#post_matrixclientv3room_keysversion)
|
|
257
|
+
or [`GET /_matrix/client/v3/room_keys/version/{version}`](/client-server-api/#get_matrixclientv3room_keysversionversion).
|
|
258
|
+
required: true
|
|
259
|
+
example: "1"
|
|
260
|
+
schema:
|
|
261
|
+
type: string
|
|
262
|
+
requestBody:
|
|
263
|
+
content:
|
|
264
|
+
application/json:
|
|
265
|
+
schema:
|
|
266
|
+
type: object
|
|
267
|
+
properties:
|
|
268
|
+
algorithm:
|
|
269
|
+
description: |-
|
|
270
|
+
The algorithm used for storing backups. Must be the same as
|
|
271
|
+
the algorithm currently used by the backup.
|
|
272
|
+
type: string
|
|
273
|
+
enum:
|
|
274
|
+
- m.megolm_backup.v1.curve25519-aes-sha2
|
|
275
|
+
example: m.megolm_backup.v1.curve25519-aes-sha2
|
|
276
|
+
auth_data:
|
|
277
|
+
description: |-
|
|
278
|
+
Algorithm-dependent data. See the documentation for the backup
|
|
279
|
+
algorithms in [Server-side key backups](/client-server-api/#server-side-key-backups) for more information on the
|
|
280
|
+
expected format of the data.
|
|
281
|
+
type: object
|
|
282
|
+
example:
|
|
283
|
+
public_key: abcdefg
|
|
284
|
+
signatures:
|
|
285
|
+
"@alice:example.org":
|
|
286
|
+
ed25519:deviceid: signature
|
|
287
|
+
version:
|
|
288
|
+
description: |-
|
|
289
|
+
The backup version. If present, must be the same as the
|
|
290
|
+
version in the path parameter.
|
|
291
|
+
type: string
|
|
292
|
+
example: "1"
|
|
293
|
+
required:
|
|
294
|
+
- algorithm
|
|
295
|
+
- auth_data
|
|
296
|
+
description: The backup configuration
|
|
297
|
+
required: true
|
|
298
|
+
responses:
|
|
299
|
+
"200":
|
|
300
|
+
description: The update succeeded.
|
|
301
|
+
content:
|
|
302
|
+
application/json:
|
|
303
|
+
schema:
|
|
304
|
+
type: object
|
|
305
|
+
examples:
|
|
306
|
+
response:
|
|
307
|
+
value: {}
|
|
308
|
+
"400":
|
|
309
|
+
description: |-
|
|
310
|
+
A parameter was incorrect. For example, the `algorithm` does not
|
|
311
|
+
match the current backup algorithm, or the `version` in the body
|
|
312
|
+
does not match the `version` in the path.
|
|
313
|
+
content:
|
|
314
|
+
application/json:
|
|
315
|
+
schema:
|
|
316
|
+
$ref: definitions/errors/error.yaml
|
|
317
|
+
examples:
|
|
318
|
+
response:
|
|
319
|
+
value: {
|
|
320
|
+
"errcode": "M_INVALID_PARAM",
|
|
321
|
+
"error": "Algorithm does not match"
|
|
322
|
+
}
|
|
323
|
+
"404":
|
|
324
|
+
description: The backup specified does not exist.
|
|
325
|
+
content:
|
|
326
|
+
application/json:
|
|
327
|
+
schema:
|
|
328
|
+
$ref: definitions/errors/error.yaml
|
|
329
|
+
examples:
|
|
330
|
+
response:
|
|
331
|
+
value: {
|
|
332
|
+
"errcode": "M_NOT_FOUND",
|
|
333
|
+
"error": "Unknown backup version"
|
|
334
|
+
}
|
|
335
|
+
"429":
|
|
336
|
+
description: This request was rate-limited.
|
|
337
|
+
content:
|
|
338
|
+
application/json:
|
|
339
|
+
schema:
|
|
340
|
+
$ref: definitions/errors/rate_limited.yaml
|
|
341
|
+
tags:
|
|
342
|
+
- End-to-end encryption
|
|
343
|
+
delete:
|
|
344
|
+
x-addedInMatrixVersion: "1.1"
|
|
345
|
+
summary: Delete an existing key backup.
|
|
346
|
+
description: |-
|
|
347
|
+
Delete an existing key backup. Both the information about the backup,
|
|
348
|
+
as well as all key data related to the backup will be deleted.
|
|
349
|
+
operationId: deleteRoomKeysVersion
|
|
350
|
+
security:
|
|
351
|
+
- accessTokenQuery: []
|
|
352
|
+
- accessTokenBearer: []
|
|
353
|
+
parameters:
|
|
354
|
+
- in: path
|
|
355
|
+
name: version
|
|
356
|
+
description: |-
|
|
357
|
+
The backup version to delete, as returned in the `version`
|
|
358
|
+
parameter in the response of
|
|
359
|
+
[`POST /_matrix/client/v3/room_keys/version`](/client-server-api/#post_matrixclientv3room_keysversion)
|
|
360
|
+
or [`GET /_matrix/client/v3/room_keys/version/{version}`](/client-server-api/#get_matrixclientv3room_keysversionversion).
|
|
361
|
+
required: true
|
|
362
|
+
example: "1"
|
|
363
|
+
schema:
|
|
364
|
+
type: string
|
|
365
|
+
responses:
|
|
366
|
+
"200":
|
|
367
|
+
description: |-
|
|
368
|
+
The delete succeeded, or the specified backup was previously
|
|
369
|
+
deleted.
|
|
370
|
+
content:
|
|
371
|
+
application/json:
|
|
372
|
+
schema:
|
|
373
|
+
type: object
|
|
374
|
+
properties: {}
|
|
375
|
+
"404":
|
|
376
|
+
description: |-
|
|
377
|
+
The backup specified does not exist. If the backup was previously
|
|
378
|
+
deleted, the call should succeed rather than returning an error.
|
|
379
|
+
content:
|
|
380
|
+
application/json:
|
|
381
|
+
schema:
|
|
382
|
+
$ref: definitions/errors/error.yaml
|
|
383
|
+
examples:
|
|
384
|
+
response:
|
|
385
|
+
value: {
|
|
386
|
+
"errcode": "M_NOT_FOUND",
|
|
387
|
+
"error": "Unknown backup version"
|
|
388
|
+
}
|
|
389
|
+
"429":
|
|
390
|
+
description: This request was rate-limited.
|
|
391
|
+
content:
|
|
392
|
+
application/json:
|
|
393
|
+
schema:
|
|
394
|
+
$ref: definitions/errors/rate_limited.yaml
|
|
395
|
+
tags:
|
|
396
|
+
- End-to-end encryption
|
|
397
|
+
"/room_keys/keys/{roomId}/{sessionId}":
|
|
398
|
+
put:
|
|
399
|
+
x-addedInMatrixVersion: "1.1"
|
|
400
|
+
summary: Store a key in the backup.
|
|
401
|
+
description: Store a key in the backup.
|
|
402
|
+
operationId: putRoomKeyBySessionId
|
|
403
|
+
security:
|
|
404
|
+
- accessTokenQuery: []
|
|
405
|
+
- accessTokenBearer: []
|
|
406
|
+
parameters:
|
|
407
|
+
- in: query
|
|
408
|
+
name: version
|
|
409
|
+
description: The backup in which to store the key. Must be the current backup.
|
|
410
|
+
required: true
|
|
411
|
+
example: "1"
|
|
412
|
+
schema:
|
|
413
|
+
type: string
|
|
414
|
+
- in: path
|
|
415
|
+
name: roomId
|
|
416
|
+
description: The ID of the room that the key is for.
|
|
417
|
+
required: true
|
|
418
|
+
example: "!roomid:example.org"
|
|
419
|
+
schema:
|
|
420
|
+
type: string
|
|
421
|
+
- in: path
|
|
422
|
+
name: sessionId
|
|
423
|
+
description: The ID of the megolm session that the key is for.
|
|
424
|
+
required: true
|
|
425
|
+
example: sessionid
|
|
426
|
+
schema:
|
|
427
|
+
type: string
|
|
428
|
+
requestBody:
|
|
429
|
+
content:
|
|
430
|
+
application/json:
|
|
431
|
+
schema:
|
|
432
|
+
$ref: definitions/key_backup_data.yaml
|
|
433
|
+
description: The key data.
|
|
434
|
+
required: true
|
|
435
|
+
responses:
|
|
436
|
+
"200":
|
|
437
|
+
description: The update succeeded.
|
|
438
|
+
content:
|
|
439
|
+
application/json:
|
|
440
|
+
schema:
|
|
441
|
+
$ref: "#/components/schemas/RoomKeysUpdateResponse"
|
|
442
|
+
"403":
|
|
443
|
+
description: |-
|
|
444
|
+
The version specified does not match the current backup version.
|
|
445
|
+
The current version will be included in the `current_version`
|
|
446
|
+
field.
|
|
447
|
+
content:
|
|
448
|
+
application/json:
|
|
449
|
+
schema:
|
|
450
|
+
$ref: definitions/errors/error.yaml
|
|
451
|
+
examples:
|
|
452
|
+
response:
|
|
453
|
+
value: {
|
|
454
|
+
"errcode": "M_WRONG_ROOM_KEYS_VERSION",
|
|
455
|
+
"error": "Wrong backup version.",
|
|
456
|
+
"current_version": "42"
|
|
457
|
+
}
|
|
458
|
+
"429":
|
|
459
|
+
description: This request was rate-limited.
|
|
460
|
+
content:
|
|
461
|
+
application/json:
|
|
462
|
+
schema:
|
|
463
|
+
$ref: definitions/errors/rate_limited.yaml
|
|
464
|
+
tags:
|
|
465
|
+
- End-to-end encryption
|
|
466
|
+
get:
|
|
467
|
+
x-addedInMatrixVersion: "1.1"
|
|
468
|
+
summary: Retrieve a key from the backup.
|
|
469
|
+
description: Retrieve a key from the backup.
|
|
470
|
+
operationId: getRoomKeyBySessionId
|
|
471
|
+
security:
|
|
472
|
+
- accessTokenQuery: []
|
|
473
|
+
- accessTokenBearer: []
|
|
474
|
+
parameters:
|
|
475
|
+
- in: query
|
|
476
|
+
name: version
|
|
477
|
+
description: The backup from which to retrieve the key.
|
|
478
|
+
required: true
|
|
479
|
+
example: "1"
|
|
480
|
+
schema:
|
|
481
|
+
type: string
|
|
482
|
+
- in: path
|
|
483
|
+
name: roomId
|
|
484
|
+
description: The ID of the room that the requested key is for.
|
|
485
|
+
required: true
|
|
486
|
+
example: "!roomid:example.org"
|
|
487
|
+
schema:
|
|
488
|
+
type: string
|
|
489
|
+
- in: path
|
|
490
|
+
name: sessionId
|
|
491
|
+
description: The ID of the megolm session whose key is requested.
|
|
492
|
+
required: true
|
|
493
|
+
example: sessionid
|
|
494
|
+
schema:
|
|
495
|
+
type: string
|
|
496
|
+
responses:
|
|
497
|
+
"200":
|
|
498
|
+
description: The key data
|
|
499
|
+
content:
|
|
500
|
+
application/json:
|
|
501
|
+
schema:
|
|
502
|
+
$ref: definitions/key_backup_data.yaml
|
|
503
|
+
"404":
|
|
504
|
+
description: The key or backup was not found.
|
|
505
|
+
content:
|
|
506
|
+
application/json:
|
|
507
|
+
schema:
|
|
508
|
+
$ref: definitions/errors/error.yaml
|
|
509
|
+
examples:
|
|
510
|
+
response:
|
|
511
|
+
value: {
|
|
512
|
+
"errcode": "M_NOT_FOUND",
|
|
513
|
+
"error": "Key not found."
|
|
514
|
+
}
|
|
515
|
+
"429":
|
|
516
|
+
description: This request was rate-limited.
|
|
517
|
+
content:
|
|
518
|
+
application/json:
|
|
519
|
+
schema:
|
|
520
|
+
$ref: definitions/errors/rate_limited.yaml
|
|
521
|
+
tags:
|
|
522
|
+
- End-to-end encryption
|
|
523
|
+
delete:
|
|
524
|
+
x-addedInMatrixVersion: "1.1"
|
|
525
|
+
summary: Delete a key from the backup.
|
|
526
|
+
description: Delete a key from the backup.
|
|
527
|
+
operationId: deleteRoomKeyBySessionId
|
|
528
|
+
security:
|
|
529
|
+
- accessTokenQuery: []
|
|
530
|
+
- accessTokenBearer: []
|
|
531
|
+
parameters:
|
|
532
|
+
- in: query
|
|
533
|
+
name: version
|
|
534
|
+
description: The backup from which to delete the key
|
|
535
|
+
required: true
|
|
536
|
+
example: "1"
|
|
537
|
+
schema:
|
|
538
|
+
type: string
|
|
539
|
+
- in: path
|
|
540
|
+
name: roomId
|
|
541
|
+
description: The ID of the room that the specified key is for.
|
|
542
|
+
required: true
|
|
543
|
+
example: "!roomid:example.org"
|
|
544
|
+
schema:
|
|
545
|
+
type: string
|
|
546
|
+
- in: path
|
|
547
|
+
name: sessionId
|
|
548
|
+
description: The ID of the megolm session whose key is to be deleted.
|
|
549
|
+
required: true
|
|
550
|
+
example: sessionid
|
|
551
|
+
schema:
|
|
552
|
+
type: string
|
|
553
|
+
responses:
|
|
554
|
+
"200":
|
|
555
|
+
description: The update succeeded
|
|
556
|
+
content:
|
|
557
|
+
application/json:
|
|
558
|
+
schema:
|
|
559
|
+
$ref: "#/components/schemas/RoomKeysUpdateResponse"
|
|
560
|
+
"404":
|
|
561
|
+
description: The backup was not found.
|
|
562
|
+
content:
|
|
563
|
+
application/json:
|
|
564
|
+
schema:
|
|
565
|
+
$ref: definitions/errors/error.yaml
|
|
566
|
+
examples:
|
|
567
|
+
response:
|
|
568
|
+
value: {
|
|
569
|
+
"errcode": "M_NOT_FOUND",
|
|
570
|
+
"error": "Unknown backup version"
|
|
571
|
+
}
|
|
572
|
+
"429":
|
|
573
|
+
description: This request was rate-limited.
|
|
574
|
+
content:
|
|
575
|
+
application/json:
|
|
576
|
+
schema:
|
|
577
|
+
$ref: definitions/errors/rate_limited.yaml
|
|
578
|
+
tags:
|
|
579
|
+
- End-to-end encryption
|
|
580
|
+
"/room_keys/keys/{roomId}":
|
|
581
|
+
put:
|
|
582
|
+
x-addedInMatrixVersion: "1.1"
|
|
583
|
+
summary: Store several keys in the backup for a given room.
|
|
584
|
+
description: Store several keys in the backup for a given room.
|
|
585
|
+
operationId: putRoomKeysByRoomId
|
|
586
|
+
security:
|
|
587
|
+
- accessTokenQuery: []
|
|
588
|
+
- accessTokenBearer: []
|
|
589
|
+
parameters:
|
|
590
|
+
- in: query
|
|
591
|
+
name: version
|
|
592
|
+
description: The backup in which to store the keys. Must be the current backup.
|
|
593
|
+
required: true
|
|
594
|
+
example: "1"
|
|
595
|
+
schema:
|
|
596
|
+
type: string
|
|
597
|
+
- in: path
|
|
598
|
+
name: roomId
|
|
599
|
+
description: The ID of the room that the keys are for.
|
|
600
|
+
required: true
|
|
601
|
+
example: "!roomid:example.org"
|
|
602
|
+
schema:
|
|
603
|
+
type: string
|
|
604
|
+
requestBody:
|
|
605
|
+
content:
|
|
606
|
+
application/json:
|
|
607
|
+
schema:
|
|
608
|
+
$ref: definitions/room_key_backup.yaml
|
|
609
|
+
description: The backup data
|
|
610
|
+
required: true
|
|
611
|
+
responses:
|
|
612
|
+
"200":
|
|
613
|
+
description: The update succeeded
|
|
614
|
+
content:
|
|
615
|
+
application/json:
|
|
616
|
+
schema:
|
|
617
|
+
$ref: "#/components/schemas/RoomKeysUpdateResponse"
|
|
618
|
+
"403":
|
|
619
|
+
description: |-
|
|
620
|
+
The version specified does not match the current backup version.
|
|
621
|
+
The current version will be included in the `current_version`
|
|
622
|
+
field.
|
|
623
|
+
content:
|
|
624
|
+
application/json:
|
|
625
|
+
schema:
|
|
626
|
+
$ref: definitions/errors/error.yaml
|
|
627
|
+
examples:
|
|
628
|
+
response:
|
|
629
|
+
value: {
|
|
630
|
+
"errcode": "M_WRONG_ROOM_KEYS_VERSION",
|
|
631
|
+
"error": "Wrong backup version.",
|
|
632
|
+
"current_version": "42"
|
|
633
|
+
}
|
|
634
|
+
"404":
|
|
635
|
+
description: The backup was not found.
|
|
636
|
+
content:
|
|
637
|
+
application/json:
|
|
638
|
+
schema:
|
|
639
|
+
$ref: definitions/errors/error.yaml
|
|
640
|
+
examples:
|
|
641
|
+
response:
|
|
642
|
+
value: {
|
|
643
|
+
"errcode": "M_NOT_FOUND",
|
|
644
|
+
"error": "Unknown backup version"
|
|
645
|
+
}
|
|
646
|
+
"429":
|
|
647
|
+
description: This request was rate-limited.
|
|
648
|
+
content:
|
|
649
|
+
application/json:
|
|
650
|
+
schema:
|
|
651
|
+
$ref: definitions/errors/rate_limited.yaml
|
|
652
|
+
tags:
|
|
653
|
+
- End-to-end encryption
|
|
654
|
+
get:
|
|
655
|
+
x-addedInMatrixVersion: "1.1"
|
|
656
|
+
summary: Retrieve the keys from the backup for a given room.
|
|
657
|
+
description: Retrieve the keys from the backup for a given room.
|
|
658
|
+
operationId: getRoomKeysByRoomId
|
|
659
|
+
security:
|
|
660
|
+
- accessTokenQuery: []
|
|
661
|
+
- accessTokenBearer: []
|
|
662
|
+
parameters:
|
|
663
|
+
- in: query
|
|
664
|
+
name: version
|
|
665
|
+
description: The backup from which to retrieve the key.
|
|
666
|
+
required: true
|
|
667
|
+
example: "1"
|
|
668
|
+
schema:
|
|
669
|
+
type: string
|
|
670
|
+
- in: path
|
|
671
|
+
name: roomId
|
|
672
|
+
description: The ID of the room that the requested key is for.
|
|
673
|
+
required: true
|
|
674
|
+
example: "!roomid:example.org"
|
|
675
|
+
schema:
|
|
676
|
+
type: string
|
|
677
|
+
responses:
|
|
678
|
+
"200":
|
|
679
|
+
description: |-
|
|
680
|
+
The key data. If no keys are found, then an object with an empty
|
|
681
|
+
`sessions` property will be returned (`{"sessions": {}}`).
|
|
682
|
+
content:
|
|
683
|
+
application/json:
|
|
684
|
+
schema:
|
|
685
|
+
type: object
|
|
686
|
+
$ref: definitions/room_key_backup.yaml
|
|
687
|
+
"404":
|
|
688
|
+
description: The backup was not found.
|
|
689
|
+
content:
|
|
690
|
+
application/json:
|
|
691
|
+
schema:
|
|
692
|
+
$ref: definitions/errors/error.yaml
|
|
693
|
+
examples:
|
|
694
|
+
response:
|
|
695
|
+
value: {
|
|
696
|
+
"errcode": "M_NOT_FOUND",
|
|
697
|
+
"error": "Unknown backup version"
|
|
698
|
+
}
|
|
699
|
+
"429":
|
|
700
|
+
description: This request was rate-limited.
|
|
701
|
+
content:
|
|
702
|
+
application/json:
|
|
703
|
+
schema:
|
|
704
|
+
$ref: definitions/errors/rate_limited.yaml
|
|
705
|
+
tags:
|
|
706
|
+
- End-to-end encryption
|
|
707
|
+
delete:
|
|
708
|
+
x-addedInMatrixVersion: "1.1"
|
|
709
|
+
summary: Delete the keys from the backup for a given room.
|
|
710
|
+
description: Delete the keys from the backup for a given room.
|
|
711
|
+
operationId: deleteRoomKeysByRoomId
|
|
712
|
+
security:
|
|
713
|
+
- accessTokenQuery: []
|
|
714
|
+
- accessTokenBearer: []
|
|
715
|
+
parameters:
|
|
716
|
+
- in: query
|
|
717
|
+
name: version
|
|
718
|
+
description: The backup from which to delete the key.
|
|
719
|
+
required: true
|
|
720
|
+
example: "1"
|
|
721
|
+
schema:
|
|
722
|
+
type: string
|
|
723
|
+
- in: path
|
|
724
|
+
name: roomId
|
|
725
|
+
description: The ID of the room that the specified key is for.
|
|
726
|
+
required: true
|
|
727
|
+
example: "!roomid:example.org"
|
|
728
|
+
schema:
|
|
729
|
+
type: string
|
|
730
|
+
responses:
|
|
731
|
+
"200":
|
|
732
|
+
description: The update succeeded
|
|
733
|
+
content:
|
|
734
|
+
application/json:
|
|
735
|
+
schema:
|
|
736
|
+
$ref: "#/components/schemas/RoomKeysUpdateResponse"
|
|
737
|
+
"404":
|
|
738
|
+
description: The backup was not found.
|
|
739
|
+
content:
|
|
740
|
+
application/json:
|
|
741
|
+
schema:
|
|
742
|
+
$ref: definitions/errors/error.yaml
|
|
743
|
+
examples:
|
|
744
|
+
response:
|
|
745
|
+
value: {
|
|
746
|
+
"errcode": "M_NOT_FOUND",
|
|
747
|
+
"error": "Unknown backup version"
|
|
748
|
+
}
|
|
749
|
+
"429":
|
|
750
|
+
description: This request was rate-limited.
|
|
751
|
+
content:
|
|
752
|
+
application/json:
|
|
753
|
+
schema:
|
|
754
|
+
$ref: definitions/errors/rate_limited.yaml
|
|
755
|
+
tags:
|
|
756
|
+
- End-to-end encryption
|
|
757
|
+
/room_keys/keys:
|
|
758
|
+
put:
|
|
759
|
+
x-addedInMatrixVersion: "1.1"
|
|
760
|
+
summary: Store several keys in the backup.
|
|
761
|
+
description: Store several keys in the backup.
|
|
762
|
+
operationId: putRoomKeys
|
|
763
|
+
security:
|
|
764
|
+
- accessTokenQuery: []
|
|
765
|
+
- accessTokenBearer: []
|
|
766
|
+
parameters:
|
|
767
|
+
- in: query
|
|
768
|
+
name: version
|
|
769
|
+
description: The backup in which to store the keys. Must be the current backup.
|
|
770
|
+
required: true
|
|
771
|
+
example: "1"
|
|
772
|
+
schema:
|
|
773
|
+
type: string
|
|
774
|
+
requestBody:
|
|
775
|
+
content:
|
|
776
|
+
application/json:
|
|
777
|
+
schema:
|
|
778
|
+
type: object
|
|
779
|
+
properties:
|
|
780
|
+
rooms:
|
|
781
|
+
type: object
|
|
782
|
+
description: A map of room IDs to room key backup data.
|
|
783
|
+
patternProperties:
|
|
784
|
+
"^!":
|
|
785
|
+
x-pattern-format: mx-room-id
|
|
786
|
+
allOf:
|
|
787
|
+
- $ref: definitions/room_key_backup.yaml
|
|
788
|
+
example:
|
|
789
|
+
"!room:example.org":
|
|
790
|
+
sessions:
|
|
791
|
+
sessionid1:
|
|
792
|
+
first_message_index: 1
|
|
793
|
+
forwarded_count: 0
|
|
794
|
+
is_verified: true
|
|
795
|
+
session_data:
|
|
796
|
+
ephemeral: base64+ephemeral+key
|
|
797
|
+
ciphertext: base64+ciphertext+of+JSON+data
|
|
798
|
+
mac: base64+mac+of+ciphertext
|
|
799
|
+
required:
|
|
800
|
+
- rooms
|
|
801
|
+
description: The backup data.
|
|
802
|
+
required: true
|
|
803
|
+
responses:
|
|
804
|
+
"200":
|
|
805
|
+
description: The update succeeded
|
|
806
|
+
content:
|
|
807
|
+
application/json:
|
|
808
|
+
schema:
|
|
809
|
+
$ref: "#/components/schemas/RoomKeysUpdateResponse"
|
|
810
|
+
"403":
|
|
811
|
+
description: |-
|
|
812
|
+
The version specified does not match the current backup version.
|
|
813
|
+
The current version will be included in the `current_version`
|
|
814
|
+
field.
|
|
815
|
+
content:
|
|
816
|
+
application/json:
|
|
817
|
+
schema:
|
|
818
|
+
$ref: definitions/errors/error.yaml
|
|
819
|
+
examples:
|
|
820
|
+
response:
|
|
821
|
+
value: {
|
|
822
|
+
"errcode": "M_WRONG_ROOM_KEYS_VERSION",
|
|
823
|
+
"error": "Wrong backup version.",
|
|
824
|
+
"current_version": "42"
|
|
825
|
+
}
|
|
826
|
+
"404":
|
|
827
|
+
description: The backup was not found.
|
|
828
|
+
content:
|
|
829
|
+
application/json:
|
|
830
|
+
schema:
|
|
831
|
+
$ref: definitions/errors/error.yaml
|
|
832
|
+
examples:
|
|
833
|
+
response:
|
|
834
|
+
value: {
|
|
835
|
+
"errcode": "M_NOT_FOUND",
|
|
836
|
+
"error": "Unknown backup version"
|
|
837
|
+
}
|
|
838
|
+
"429":
|
|
839
|
+
description: This request was rate-limited.
|
|
840
|
+
content:
|
|
841
|
+
application/json:
|
|
842
|
+
schema:
|
|
843
|
+
$ref: definitions/errors/rate_limited.yaml
|
|
844
|
+
tags:
|
|
845
|
+
- End-to-end encryption
|
|
846
|
+
get:
|
|
847
|
+
x-addedInMatrixVersion: "1.1"
|
|
848
|
+
summary: Retrieve the keys from the backup.
|
|
849
|
+
description: Retrieve the keys from the backup.
|
|
850
|
+
operationId: getRoomKeys
|
|
851
|
+
security:
|
|
852
|
+
- accessTokenQuery: []
|
|
853
|
+
- accessTokenBearer: []
|
|
854
|
+
parameters:
|
|
855
|
+
- in: query
|
|
856
|
+
name: version
|
|
857
|
+
description: The backup from which to retrieve the keys.
|
|
858
|
+
required: true
|
|
859
|
+
example: "1"
|
|
860
|
+
schema:
|
|
861
|
+
type: string
|
|
862
|
+
responses:
|
|
863
|
+
"200":
|
|
864
|
+
description: |-
|
|
865
|
+
The key data. If no keys are found, then an object with an empty
|
|
866
|
+
`rooms` property will be returned (`{"rooms": {}}`).
|
|
867
|
+
content:
|
|
868
|
+
application/json:
|
|
869
|
+
schema:
|
|
870
|
+
type: object
|
|
871
|
+
properties:
|
|
872
|
+
rooms:
|
|
873
|
+
type: object
|
|
874
|
+
description: A map of room IDs to room key backup data.
|
|
875
|
+
patternProperties:
|
|
876
|
+
"^!":
|
|
877
|
+
x-pattern-format: mx-room-id
|
|
878
|
+
allOf:
|
|
879
|
+
- $ref: definitions/room_key_backup.yaml
|
|
880
|
+
example:
|
|
881
|
+
"!room:example.org":
|
|
882
|
+
sessions:
|
|
883
|
+
sessionid1:
|
|
884
|
+
first_message_index: 1
|
|
885
|
+
forwarded_count: 0
|
|
886
|
+
is_verified: true
|
|
887
|
+
session_data:
|
|
888
|
+
ephemeral: base64+ephemeral+key
|
|
889
|
+
ciphertext: base64+ciphertext+of+JSON+data
|
|
890
|
+
mac: base64+mac+of+ciphertext
|
|
891
|
+
required:
|
|
892
|
+
- rooms
|
|
893
|
+
"404":
|
|
894
|
+
description: The backup was not found.
|
|
895
|
+
content:
|
|
896
|
+
application/json:
|
|
897
|
+
schema:
|
|
898
|
+
$ref: definitions/errors/error.yaml
|
|
899
|
+
examples:
|
|
900
|
+
response:
|
|
901
|
+
value: {
|
|
902
|
+
"errcode": "M_NOT_FOUND",
|
|
903
|
+
"error": "Unknown backup version."
|
|
904
|
+
}
|
|
905
|
+
"429":
|
|
906
|
+
description: This request was rate-limited.
|
|
907
|
+
content:
|
|
908
|
+
application/json:
|
|
909
|
+
schema:
|
|
910
|
+
$ref: definitions/errors/rate_limited.yaml
|
|
911
|
+
tags:
|
|
912
|
+
- End-to-end encryption
|
|
913
|
+
delete:
|
|
914
|
+
x-addedInMatrixVersion: "1.1"
|
|
915
|
+
summary: Delete the keys from the backup.
|
|
916
|
+
description: Delete the keys from the backup.
|
|
917
|
+
operationId: deleteRoomKeys
|
|
918
|
+
security:
|
|
919
|
+
- accessTokenQuery: []
|
|
920
|
+
- accessTokenBearer: []
|
|
921
|
+
parameters:
|
|
922
|
+
- in: query
|
|
923
|
+
name: version
|
|
924
|
+
description: The backup from which to delete the key
|
|
925
|
+
required: true
|
|
926
|
+
example: "1"
|
|
927
|
+
schema:
|
|
928
|
+
type: string
|
|
929
|
+
responses:
|
|
930
|
+
"200":
|
|
931
|
+
description: The update succeeded
|
|
932
|
+
content:
|
|
933
|
+
application/json:
|
|
934
|
+
schema:
|
|
935
|
+
$ref: "#/components/schemas/RoomKeysUpdateResponse"
|
|
936
|
+
"404":
|
|
937
|
+
description: The backup was not found.
|
|
938
|
+
content:
|
|
939
|
+
application/json:
|
|
940
|
+
schema:
|
|
941
|
+
$ref: definitions/errors/error.yaml
|
|
942
|
+
examples:
|
|
943
|
+
response:
|
|
944
|
+
value: {
|
|
945
|
+
"errcode": "M_NOT_FOUND",
|
|
946
|
+
"error": "Unknown backup version"
|
|
947
|
+
}
|
|
948
|
+
"429":
|
|
949
|
+
description: This request was rate-limited.
|
|
950
|
+
content:
|
|
951
|
+
application/json:
|
|
952
|
+
schema:
|
|
953
|
+
$ref: definitions/errors/rate_limited.yaml
|
|
954
|
+
tags:
|
|
955
|
+
- End-to-end encryption
|
|
956
|
+
servers:
|
|
957
|
+
- url: "{protocol}://{hostname}{basePath}"
|
|
958
|
+
variables:
|
|
959
|
+
protocol:
|
|
960
|
+
enum:
|
|
961
|
+
- http
|
|
962
|
+
- https
|
|
963
|
+
default: https
|
|
964
|
+
hostname:
|
|
965
|
+
default: localhost:8008
|
|
966
|
+
basePath:
|
|
967
|
+
default: /_matrix/client/v3
|
|
968
|
+
components:
|
|
969
|
+
schemas:
|
|
970
|
+
RoomKeysUpdateResponse:
|
|
971
|
+
type: object
|
|
972
|
+
title: RoomKeysUpdateResponse
|
|
973
|
+
properties:
|
|
974
|
+
etag:
|
|
975
|
+
description: |-
|
|
976
|
+
The new etag value representing stored keys in the backup.
|
|
977
|
+
|
|
978
|
+
See [`GET /room_keys/version/{version}`](client-server-api/#get_matrixclientv3room_keysversionversion)
|
|
979
|
+
for more details.
|
|
980
|
+
type: string
|
|
981
|
+
example: abcdefg
|
|
982
|
+
count:
|
|
983
|
+
description: The number of keys stored in the backup
|
|
984
|
+
type: integer
|
|
985
|
+
example: 10
|
|
986
|
+
required:
|
|
987
|
+
- etag
|
|
988
|
+
- count
|
|
989
|
+
securitySchemes:
|
|
990
|
+
accessTokenQuery:
|
|
991
|
+
$ref: definitions/security.yaml#/accessTokenQuery
|
|
992
|
+
accessTokenBearer:
|
|
993
|
+
$ref: definitions/security.yaml#/accessTokenBearer
|