Get virtual airline information
GET/v2/virtual-airline
Get virtual airline information. This method does not require authentication.
Responses
- 200
- default
OK
- application/json
- Schema
- Example (from schema)
Schema
virtualAirline
object
A VirtualAirline resource represents a virtual airline. All methods in the API operate on a single virtual airline.
The name of the virtual airline. Example: Star Alliance Virtual
The main website URL of the virtual airline. Example: https://staralliancevirtual.org
{
"virtualAirline": {
"name": "string",
"url": "string"
}
}
Default error response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details
object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}