← Back to catalog

Other

API for the COVID-19 Tracking QR Code Signin Server.

auto-generated
swirls add c19qrserver
actionPOSTv1.0.0

Create a user

Use this endpoint to create a team member (user) record

Source
actionDELETEv1.0.0

Delete a team member's user record

To preserve referential integrity in the database, the user account will not be deleted from the database. Rather, the password will be set to the empty string, effectively preventing that user from logging in. Furthermore, all active sessions for that user will be deleted, as will any password reset tokens.

Source
actionGETv1.0.0

Get signin info

Returns a list of signin objects sorted by signin ID descending.

Source
actionPOSTv1.0.0

Log out

Log out by deleting your token off the server.

Source
actionPOSTv1.0.0

post_signin

Create a new signin record

Source
actionPOSTv1.0.0

Used for requesting a password reset code

The admin should run this on behalf of a user who forgot their password. The API will generate a password reset code which the admin should then provide to the user. The user can use their client to reset their password. Normally the password reset code is mailed to the user, but I didn't want to do this in this case because I didn't want to introduce the complicated dependency of having an SMTP server just for this purpose. Doing it this way makes it easy for people to adopt this API.

Source
actionPOSTv1.0.0

Used for resetting your password when you forgot it

Another endpoint will generate a password reset code for you. You should use the client app to submit the reset code along with the new password to change your password.

Source
Beyond the catalog

Any provider, on request.

01

Request it

Tell us which provider you need, and we will ship it in the registry.

02

Generate it

Point swirls add at an OpenAPI or GraphQL spec. Typed actions for any API you hold credentials for, today.

acme · integrations
terminal
~/acme $swirls add linear
✓ 12 typed actions · scopes and schemas included
 
~/acme $swirls add https://api.acme.dev/openapi.json
◆ Fetched spec · 38 operations
✓ 6 typed actions · generated from spec