Expand description
Each operation’s identity as data: one Operation constant per operation, named for
its client method in upper case. Every request an operation method or request builder
builds carries its Operation among its extensions, so a transport backend can tell
operations apart without parsing paths.
Structs§
- Operation
- One operation’s identity: its id, HTTP method and path template, as the description declares them.
Constants§
- ABORT_
ALBUM_ UPGRADE abort_album_upgrade:DELETE /v1/albums/{album_id}/upgrade.- ADOPT_
DROP adopt_drop:POST /v1/drops/{drop_id}/adopt.- ALBUM_
LIFECYCLE_ OP album_lifecycle_op:POST /v1/albums/{album_id}/ops.- ALBUM_
UPGRADE_ PHASE album_upgrade_phase:GET /v1/albums/{album_id}/upgrade.- APPEND_
CHUNK append_chunk:PATCH /v1/upload/{id}.- APPEND_
DROP_ CHUNK append_drop_chunk:PATCH /d/{opaque_id}/{upload_id}.- ATTESTATION_
KEYS attestation_keys:GET /.well-known/capsule/attestation-keys.- BEGIN_
OIDC_ DEVICE_ LOGIN begin_oidc_device_login:POST /v1/auth/oidc/device.- BEGIN_
OIDC_ LOGIN begin_oidc_login:POST /v1/auth/oidc/authorize.- CANCEL_
UPLOAD cancel_upload:DELETE /v1/upload/{id}.- CHANGE_
PASSWORD change_password:POST /v1/auth/password.- CLOSE_
ENROLLMENT_ CHANNEL close_enrollment_channel:DELETE /v1/auth/devices/enroll/channel/{channel_id}.- COMPLETE_
OIDC_ LOGIN complete_oidc_login:POST /v1/auth/oidc/callback.- CREATE_
DROP create_drop:POST /d/{opaque_id}.- CREATE_
UPLOAD create_upload:POST /v1/upload.- DEPRECATION_
ANNOUNCEMENTS deprecation_announcements:GET /.well-known/capsule/deprecation.- DISCARD_
DROP discard_drop:DELETE /v1/drops/{drop_id}.- DRAIN_
ENROLLMENT_ CHANNEL drain_enrollment_channel:GET /v1/auth/devices/enroll/channel/{channel_id}.- DROP_
STATUS drop_status:GET /d/{opaque_id}/{upload_id}.- FETCH_
ESCROW fetch_escrow:GET /v1/auth/escrow.- FETCH_
SEALED_ IDENTITY fetch_sealed_identity:GET /v1/auth/escrow/identity.- GET_
ASSET_ RECEIPTS get_asset_receipts:GET /v1/assets/{asset_id}/receipts.- GET_
BLOB get_blob:GET /v1/blob/{hash}.- GET_
PROFILE get_profile:GET /v1/auth/profile.- GET_
PULLED_ ASSET_ METADATA get_pulled_asset_metadata:GET /v1/federation/subscriptions/{peer}/{album_id}/assets/{asset_id}/metadata.- GET_
QUOTA get_quota:GET /v1/quota.- GET_
VERSION get_version:GET /v1/version.- HEAD_
UPLOAD head_upload:HEAD /v1/upload/{id}.- ISSUE_
CAPABILITY issue_capability:POST /v1/albums/{album_id}/capabilities.- ISSUE_
ENROLLMENT_ CODE issue_enrollment_code:POST /v1/auth/devices/enroll.- ISSUE_
SHARE issue_share:POST /v1/shares.- LIST_
ACTIVITY list_activity:GET /v1/auth/activity.- LIST_
ALBUM_ KEYS list_album_keys:GET /v1/auth/escrow/albums.- LIST_
DEVICES list_devices:GET /v1/auth/devices.- LIST_
INBOX list_inbox:GET /v1/drops.- LIST_
PULLED_ ASSETS list_pulled_assets:GET /v1/federation/subscriptions/{peer}/{album_id}/assets.- LIST_
SUBSCRIPTIONS list_subscriptions:GET /v1/federation/subscriptions.- LIST_
UPLOAD_ SESSIONS list_upload_sessions:GET /v1/upload/sessions.- LOGIN_
USER login_user:POST /v1/auth/login.- LOGOUT
logout:POST /v1/auth/logout.- MODERATION_
RECORD moderation_record:GET /v1/moderation/record.- POLL_
OIDC_ DEVICE_ LOGIN poll_oidc_device_login:POST /v1/auth/oidc/device/poll.- PROVISION_
ALBUM provision_album:POST /v1/albums.- PROVISION_
LINK provision_link:POST /v1/drops/links.- PUBLISH_
ALBUM_ ROSTER publish_album_roster:PUT /v1/albums/{album_id}/roster.- REANNOUNCE_
MANIFESTS reannounce_manifests:POST /v1/sync/reannounce.- REAUTHENTICATE
reauthenticate:POST /v1/auth/reauthenticate.- REDEEM_
ENROLLMENT_ CODE redeem_enrollment_code:POST /v1/auth/devices/enroll/redeem.- REFRESH_
CAPABILITY refresh_capability:POST /v1/federation/capabilities/refresh.- REFRESH_
TOKEN refresh_token:POST /v1/auth/refresh.- REGISTER_
USER register_user:POST /v1/auth/register.- RELAY_
ENROLLMENT_ PAYLOAD relay_enrollment_payload:POST /v1/auth/devices/enroll/channel/{channel_id}.- REVOKED_
JTI revoked_jti:GET /.well-known/capsule/revoked-jti.- REVOKE_
ALL revoke_all:POST /v1/auth/logout/all.- REVOKE_
ALL_ CHALLENGE revoke_all_challenge:POST /v1/auth/logout/all/challenge.- REVOKE_
CAPABILITY revoke_capability:DELETE /v1/albums/{album_id}/capabilities/{jti}.- REVOKE_
LINK revoke_link:DELETE /v1/drops/links/{opaque_id}.- REVOKE_
SESSION revoke_session:DELETE /v1/auth/devices/{session_id}.- REVOKE_
SHARE revoke_share:DELETE /v1/shares/{opaque_id}.- SERVER_
INFO server_info:GET /.well-known/capsule/server-info.- SHARE_
BLOB share_blob:GET /s/{opaque_id}/blob/{hash}.- SHARE_
METADATA share_metadata:GET /s/{opaque_id}.- SHARE_
WRAPPED_ SECRET share_wrapped_secret:GET /s/{opaque_id}/wrapped-secret.- STORE_
ALBUM_ KEYS store_album_keys:PUT /v1/auth/escrow/albums/{album_id}.- STORE_
ESCROW store_escrow:PUT /v1/auth/escrow.- STORE_
SEALED_ IDENTITY store_sealed_identity:PUT /v1/auth/escrow/identity.- SUBMIT_
FEDERATED_ REPORT submit_federated_report:POST /v1/federation/reports.- SUBMIT_
PULL_ HINT submit_pull_hint:POST /v1/federation/hints.- SUBSCRIBE_
ALBUM subscribe_album:POST /v1/federation/subscriptions.- SYNC_
FEED sync_feed:GET /v1/sync.- TOTP_
DISABLE totp_disable:POST /v1/auth/totp/disable.- TOTP_
ENROLL totp_enroll:POST /v1/auth/totp/enroll.- TOTP_
VERIFY_ ENROLLMENT totp_verify_enrollment:POST /v1/auth/totp/verify-enrollment.- TOTP_
VERIFY_ LOGIN totp_verify_login:POST /v1/auth/login/verify-totp.- UNSUBSCRIBE_
ALBUM unsubscribe_album:DELETE /v1/federation/subscriptions/{peer}/{album_id}.- UPDATE_
PROFILE update_profile:PATCH /v1/auth/profile.- VERIFY_
STORAGE verify_storage:POST /v1/storage/verify.