{ "opencollection": "1.0.0", "info": { "name": "Unlock Locksmith Applications Ticket API", "version": "2" }, "items": [ { "info": { "name": "Ticket", "type": "folder" }, "items": [ { "info": { "name": "signTicket", "type": "http" }, "http": { "method": "GET", "url": "https://locksmith.unlock-protocol.com/v2/api/ticket/:network/:lockAddress/:keyId/sign", "params": [ { "name": "network", "value": "", "type": "path", "description": "Network id." }, { "name": "lockAddress", "value": "", "type": "path", "description": "Lock address." }, { "name": "keyId", "value": "", "type": "path", "description": "Key Id." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Generate signature to prove validity of token." }, { "info": { "name": "checkTicket", "type": "http" }, "http": { "method": "PUT", "url": "https://locksmith.unlock-protocol.com/v2/api/ticket/:network/lock/:lockAddress/key/:keyId/check", "params": [ { "name": "network", "value": "", "type": "path", "description": "Network id." }, { "name": "lockAddress", "value": "", "type": "path", "description": "Lock address." }, { "name": "keyId", "value": "", "type": "path", "description": "Key Id." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Mark a lock ticket as checked in." }, { "info": { "name": "checkEventTicket", "type": "http" }, "http": { "method": "PUT", "url": "https://locksmith.unlock-protocol.com/v2/api/ticket/:slug/:network/lock/:lockAddress/key/:keyId/check", "params": [ { "name": "slug", "value": "", "type": "path", "description": "Slug" }, { "name": "network", "value": "", "type": "path", "description": "Network id." }, { "name": "lockAddress", "value": "", "type": "path", "description": "Lock address." }, { "name": "keyId", "value": "", "type": "path", "description": "Key Id." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Mark an event ticket as checked in." }, { "info": { "name": "getEventTicket", "type": "http" }, "http": { "method": "GET", "url": "https://locksmith.unlock-protocol.com/v2/api/ticket/:slug/:network/lock/:lockAddress/key/:keyId", "params": [ { "name": "slug", "value": "", "type": "path", "description": "Slug" }, { "name": "network", "value": "", "type": "path", "description": "Network id." }, { "name": "lockAddress", "value": "", "type": "path", "description": "Lock address." }, { "name": "keyId", "value": "", "type": "path", "description": "Key Id." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "get a ticket for a key by event." }, { "info": { "name": "emailTicket", "type": "http" }, "http": { "method": "POST", "url": "https://locksmith.unlock-protocol.com/v2/api/ticket/:network/:lockAddress/:keyId/email", "params": [ { "name": "network", "value": "", "type": "path", "description": "Network id." }, { "name": "lockAddress", "value": "", "type": "path", "description": "Lock address." }, { "name": "keyId", "value": "", "type": "path", "description": "Key Id." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Send QR code by email." }, { "info": { "name": "ticketQRCode", "type": "http" }, "http": { "method": "GET", "url": "https://locksmith.unlock-protocol.com/v2/api/ticket/:network/:lockAddress/:keyId/qr", "params": [ { "name": "network", "value": "", "type": "path", "description": "Network id." }, { "name": "lockAddress", "value": "", "type": "path", "description": "Lock address." }, { "name": "keyId", "value": "", "type": "path", "description": "Key Id." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get QR code for the key." }, { "info": { "name": "ticketVerificationUrl", "type": "http" }, "http": { "method": "GET", "url": "https://locksmith.unlock-protocol.com/v2/api/ticket/:network/:lockAddress/:keyId/verification", "params": [ { "name": "network", "value": "", "type": "path", "description": "Network id." }, { "name": "lockAddress", "value": "", "type": "path", "description": "Lock address." }, { "name": "keyId", "value": "", "type": "path", "description": "Key Id." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get the verification URL for the key." }, { "info": { "name": "generateTicket", "type": "http" }, "http": { "method": "GET", "url": "https://locksmith.unlock-protocol.com/v2/api/ticket/:network/lock/:lockAddress/key/:keyId/generate", "params": [ { "name": "network", "value": "", "type": "path", "description": "Network id." }, { "name": "lockAddress", "value": "", "type": "path", "description": "Lock address." }, { "name": "keyId", "value": "", "type": "path", "description": "Key Id." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Generate a ticket for a key." }, { "info": { "name": "getTicket", "type": "http" }, "http": { "method": "GET", "url": "https://locksmith.unlock-protocol.com/v2/api/ticket/:network/lock/:lockAddress/key/:keyId", "params": [ { "name": "network", "value": "", "type": "path", "description": "Network id." }, { "name": "lockAddress", "value": "", "type": "path", "description": "Lock address." }, { "name": "keyId", "value": "", "type": "path", "description": "Key Id." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "get a ticket for a key by lock." } ] } ], "bundled": true }