Pilot
Credentials sign-in
Exchange a pilot's username (pilot ID or email) and password for an API key. Returns the full pilot session including the token field that the client uses on every subsequent request as a Bearer token.
post/pilot/login
Request
- Base URLhttps://crew.example.com/api/stratos
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"username": "QFA0001"
}Response
Credentials accepted.
Example response
{
"pilot_id": "QFA0001",
"rank": "First Officer"
}Changes
No recorded changes to this operation across all 2 revisions of this API.