This endpoint is used to login to the Flylogs API. It requires an email and password, and optionally a two-factor authentication code if enabled. The response will include a token for subsequent requests if successful.
Body
emailstring · emailOptional
passwordstringOptional
codestringOptional
Responses
200
Successful login
application/json
400
Bad Request
application/json
post
/users/login.json
Logout
get
This endpoint logs the user out of the Flylogs API by invalidating their session or token, ensuring secure termination of access.
Responses
200
Logout
application/json
get
/users/logout.json
200
Logout
Password recover
post
Responses
200
Password recover
application/json
post
/users/password_recover.json
200
Password recover
View My Account
get
Responses
200
View
application/json
get
/users/edit.json
200
View
Edit My Account
post
Responses
200
Edit My Account
application/json
post
/users/edit.json
200
Edit My Account
ACL
get
Responses
200
ACLs
application/json
get
/user_groups/permissions.json
200
ACLs
ACL Check
post
Responses
200
ACL Check
application/json
Responseboolean
post
/user_groups/permissions.json
200
ACL Check
Index
get
Responses
200
List
application/json
get
/aircraft/index.json
200
List
View
get
Responses
200
View
application/json
get
/aircraft/view/36.json
200
View
List
get
Responses
200
List
application/json
get
/flights/load.json
200
List
List of filtered flights
get
Retrieve a list of flights filtered by various parameters such as page, date range, aircraft, pilot, base, and flight type.