{"components":{"schemas":{"Account":{"properties":{"createdAt":{"format":"int64","type":"integer"},"id":{"type":"string"},"quotaBytes":{"format":"int64","type":"integer"},"revision":{"format":"int64","type":"integer"},"usedBytes":{"format":"int64","type":"integer"},"wrappedMasterKey":{"type":"string"}},"required":["createdAt","id","quotaBytes","revision","usedBytes","wrappedMasterKey"],"type":"object"},"Approval":{"properties":{"exchangeKey":{"type":"string"},"name":{"type":"string"},"sealed":{"type":"string"},"webKey":{"type":"string"}},"required":["exchangeKey","name","sealed","webKey"],"type":"object"},"Approve":{"properties":{"sealed":{"type":"string"}},"required":["sealed"],"type":"object"},"AvatarDone":{"properties":{"version":{"type":"string"}},"required":["version"],"type":"object"},"Challenge":{"properties":{"challenge":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"format":{"type":"string"}},"required":["challenge","expiresAt","format"],"type":"object"},"Changes":{"properties":{"hasMore":{"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/VaultItem"},"type":["array","null"]},"latest":{"format":"int64","type":"integer"}},"required":["hasMore","items","latest"],"type":"object"},"Companies":{"properties":{"companies":{"items":{"$ref":"#/components/schemas/Membership"},"type":["array","null"]}},"required":["companies"],"type":"object"},"Confirm":{"properties":{"challenge":{"type":"string"},"signature":{"type":"string"}},"required":["challenge","signature"],"type":"object"},"Created":{"properties":{"id":{"type":"string"}},"required":["id"],"type":"object"},"Device":{"properties":{"platform":{"type":"string"},"token":{"type":"string"}},"required":["platform","token"],"type":"object"},"Done":{"properties":{"ok":{"type":"boolean"}},"required":["ok"],"type":"object"},"Employee":{"properties":{"id":{"type":"string"},"inboxKey":{"type":"string"},"joinedAt":{"format":"date-time","type":"string"},"name":{"type":"string"},"personnelNo":{"type":"string"}},"required":["id","inboxKey","joinedAt","name","personnelNo"],"type":"object"},"Error":{"properties":{"message":{"type":"string"}},"required":["message"],"type":"object"},"Exchange":{"properties":{"code":{"type":"string"},"verifier":{"type":"string"}},"required":["code","verifier"],"type":"object"},"Info":{"properties":{"accounts":{"type":"boolean"},"apiVersion":{"format":"int64","type":"integer"},"maxFileBytes":{"format":"int64","type":"integer"},"name":{"type":"string"},"product":{"type":"string"},"publicUrl":{"type":"string"},"quotaBytes":{"format":"int64","type":"integer"},"registration":{"type":"string"},"stats":{"anyOf":[{"$ref":"#/components/schemas/Stats"},{"type":"null"}]},"version":{"type":"string"}},"required":["accounts","apiVersion","maxFileBytes","name","product","publicUrl","quotaBytes","registration","version"],"type":"object"},"Invitation":{"properties":{"company":{"type":"string"},"employee":{"type":"string"}},"required":["company","employee"],"type":"object"},"Item":{"properties":{"company":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"size":{"format":"int64","type":"integer"}},"required":["company","createdAt","id","size"],"type":"object"},"ItemDone":{"properties":{"ok":{"type":"boolean"}},"required":["ok"],"type":"object"},"Items":{"properties":{"items":{"items":{"$ref":"#/components/schemas/Item"},"type":["array","null"]}},"required":["items"],"type":"object"},"Join":{"properties":{"inboxKey":{"type":"string"},"token":{"type":"string"}},"required":["inboxKey","token"],"type":"object"},"LeaveDone":{"properties":{"ok":{"type":"boolean"}},"required":["ok"],"type":"object"},"List":{"properties":{"company":{"type":"string"},"employees":{"items":{"$ref":"#/components/schemas/Employee"},"type":["array","null"]}},"required":["company","employees"],"type":"object"},"Me":{"properties":{"avatarVersion":{"type":"string"},"devices":{"items":{"$ref":"#/components/schemas/UsersDevice"},"type":["array","null"]},"email":{"type":"string"},"name":{"type":"string"},"vaultId":{"type":"string"},"verified":{"type":"boolean"}},"required":["devices","email","name","verified"],"type":"object"},"Membership":{"properties":{"company":{"type":"string"},"id":{"type":"string"},"inboxToken":{"type":"string"},"joinedAt":{"format":"date-time","type":"string"}},"required":["company","id","joinedAt"],"type":"object"},"MetaUpdate":{"properties":{"baseRevision":{"format":"int64","type":"integer"},"meta":{"type":"string"}},"required":["baseRevision","meta"],"type":"object"},"NewAccount":{"properties":{"id":{"type":"string"},"invite":{"type":"string"},"publicKey":{"type":"string"},"wrappedMasterKey":{"type":"string"}},"required":["id","publicKey","wrappedMasterKey"],"type":"object"},"OneDone":{"properties":{"ok":{"type":"boolean"}},"required":["ok"],"type":"object"},"Pairing":{"properties":{"createdAt":{"format":"date-time","type":"string"},"device":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"publicKey":{"type":"string"},"sealed":{"type":"string"}},"required":["createdAt","device","expiresAt","id","publicKey"],"type":"object"},"PairingDone":{"properties":{"ok":{"type":"boolean"}},"required":["ok"],"type":"object"},"Passkey":{"properties":{"credentialId":{"type":"string"},"wrapped":{"type":"string"}},"required":["credentialId","wrapped"],"type":"object"},"PasskeyDone":{"properties":{"ok":{"type":"boolean"}},"required":["ok"],"type":"object"},"Registered":{"properties":{"ntfy":{"type":"string"},"ok":{"type":"boolean"}},"required":["ok"],"type":"object"},"Release":{"properties":{"sha256":{"type":"string"},"size":{"format":"int64","type":"integer"},"url":{"type":"string"},"version":{"type":"string"}},"required":["sha256","size","url","version"],"type":"object"},"Request":{"properties":{"accountId":{"type":"string"}},"required":["accountId"],"type":"object"},"Rotation":{"properties":{"challenge":{"type":"string"},"publicKey":{"type":"string"},"signature":{"type":"string"},"wrappedMasterKey":{"type":"string"}},"required":["challenge","publicKey","signature","wrappedMasterKey"],"type":"object"},"Session":{"properties":{"createdAt":{"format":"date-time","type":"string"},"current":{"type":"boolean"},"deviceName":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"lastUsedAt":{"format":"date-time","type":"string"}},"required":["createdAt","current","deviceName","expiresAt","id","lastUsedAt"],"type":"object"},"Share":{"properties":{"createdAt":{"format":"date-time","type":"string"},"expiresAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"live":{"type":"boolean"},"maxViews":{"format":"int64","type":["integer","null"]},"revokedAt":{"format":"date-time","type":["string","null"]},"size":{"format":"int64","type":"integer"},"views":{"format":"int64","type":"integer"}},"required":["createdAt","expiresAt","id","live","size","views"],"type":"object"},"ShareDone":{"properties":{"ok":{"type":"boolean"}},"required":["ok"],"type":"object"},"SharesList":{"properties":{"shares":{"items":{"$ref":"#/components/schemas/Share"},"type":["array","null"]}},"required":["shares"],"type":"object"},"SignIn":{"properties":{"accountId":{"type":"string"},"challenge":{"type":"string"},"deviceName":{"type":"string"},"signature":{"type":"string"},"webKeyId":{"type":"string"}},"required":["accountId","challenge","deviceName","signature","webKeyId"],"type":"object"},"SignedIn":{"properties":{"session":{"$ref":"#/components/schemas/Session"},"token":{"type":"string"}},"required":["session","token"],"type":"object"},"SigningKey":{"properties":{"createdAt":{"format":"date-time","type":"string"},"encryptedKey":{"type":"string"},"fingerprint":{"type":"string"},"publicKey":{"type":"string"}},"required":["createdAt","encryptedKey","fingerprint","publicKey"],"type":"object"},"Start":{"properties":{"device":{"type":"string"},"publicKey":{"type":"string"}},"required":["device","publicKey"],"type":"object"},"Stats":{"properties":{"accounts":{"format":"int64","type":"integer"},"availability":{"type":"number"},"documents":{"format":"int64","type":"integer"},"onlineSince":{"format":"date-time","type":"string"},"usedBytes":{"format":"int64","type":"integer"}},"required":["accounts","availability","documents","onlineSince","usedBytes"],"type":"object"},"Token":{"properties":{"token":{"type":"string"}},"required":["token"],"type":"object"},"Unlock":{"properties":{"accountId":{"type":"string"},"webKeyId":{"type":"string"},"wrapped":{"type":"string"}},"required":["accountId","webKeyId","wrapped"],"type":"object"},"UsersDevice":{"properties":{"createdAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"lastUsedAt":{"format":"date-time","type":"string"},"name":{"type":"string"}},"required":["createdAt","id","lastUsedAt","name"],"type":"object"},"VaultItem":{"properties":{"blobHash":{"type":"string"},"blobSize":{"format":"int64","type":"integer"},"deleted":{"type":"boolean"},"id":{"type":"string"},"meta":{"type":"string"},"revision":{"format":"int64","type":"integer"},"updatedAt":{"format":"int64","type":"integer"}},"required":["blobSize","deleted","id","revision","updatedAt"],"type":"object"},"Waiting":{"properties":{"pairings":{"items":{"$ref":"#/components/schemas/Pairing"},"type":["array","null"]}},"required":["pairings"],"type":"object"},"WebKey":{"properties":{"createdAt":{"format":"date-time","type":"string"},"hasPasskey":{"type":"boolean"},"id":{"type":"string"},"lastUsedAt":{"format":"date-time","type":["string","null"]},"name":{"type":"string"}},"required":["createdAt","hasPasskey","id","name"],"type":"object"},"WebkeyDone":{"properties":{"ok":{"type":"boolean"}},"required":["ok"],"type":"object"},"WebkeysList":{"properties":{"webKeys":{"items":{"$ref":"#/components/schemas/WebKey"},"type":["array","null"]}},"required":["webKeys"],"type":"object"},"WebkeysPairing":{"properties":{"expiresAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"sealed":{"type":"string"},"webKeyId":{"type":"string"}},"required":["expiresAt","id"],"type":"object"},"WebpairStart":{"properties":{"exchangeKey":{"type":"string"},"webKey":{"type":"string"}},"required":["exchangeKey","webKey"],"type":"object"}}},"info":{"title":"Papierhafen API","version":"0.1.0"},"openapi":"3.1.0","paths":{"/api/v1/account":{"get":{"operationId":"getApiV1Account","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/account/delete":{"post":{"operationId":"postApiV1AccountDelete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Confirm"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{},"type":"object"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/account/key":{"put":{"operationId":"putApiV1AccountKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Rotation"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{},"type":"object"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/account/sessions":{"get":{"operationId":"getApiV1AccountSessions","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Session"},"type":["array","null"]}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/account/sessions/{id}":{"delete":{"operationId":"deleteApiV1AccountSessionsId","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{},"type":"object"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/accounts":{"post":{"operationId":"postApiV1Accounts","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewAccount"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Created"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/apps/mac":{"get":{"operationId":"getApiV1AppsMac","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Release"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/auth/challenge":{"post":{"operationId":"postApiV1AuthChallenge","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Request"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Challenge"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/auth/session":{"delete":{"operationId":"deleteApiV1AuthSession","responses":{"200":{"content":{"application/json":{"schema":{"properties":{},"type":"object"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}},"post":{"operationId":"postApiV1AuthSession","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignedIn"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/connect/token":{"post":{"operationId":"postApiV1ConnectToken","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Exchange"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Token"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/employer":{"get":{"operationId":"getApiV1Employer","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Companies"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/employer/invite":{"get":{"operationId":"getApiV1EmployerInvite","parameters":[{"in":"query","name":"token","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invitation"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/employer/join":{"post":{"operationId":"postApiV1EmployerJoin","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Join"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Membership"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/employer/{id}":{"delete":{"operationId":"deleteApiV1EmployerId","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaveDone"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/inbox":{"get":{"operationId":"getApiV1Inbox","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Items"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/inbox/push":{"delete":{"operationId":"deleteApiV1InboxPush","parameters":[{"in":"query","name":"token","schema":{"type":"string"}},{"in":"query","name":"platform","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Done"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}},"post":{"operationId":"postApiV1InboxPush","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Device"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Registered"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/inbox/{id}":{"delete":{"operationId":"deleteApiV1InboxId","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemDone"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/items":{"get":{"operationId":"getApiV1Items","parameters":[{"in":"query","name":"since","schema":{"format":"int64","type":"integer"}},{"in":"query","name":"limit","schema":{"format":"int64","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Changes"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/items/{id}":{"delete":{"operationId":"deleteApiV1ItemsId","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VaultItem"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}},"put":{"operationId":"putApiV1ItemsId","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetaUpdate"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VaultItem"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/me":{"get":{"operationId":"getApiV1Me","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Me"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/me/avatar":{"delete":{"operationId":"deleteApiV1MeAvatar","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvatarDone"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/pairing":{"get":{"operationId":"getApiV1Pairing","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Waiting"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}},"post":{"operationId":"postApiV1Pairing","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Start"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pairing"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/pairing/{id}":{"delete":{"operationId":"deleteApiV1PairingId","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OneDone"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}},"get":{"operationId":"getApiV1PairingId","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pairing"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}},"put":{"operationId":"putApiV1PairingId","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Approve"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OneDone"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/payroll/employees":{"get":{"operationId":"getApiV1PayrollEmployees","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/List"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/payroll/signing-key":{"get":{"operationId":"getApiV1PayrollSigningKey","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SigningKey"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/server":{"get":{"operationId":"getApiV1Server","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Info"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/shares":{"get":{"operationId":"getApiV1Shares","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharesList"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/shares/{id}":{"delete":{"operationId":"deleteApiV1SharesId","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShareDone"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/webkeys":{"get":{"operationId":"getApiV1Webkeys","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebkeysList"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/webkeys/credential/{credentialId}":{"get":{"operationId":"getApiV1WebkeysCredentialCredentialId","parameters":[{"in":"path","name":"credentialId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unlock"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/webkeys/{id}":{"delete":{"operationId":"deleteApiV1WebkeysId","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebkeyDone"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/webkeys/{id}/passkey":{"put":{"operationId":"putApiV1WebkeysIdPasskey","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Passkey"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyDone"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/webpair":{"post":{"operationId":"postApiV1Webpair","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebpairStart"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebkeysPairing"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}},"/api/v1/webpair/{id}":{"get":{"operationId":"getApiV1WebpairId","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebkeysPairing"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}},"put":{"operationId":"putApiV1WebpairId","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Approval"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PairingDone"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An error"}}}}}}
