We want to
The desired API endpoint:
- HTTP GET
- input parameter: SSH fingerprint (string)
- This endpoint takes in an SSH fingerprint, goes through the list of users in mulysa and finds all the users whose SSH public key match the provided fingerprint
- returns either
- 200 with a list of SSH public keys and information about the corresponding users such as username and whether they have door access
- 400 invalid fingerprint or something like that
We want to
The desired API endpoint: