-
Notifications
You must be signed in to change notification settings - Fork 0
Datafeed API
Nikolas Görlitz edited this page Jun 12, 2023
·
4 revisions
Every response includes an extra flag failed
which indicates whether the last update made by the server was successful, or whether the datafeed failed to update. If failed
is true, then the previously cached datafeed is returned as the response in data
. All responses return the latest (cached) version of the Datafeed!
Returns the entire datafeed.
Response:
{
data: DatafeedModel,
failed: boolean
}
Returns the general section of the datafeed.
Response:
{
data: DatafeedModelGeneral,
controller_length: number,
pilots_length: number,
atis_length: number,
failed: boolean
}
Returns all controllers of the datafeed.
Response:
{
data: Array<DatafeedModelController>,
length: number,
failed: boolean
}
Returns all pilots of the datafeed.
Response:
{
data: Array<DatafeedModelPilot>,
length: number,
failed: boolean
}
Returns all ATIS positions of the datafeed.
Response:
{
data: Array<DatafeedModelAtis>,
length: number,
failed: boolean
}
Returns all servers of the datafeed.
Response:
{
data: Array<DatafeedModelServer>,
length: number,
failed: boolean
}
Returns all pilot ratings of the datafeed.
Response:
{
data: Array<DatafeedModelPilotRating>
length: number,
failed: boolean
}
Returns all military ratings of the datafeed.
Response:
{
data: Array<DatafeedModelMilitaryRating>
length: number,
failed: boolean
}