This API is not for public consumption.
Get Statistics
POST/pegasus/v1/stats
Required attributes
- Name
application_key
- Type
- string
- Description
- Name
api_key
- Type
- string
- Description
- Name
airline_id
- Type
- string
- Description
Invalid Application key
{
"status": 401,
"message": "INVALID_APPLICATION"
}
Invalid User API Token
{
"status": 401,
"message": "INVALID_TOKEN"
}
Invalid Airline ID
{
"status": 400,
"message": "INVALID_AIRLINE_ID"
}
User not member of Airline
{
"status": 403,
"message": "NO_AIRLINE_MEMBERSHIP"
}
Success Response
{
"status": 200,
"message": "OK",
"stats": {
"hours": "01:15:15",
"pireps": 3,
"landing_rate": -150,
"total_points": 500,
"time_flown": {
"hours": 1,
"minutes": 15,
"seconds": 15
}
}
}
Get Pilot Details
POST/pegasus/v1/pilot
Required attributes
- Name
application_key
- Type
- string
- Description
- Name
api_key
- Type
- string
- Description
- Name
airline_id
- Type
- string
- Description
Invalid Application key
{
"status": 401,
"message": "INVALID_APPLICATION"
}
Invalid User API Token
{
"status": 401,
"message": "INVALID_TOKEN"
}
Invalid Airline ID
{
"status": 400,
"message": "INVALID_AIRLINE_ID"
}
User not member of Airline
{
"status": 403,
"message": "NO_AIRLINE_MEMBERSHIP"
}
Success Response
{
"status": 200,
"message": "OK",
"username": "FWI-Lukas",
"member_since": "2025-03-24T18:03:02.000000Z",
"rank": {
"id": 22476,
"name": "Cadet",
"image": "https:\/\/cdn.vamsys.xyz\/rank_icons\/01JQMWRY2KXRF9REGHJTBK9GDN.jpeg"
},
"honorary_rank": null | same as "rank",
"alerts": [
{
"id": 2171,
"start_showing": "2024-09-26 03:12:27",
"stop_showing": null,
"title": "Welcome!",
"content": "<p><ins>Policies and Requirements:<\/ins><br \/>\nFound on <ins><strong><a href=\"https:\/\/goole.com\/docs\/AAL\/home\">SABRE<\/a><\/strong><\/ins>, please be sure to read the Flight Operations Manual before flying.\n<br \/><br \/>\n<ins>Activity Requirement:<\/ins><br \/>\nWe require one flight filed via Pegasus within your first ten days after joining. After that, we require one flight every 90 days, filed via Pegasus, with a 10 day grace period. Manual PIREPs do not count towards the activity requirement, only PIREPs filed via Pegasus.\n<br \/><br \/>\n<ins>We'd like to get to know you!<\/ins><br \/>\nPlease be sure to join our Discord -- <ins><strong><a href=\"https:\/\/discord.gg\/123\">click here<\/a><\/strong><\/ins> for the invite! Our Discord is the best way to get to know the other members of <strong>vAAL<\/strong>, to ask questions, and to keep up with the latest announcements!<\/p>\n",
"content_markdown": "<ins>Policies and Requirements:<\/ins> \nFound on <ins>**[SABRE](https:\/\/google.com\/docs\/AAL\/home)**<\/ins>, please be sure to read the Flight Operations Manual before flying.\n<br \/><br \/>\n<ins>Activity Requirement:<\/ins> \nWe require one flight filed via Pegasus within your first ten days after joining. After that, we require one flight every 90 days, filed via Pegasus, with a 10 day grace period. Manual PIREPs do not count towards the activity requirement, only PIREPs filed via Pegasus.\n<br \/><br \/>\n<ins>We'd like to get to know you!<\/ins> \nPlease be sure to join our Discord -- <ins>**[click here](https:\/\/discord.gg\/123)**<\/ins> for the invite! Our Discord is the best way to get to know the other members of **vAAL**, to ask questions, and to keep up with the latest announcements! ",
"type": "info"
}
]
}