cal.pub0.org/pages/api/api-keys/[id]
Omar López d35f27014e
Implements API key endpoint (#211)
This allow us to manage our API keys directly from the API itself.

User can:
- Create own API keys
- Edit own API keys (only the note field for now)
- Delete own API keys
- Get own API keys

Admin can:
- CRUD for any user
- Get all API keys
2022-11-29 15:06:23 -07:00
..
_auth-middleware.ts Implements API key endpoint (#211) 2022-11-29 15:06:23 -07:00
_delete.ts Implements API key endpoint (#211) 2022-11-29 15:06:23 -07:00
_get.ts Implements API key endpoint (#211) 2022-11-29 15:06:23 -07:00
_patch.ts Implements API key endpoint (#211) 2022-11-29 15:06:23 -07:00
index.ts Implements API key endpoint (#211) 2022-11-29 15:06:23 -07:00