add profile stats screencb7378da year ago2465 lines · 65.0 KB | 1 | { |
| 2 | "openapi": "3.0.0", |
| 3 | "paths": |
| 4 | "/v1": |
| 5 | "get": |
| 6 | "operationId": |
| 7 | "parameters": |
| 8 | "responses": |
| 9 | "200": |
| 10 | "description": |
| 11 | }, |
| 12 | "500": |
| 13 | "description": |
| 14 | "content": |
| 15 | "application/json": |
| 16 | "schema": |
| 17 | "$ref": |
| 18 | } |
| 19 | } |
| 20 | } |
| 21 | } |
| 22 | }, |
| 23 | "security": |
| 24 | { |
| 25 | "JWT-auth": |
| 26 | } |
| 27 | ], |
| 28 | "tags": |
| 29 | "App" |
| 30 | ] |
| 31 | } |
| 32 | }, |
| 33 | "/v1/auth/login": |
| 34 | "post": |
| 35 | "description": |
| 36 | "operationId": |
| 37 | "parameters": |
| 38 | "requestBody": |
| 39 | "required": |
| 40 | "content": |
| 41 | "application/json": |
| 42 | "schema": |
| 43 | "$ref": |
| 44 | } |
| 45 | } |
| 46 | } |
| 47 | }, |
| 48 | "responses": |
| 49 | "201": |
| 50 | "description": |
| 51 | "content": |
| 52 | "application/json": |
| 53 | "schema": |
| 54 | "$ref": |
| 55 | } |
| 56 | } |
| 57 | } |
| 58 | }, |
| 59 | "401": |
| 60 | "description": |
| 61 | "content": |
| 62 | "application/json": |
| 63 | "schema": |
| 64 | "$ref": |
| 65 | } |
| 66 | } |
| 67 | } |
| 68 | }, |
| 69 | "404": |
| 70 | "description": |
| 71 | "content": |
| 72 | "application/json": |
| 73 | "schema": |
| 74 | "$ref": |
| 75 | } |
| 76 | } |
| 77 | } |
| 78 | }, |
| 79 | "500": |
| 80 | "description": |
| 81 | "content": |
| 82 | "application/json": |
| 83 | "schema": |
| 84 | "$ref": |
| 85 | } |
| 86 | } |
| 87 | } |
| 88 | } |
| 89 | }, |
| 90 | "security": |
| 91 | { |
| 92 | "bearer": |
| 93 | } |
| 94 | ], |
| 95 | "summary": |
| 96 | "tags": |
| 97 | "Authentication" |
| 98 | ] |
| 99 | } |
| 100 | }, |
| 101 | "/v1/auth/register": |
| 102 | "post": |
| 103 | "description": |
| 104 | "operationId": |
| 105 | "parameters": |
| 106 | "requestBody": |
| 107 | "required": |
| 108 | "content": |
| 109 | "application/json": |
| 110 | "schema": |
| 111 | "$ref": |
| 112 | } |
| 113 | } |
| 114 | } |
| 115 | }, |
| 116 | "responses": |
| 117 | "201": |
| 118 | "description": |
| 119 | "content": |
| 120 | "application/json": |
| 121 | "schema": |
| 122 | "$ref": |
| 123 | } |
| 124 | } |
| 125 | } |
| 126 | }, |
| 127 | "409": |
| 128 | "description": |
| 129 | "content": |
| 130 | "application/json": |
| 131 | "schema": |
| 132 | "$ref": |
| 133 | } |
| 134 | } |
| 135 | } |
| 136 | }, |
| 137 | "500": |
| 138 | "description": |
| 139 | "content": |
| 140 | "application/json": |
| 141 | "schema": |
| 142 | "$ref": |
| 143 | } |
| 144 | } |
| 145 | } |
| 146 | } |
| 147 | }, |
| 148 | "security": |
| 149 | { |
| 150 | "bearer": |
| 151 | } |
| 152 | ], |
| 153 | "summary": |
| 154 | "tags": |
| 155 | "Authentication" |
| 156 | ] |
| 157 | } |
| 158 | }, |
| 159 | "/v1/auth/@me": |
| 160 | "get": |
| 161 | "description": |
| 162 | "operationId": |
| 163 | "parameters": |
| 164 | "responses": |
| 165 | "200": |
| 166 | "description": |
| 167 | "content": |
| 168 | "application/json": |
| 169 | "schema": |
| 170 | "$ref": |
| 171 | } |
| 172 | } |
| 173 | } |
| 174 | }, |
| 175 | "404": |
| 176 | "description": |
| 177 | "content": |
| 178 | "application/json": |
| 179 | "schema": |
| 180 | "$ref": |
| 181 | } |
| 182 | } |
| 183 | } |
| 184 | }, |
| 185 | "500": |
| 186 | "description": |
| 187 | "content": |
| 188 | "application/json": |
| 189 | "schema": |
| 190 | "$ref": |
| 191 | } |
| 192 | } |
| 193 | } |
| 194 | } |
| 195 | }, |
| 196 | "security": |
| 197 | { |
| 198 | "bearer": |
| 199 | }, |
| 200 | { |
| 201 | "JWT-auth": |
| 202 | } |
| 203 | ], |
| 204 | "summary": |
| 205 | "tags": |
| 206 | "Authentication" |
| 207 | ] |
| 208 | } |
| 209 | }, |
| 210 | "/v1/airports": |
| 211 | "get": |
| 212 | "description": |
| 213 | "operationId": |
| 214 | "parameters": |
| 215 | { |
| 216 | "name": |
| 217 | "required": |
| 218 | "in": |
| 219 | "description": |
| 220 | "schema": |
| 221 | "example": |
| 222 | "type": |
| 223 | } |
| 224 | } |
| 225 | ], |
| 226 | "responses": |
| 227 | "200": |
| 228 | "description": |
| 229 | "content": |
| 230 | "application/json": |
| 231 | "schema": |
| 232 | "type": |
| 233 | "items": |
| 234 | "$ref": |
| 235 | } |
| 236 | } |
| 237 | } |
| 238 | } |
| 239 | }, |
| 240 | "500": |
| 241 | "description": |
| 242 | "content": |
| 243 | "application/json": |
| 244 | "schema": |
| 245 | "$ref": |
| 246 | } |
| 247 | } |
| 248 | } |
| 249 | } |
| 250 | }, |
| 251 | "security": |
| 252 | { |
| 253 | "bearer": |
| 254 | } |
| 255 | ], |
| 256 | "summary": |
| 257 | "tags": |
| 258 | "Airports" |
| 259 | ] |
| 260 | } |
| 261 | }, |
| 262 | "/v1/airlines": |
| 263 | "get": |
| 264 | "description": |
| 265 | "operationId": |
| 266 | "parameters": |
| 267 | { |
| 268 | "name": |
| 269 | "required": |
| 270 | "in": |
| 271 | "description": |
| 272 | "schema": |
| 273 | "type": |
| 274 | } |
| 275 | } |
| 276 | ], |
| 277 | "responses": |
| 278 | "200": |
| 279 | "description": |
| 280 | "content": |
| 281 | "application/json": |
| 282 | "schema": |
| 283 | "type": |
| 284 | "items": |
| 285 | "$ref": |
| 286 | } |
| 287 | } |
| 288 | } |
| 289 | } |
| 290 | }, |
| 291 | "500": |
| 292 | "description": |
| 293 | "content": |
| 294 | "application/json": |
| 295 | "schema": |
| 296 | "$ref": |
| 297 | } |
| 298 | } |
| 299 | } |
| 300 | } |
| 301 | }, |
| 302 | "security": |
| 303 | { |
| 304 | "bearer": |
| 305 | } |
| 306 | ], |
| 307 | "summary": |
| 308 | "tags": |
| 309 | "Airlines" |
| 310 | ] |
| 311 | } |
| 312 | }, |
| 313 | "/v1/flights/airline": |
| 314 | "post": |
| 315 | "description": |
| 316 | "operationId": |
| 317 | "parameters": |
| 318 | "requestBody": |
| 319 | "required": |
| 320 | "content": |
| 321 | "application/json": |
| 322 | "schema": |
| 323 | "$ref": |
| 324 | } |
| 325 | } |
| 326 | } |
| 327 | }, |
| 328 | "responses": |
| 329 | "200": |
| 330 | "description": |
| 331 | "content": |
| 332 | "application/json": |
| 333 | "schema": |
| 334 | "$ref": |
| 335 | } |
| 336 | } |
| 337 | } |
| 338 | }, |
| 339 | "404": |
| 340 | "description": |
| 341 | "content": |
| 342 | "application/json": |
| 343 | "schema": |
| 344 | "$ref": |
| 345 | } |
| 346 | } |
| 347 | } |
| 348 | }, |
| 349 | "500": |
| 350 | "description": |
| 351 | "content": |
| 352 | "application/json": |
| 353 | "schema": |
| 354 | "$ref": |
| 355 | } |
| 356 | } |
| 357 | } |
| 358 | } |
| 359 | }, |
| 360 | "security": |
| 361 | { |
| 362 | "JWT-auth": |
| 363 | } |
| 364 | ], |
| 365 | "summary": |
| 366 | "tags": |
| 367 | "Flights" |
| 368 | ] |
| 369 | } |
| 370 | }, |
| 371 | "/v1/flights": |
| 372 | "get": |
| 373 | "description": |
| 374 | "operationId": |
| 375 | "parameters": |
| 376 | { |
| 377 | "name": |
| 378 | "required": |
| 379 | "in": |
| 380 | "description": |
| 381 | "schema": |
| 382 | "example": |
| 383 | "type": |
| 384 | } |
| 385 | }, |
| 386 | { |
| 387 | "name": |
| 388 | "required": |
| 389 | "in": |
| 390 | "description": |
| 391 | "schema": |
| 392 | "example": |
| 393 | "type": |
| 394 | } |
| 395 | }, |
| 396 | { |
| 397 | "name": |
| 398 | "required": |
| 399 | "in": |
| 400 | "description": |
| 401 | "schema": |
| 402 | "example": |
| 403 | "type": |
| 404 | } |
| 405 | } |
| 406 | ], |
| 407 | "responses": |
| 408 | "200": |
| 409 | "description": |
| 410 | "content": |
| 411 | "application/json": |
| 412 | "schema": |
| 413 | "$ref": |
| 414 | } |
| 415 | } |
| 416 | } |
| 417 | }, |
| 418 | "401": |
| 419 | "description": |
| 420 | "content": |
| 421 | "application/json": |
| 422 | "schema": |
| 423 | "$ref": |
| 424 | } |
| 425 | } |
| 426 | } |
| 427 | }, |
| 428 | "500": |
| 429 | "description": |
| 430 | "content": |
| 431 | "application/json": |
| 432 | "schema": |
| 433 | "$ref": |
| 434 | } |
| 435 | } |
| 436 | } |
| 437 | } |
| 438 | }, |
| 439 | "security": |
| 440 | { |
| 441 | "JWT-auth": |
| 442 | } |
| 443 | ], |
| 444 | "summary": |
| 445 | "tags": |
| 446 | "Flights" |
| 447 | ] |
| 448 | } |
| 449 | }, |
| 450 | "/v1/flights/bounds": |
| 451 | "get": |
| 452 | "deprecated": |
| 453 | "description": |
| 454 | "operationId": |
| 455 | "parameters": |
| 456 | { |
| 457 | "name": |
| 458 | "required": |
| 459 | "in": |
| 460 | "description": |
| 461 | "schema": |
| 462 | "minimum": |
| 463 | "maximum": |
| 464 | "example": |
| 465 | "type": |
| 466 | } |
| 467 | }, |
| 468 | { |
| 469 | "name": |
| 470 | "required": |
| 471 | "in": |
| 472 | "description": |
| 473 | "schema": |
| 474 | "minimum": |
| 475 | "maximum": |
| 476 | "example": |
| 477 | "type": |
| 478 | } |
| 479 | }, |
| 480 | { |
| 481 | "name": |
| 482 | "required": |
| 483 | "in": |
| 484 | "description": |
| 485 | "schema": |
| 486 | "minimum": |
| 487 | "maximum": |
| 488 | "example": |
| 489 | "type": |
| 490 | } |
| 491 | }, |
| 492 | { |
| 493 | "name": |
| 494 | "required": |
| 495 | "in": |
| 496 | "description": |
| 497 | "schema": |
| 498 | "minimum": |
| 499 | "maximum": |
| 500 | "example": |
| 501 | "type": |
| 502 | } |
| 503 | } |
| 504 | ], |
| 505 | "responses": |
| 506 | "200": |
| 507 | "description": |
| 508 | "content": |
| 509 | "application/json": |
| 510 | "schema": |
| 511 | "type": |
| 512 | "properties": |
| 513 | "success": |
| 514 | "type": |
| 515 | }, |
| 516 | "timestamp": |
| 517 | "type": |
| 518 | "format": |
| 519 | }, |
| 520 | "bounds": |
| 521 | "type": |
| 522 | "properties": |
| 523 | "minLat": |
| 524 | "type": |
| 525 | }, |
| 526 | "maxLat": |
| 527 | "type": |
| 528 | }, |
| 529 | "minLng": |
| 530 | "type": |
| 531 | }, |
| 532 | "maxLng": |
| 533 | "type": |
| 534 | } |
| 535 | } |
| 536 | }, |
| 537 | "totalAircraft": |
| 538 | "type": |
| 539 | }, |
| 540 | "airborneAircraft": |
| 541 | "type": |
| 542 | }, |
| 543 | "flights": |
| 544 | "type": |
| 545 | "items": |
| 546 | "type": |
| 547 | "properties": |
| 548 | "ident_icao": |
| 549 | "type": |
| 550 | "nullable": |
| 551 | }, |
| 552 | "ident_iata": |
| 553 | "type": |
| 554 | "nullable": |
| 555 | }, |
| 556 | "callsign": |
| 557 | "type": |
| 558 | "nullable": |
| 559 | }, |
| 560 | "latitude": |
| 561 | "type": |
| 562 | "nullable": |
| 563 | }, |
| 564 | "longitude": |
| 565 | "type": |
| 566 | "nullable": |
| 567 | }, |
| 568 | "altitude": |
| 569 | "type": |
| 570 | "nullable": |
| 571 | }, |
| 572 | "velocity": |
| 573 | "type": |
| 574 | "nullable": |
| 575 | }, |
| 576 | "heading": |
| 577 | "type": |
| 578 | "nullable": |
| 579 | }, |
| 580 | "verticalRate": |
| 581 | "type": |
| 582 | "nullable": |
| 583 | }, |
| 584 | "lastContact": |
| 585 | "type": |
| 586 | "format": |
| 587 | }, |
| 588 | "isOnGround": |
| 589 | "type": |
| 590 | }, |
| 591 | "aircraftType": |
| 592 | "type": |
| 593 | "nullable": |
| 594 | }, |
| 595 | "aircraftTypeFaa": |
| 596 | "type": |
| 597 | "nullable": |
| 598 | }, |
| 599 | "aircraftFamily": |
| 600 | "type": |
| 601 | "nullable": |
| 602 | }, |
| 603 | "manufacturer": |
| 604 | "type": |
| 605 | "nullable": |
| 606 | }, |
| 607 | "model": |
| 608 | "type": |
| 609 | "nullable": |
| 610 | }, |
| 611 | "engineType": |
| 612 | "type": |
| 613 | "nullable": |
| 614 | }, |
| 615 | "engineCount": |
| 616 | "type": |
| 617 | "nullable": |
| 618 | }, |
| 619 | "wakeTurbulenceCategory": |
| 620 | "type": |
| 621 | "nullable": |
| 622 | }, |
| 623 | "aircraftId": |
| 624 | "type": |
| 625 | "nullable": |
| 626 | }, |
| 627 | "aircraftRegistration": |
| 628 | "type": |
| 629 | "nullable": |
| 630 | }, |
| 631 | "ownerIcao": |
| 632 | "type": |
| 633 | "nullable": |
| 634 | }, |
| 635 | "ownerIata": |
| 636 | "type": |
| 637 | "nullable": |
| 638 | }, |
| 639 | "ownerName": |
| 640 | "type": |
| 641 | "nullable": |
| 642 | }, |
| 643 | "operator": |
| 644 | "type": |
| 645 | "nullable": |
| 646 | }, |
| 647 | "operatorIcao": |
| 648 | "type": |
| 649 | "nullable": |
| 650 | }, |
| 651 | "operatorIata": |
| 652 | "type": |
| 653 | "nullable": |
| 654 | }, |
| 655 | "operatorCountry": |
| 656 | "type": |
| 657 | "nullable": |
| 658 | }, |
| 659 | "origin": |
| 660 | "type": |
| 661 | "nullable": |
| 662 | "properties": |
| 663 | "code": |
| 664 | "type": |
| 665 | "nullable": |
| 666 | }, |
| 667 | "codeIcao": |
| 668 | "type": |
| 669 | "nullable": |
| 670 | }, |
| 671 | "codeIata": |
| 672 | "type": |
| 673 | "nullable": |
| 674 | }, |
| 675 | "name": |
| 676 | "type": |
| 677 | "nullable": |
| 678 | }, |
| 679 | "city": |
| 680 | "type": |
| 681 | "nullable": |
| 682 | }, |
| 683 | "timezone": |
| 684 | "type": |
| 685 | "nullable": |
| 686 | } |
| 687 | } |
| 688 | }, |
| 689 | "destination": |
| 690 | "type": |
| 691 | "nullable": |
| 692 | "properties": |
| 693 | "code": |
| 694 | "type": |
| 695 | "nullable": |
| 696 | }, |
| 697 | "codeIcao": |
| 698 | "type": |
| 699 | "nullable": |
| 700 | }, |
| 701 | "codeIata": |
| 702 | "type": |
| 703 | "nullable": |
| 704 | }, |
| 705 | "name": |
| 706 | "type": |
| 707 | "nullable": |
| 708 | }, |
| 709 | "city": |
| 710 | "type": |
| 711 | "nullable": |
| 712 | }, |
| 713 | "timezone": |
| 714 | "type": |
| 715 | "nullable": |
| 716 | } |
| 717 | } |
| 718 | }, |
| 719 | "status": |
| 720 | "type": |
| 721 | "nullable": |
| 722 | }, |
| 723 | "progressPercent": |
| 724 | "type": |
| 725 | "nullable": |
| 726 | }, |
| 727 | "routeDistance": |
| 728 | "type": |
| 729 | "nullable": |
| 730 | }, |
| 731 | "filedAirspeedKts": |
| 732 | "type": |
| 733 | "nullable": |
| 734 | }, |
| 735 | "filedAltitude": |
| 736 | "type": |
| 737 | "nullable": |
| 738 | }, |
| 739 | "scheduledOff": |
| 740 | "type": |
| 741 | "nullable": |
| 742 | }, |
| 743 | "scheduledOn": |
| 744 | "type": |
| 745 | "nullable": |
| 746 | }, |
| 747 | "estimatedOff": |
| 748 | "type": |
| 749 | "nullable": |
| 750 | }, |
| 751 | "estimatedOn": |
| 752 | "type": |
| 753 | "nullable": |
| 754 | }, |
| 755 | "actualOff": |
| 756 | "type": |
| 757 | "nullable": |
| 758 | }, |
| 759 | "actualOn": |
| 760 | "type": |
| 761 | "nullable": |
| 762 | }, |
| 763 | "departureDelay": |
| 764 | "type": |
| 765 | "nullable": |
| 766 | }, |
| 767 | "arrivalDelay": |
| 768 | "type": |
| 769 | "nullable": |
| 770 | }, |
| 771 | "gateOrigin": |
| 772 | "type": |
| 773 | "nullable": |
| 774 | }, |
| 775 | "gateDestination": |
| 776 | "type": |
| 777 | "nullable": |
| 778 | }, |
| 779 | "terminalOrigin": |
| 780 | "type": |
| 781 | "nullable": |
| 782 | }, |
| 783 | "terminalDestination": |
| 784 | "type": |
| 785 | "nullable": |
| 786 | }, |
| 787 | "route": |
| 788 | "type": |
| 789 | "nullable": |
| 790 | }, |
| 791 | "type": |
| 792 | "type": |
| 793 | "nullable": |
| 794 | } |
| 795 | } |
| 796 | } |
| 797 | } |
| 798 | } |
| 799 | } |
| 800 | } |
| 801 | } |
| 802 | }, |
| 803 | "401": |
| 804 | "description": |
| 805 | "content": |
| 806 | "application/json": |
| 807 | "schema": |
| 808 | "$ref": |
| 809 | } |
| 810 | } |
| 811 | } |
| 812 | }, |
| 813 | "500": |
| 814 | "description": |
| 815 | "content": |
| 816 | "application/json": |
| 817 | "schema": |
| 818 | "$ref": |
| 819 | } |
| 820 | } |
| 821 | } |
| 822 | } |
| 823 | }, |
| 824 | "security": |
| 825 | { |
| 826 | "JWT-auth": |
| 827 | } |
| 828 | ], |
| 829 | "summary": |
| 830 | "tags": |
| 831 | "Flights" |
| 832 | ] |
| 833 | } |
| 834 | }, |
| 835 | "/v1/flights/tracked": |
| 836 | "get": |
| 837 | "description": |
| 838 | "operationId": |
| 839 | "parameters": |
| 840 | "responses": |
| 841 | "200": |
| 842 | "description": |
| 843 | "content": |
| 844 | "application/json": |
| 845 | "schema": |
| 846 | "$ref": |
| 847 | } |
| 848 | } |
| 849 | } |
| 850 | }, |
| 851 | "401": |
| 852 | "description": |
| 853 | "content": |
| 854 | "application/json": |
| 855 | "schema": |
| 856 | "$ref": |
| 857 | } |
| 858 | } |
| 859 | } |
| 860 | }, |
| 861 | "500": |
| 862 | "description": |
| 863 | "content": |
| 864 | "application/json": |
| 865 | "schema": |
| 866 | "$ref": |
| 867 | } |
| 868 | } |
| 869 | } |
| 870 | } |
| 871 | }, |
| 872 | "security": |
| 873 | { |
| 874 | "JWT-auth": |
| 875 | } |
| 876 | ], |
| 877 | "summary": |
| 878 | "tags": |
| 879 | "Flights" |
| 880 | ] |
| 881 | } |
| 882 | }, |
| 883 | "/v1/flight/track": |
| 884 | "get": |
| 885 | "description": |
| 886 | "operationId": |
| 887 | "parameters": |
| 888 | { |
| 889 | "name": |
| 890 | "required": |
| 891 | "in": |
| 892 | "description": |
| 893 | "schema": |
| 894 | "example": |
| 895 | "type": |
| 896 | } |
| 897 | }, |
| 898 | { |
| 899 | "name": |
| 900 | "required": |
| 901 | "in": |
| 902 | "description": |
| 903 | "schema": |
| 904 | "example": |
| 905 | "type": |
| 906 | } |
| 907 | }, |
| 908 | { |
| 909 | "name": |
| 910 | "required": |
| 911 | "in": |
| 912 | "description": |
| 913 | "schema": |
| 914 | "example": |
| 915 | "type": |
| 916 | } |
| 917 | }, |
| 918 | { |
| 919 | "name": |
| 920 | "required": |
| 921 | "in": |
| 922 | "description": |
| 923 | "schema": |
| 924 | "example": |
| 925 | "type": |
| 926 | } |
| 927 | } |
| 928 | ], |
| 929 | "responses": |
| 930 | "200": |
| 931 | "description": |
| 932 | "content": |
| 933 | "application/json": |
| 934 | "schema": |
| 935 | "$ref": |
| 936 | } |
| 937 | } |
| 938 | } |
| 939 | }, |
| 940 | "400": |
| 941 | "description": |
| 942 | "content": |
| 943 | "application/json": |
| 944 | "schema": |
| 945 | "$ref": |
| 946 | } |
| 947 | } |
| 948 | } |
| 949 | }, |
| 950 | "401": |
| 951 | "description": |
| 952 | "content": |
| 953 | "application/json": |
| 954 | "schema": |
| 955 | "$ref": |
| 956 | } |
| 957 | } |
| 958 | } |
| 959 | }, |
| 960 | "500": |
| 961 | "description": |
| 962 | "content": |
| 963 | "application/json": |
| 964 | "schema": |
| 965 | "$ref": |
| 966 | } |
| 967 | } |
| 968 | } |
| 969 | } |
| 970 | }, |
| 971 | "security": |
| 972 | { |
| 973 | "JWT-auth": |
| 974 | } |
| 975 | ], |
| 976 | "summary": |
| 977 | "tags": |
| 978 | "Flight" |
| 979 | ] |
| 980 | } |
| 981 | }, |
| 982 | "/v1/flight": |
| 983 | "get": |
| 984 | "description": |
| 985 | "operationId": |
| 986 | "parameters": |
| 987 | { |
| 988 | "name": |
| 989 | "required": |
| 990 | "in": |
| 991 | "description": |
| 992 | "schema": |
| 993 | "example": |
| 994 | "type": |
| 995 | } |
| 996 | }, |
| 997 | { |
| 998 | "name": |
| 999 | "required": |
| 1000 | "in": |
| 1001 | "description": |
| 1002 | "schema": |
| 1003 | "example": |
| 1004 | "type": |
| 1005 | } |
| 1006 | }, |
| 1007 | { |
| 1008 | "name": |
| 1009 | "required": |
| 1010 | "in": |
| 1011 | "description": |
| 1012 | "schema": |
| 1013 | "example": |
| 1014 | "type": |
| 1015 | } |
| 1016 | }, |
| 1017 | { |
| 1018 | "name": |
| 1019 | "required": |
| 1020 | "in": |
| 1021 | "description": |
| 1022 | "schema": |
| 1023 | "type": |
| 1024 | } |
| 1025 | }, |
| 1026 | { |
| 1027 | "name": |
| 1028 | "required": |
| 1029 | "in": |
| 1030 | "description": |
| 1031 | "schema": |
| 1032 | "default": |
| 1033 | "type": |
| 1034 | } |
| 1035 | } |
| 1036 | ], |
| 1037 | "responses": |
| 1038 | "200": |
| 1039 | "description": |
| 1040 | "content": |
| 1041 | "application/json": |
| 1042 | "schema": |
| 1043 | "$ref": |
| 1044 | } |
| 1045 | } |
| 1046 | } |
| 1047 | }, |
| 1048 | "400": |
| 1049 | "description": |
| 1050 | "content": |
| 1051 | "application/json": |
| 1052 | "schema": |
| 1053 | "$ref": |
| 1054 | } |
| 1055 | } |
| 1056 | } |
| 1057 | }, |
| 1058 | "401": |
| 1059 | "description": |
| 1060 | "content": |
| 1061 | "application/json": |
| 1062 | "schema": |
| 1063 | "$ref": |
| 1064 | } |
| 1065 | } |
| 1066 | } |
| 1067 | }, |
| 1068 | "500": |
| 1069 | "description": |
| 1070 | "content": |
| 1071 | "application/json": |
| 1072 | "schema": |
| 1073 | "$ref": |
| 1074 | } |
| 1075 | } |
| 1076 | } |
| 1077 | } |
| 1078 | }, |
| 1079 | "security": |
| 1080 | { |
| 1081 | "JWT-auth": |
| 1082 | } |
| 1083 | ], |
| 1084 | "summary": |
| 1085 | "tags": |
| 1086 | "Flight" |
| 1087 | ] |
| 1088 | } |
| 1089 | }, |
| 1090 | "/v1/profile/@me": |
| 1091 | "get": |
| 1092 | "description": |
| 1093 | "operationId": |
| 1094 | "parameters": |
| 1095 | "responses": |
| 1096 | "200": |
| 1097 | "description": |
| 1098 | "content": |
| 1099 | "application/json": |
| 1100 | "schema": |
| 1101 | "$ref": |
| 1102 | } |
| 1103 | } |
| 1104 | } |
| 1105 | }, |
| 1106 | "401": |
| 1107 | "description": |
| 1108 | "content": |
| 1109 | "application/json": |
| 1110 | "schema": |
| 1111 | "$ref": |
| 1112 | } |
| 1113 | } |
| 1114 | } |
| 1115 | }, |
| 1116 | "500": |
| 1117 | "description": |
| 1118 | "content": |
| 1119 | "application/json": |
| 1120 | "schema": |
| 1121 | "$ref": |
| 1122 | } |
| 1123 | } |
| 1124 | } |
| 1125 | } |
| 1126 | }, |
| 1127 | "security": |
| 1128 | { |
| 1129 | "JWT-auth": |
| 1130 | } |
| 1131 | ], |
| 1132 | "summary": |
| 1133 | "tags": |
| 1134 | "Profile" |
| 1135 | ] |
| 1136 | } |
| 1137 | } |
| 1138 | }, |
| 1139 | "info": |
| 1140 | "title": |
| 1141 | "description": |
| 1142 | "version": |
| 1143 | "contact": |
| 1144 | }, |
| 1145 | "tags": |
| 1146 | "servers": |
| 1147 | "components": |
| 1148 | "securitySchemes": |
| 1149 | "JWT-auth": |
| 1150 | "scheme": |
| 1151 | "bearerFormat": |
| 1152 | "type": |
| 1153 | } |
| 1154 | }, |
| 1155 | "schemas": |
| 1156 | "LoginDTO": |
| 1157 | "type": |
| 1158 | "properties": |
| 1159 | "email": |
| 1160 | "type": |
| 1161 | }, |
| 1162 | "password": |
| 1163 | "type": |
| 1164 | } |
| 1165 | }, |
| 1166 | "required": |
| 1167 | "email", |
| 1168 | "password" |
| 1169 | ] |
| 1170 | }, |
| 1171 | "UserEntity": |
| 1172 | "type": |
| 1173 | "properties": |
| 1174 | "name": |
| 1175 | "type": |
| 1176 | }, |
| 1177 | "id": |
| 1178 | "type": |
| 1179 | } |
| 1180 | }, |
| 1181 | "required": |
| 1182 | "name", |
| 1183 | "id" |
| 1184 | ] |
| 1185 | }, |
| 1186 | "LoginEntity": |
| 1187 | "type": |
| 1188 | "properties": |
| 1189 | "token": |
| 1190 | "type": |
| 1191 | "description": |
| 1192 | }, |
| 1193 | "user": |
| 1194 | "$ref": |
| 1195 | } |
| 1196 | }, |
| 1197 | "required": |
| 1198 | "token", |
| 1199 | "user" |
| 1200 | ] |
| 1201 | }, |
| 1202 | "GenericErrorEntity": |
| 1203 | "type": |
| 1204 | "properties": |
| 1205 | "message": |
| 1206 | "type": |
| 1207 | } |
| 1208 | }, |
| 1209 | "required": |
| 1210 | "message" |
| 1211 | ] |
| 1212 | }, |
| 1213 | "RegisterDTO": |
| 1214 | "type": |
| 1215 | "properties": |
| 1216 | "email": |
| 1217 | "type": |
| 1218 | }, |
| 1219 | "password": |
| 1220 | "type": |
| 1221 | }, |
| 1222 | "name": |
| 1223 | "type": |
| 1224 | } |
| 1225 | }, |
| 1226 | "required": |
| 1227 | "email", |
| 1228 | "password", |
| 1229 | "name" |
| 1230 | ] |
| 1231 | }, |
| 1232 | "RegisterEntity": |
| 1233 | "type": |
| 1234 | "properties": |
| 1235 | "token": |
| 1236 | "type": |
| 1237 | "description": |
| 1238 | }, |
| 1239 | "user": |
| 1240 | "$ref": |
| 1241 | } |
| 1242 | }, |
| 1243 | "required": |
| 1244 | "token", |
| 1245 | "user" |
| 1246 | ] |
| 1247 | }, |
| 1248 | "AirportType": |
| 1249 | "type": |
| 1250 | "enum": |
| 1251 | "small_airport", |
| 1252 | "seaplane_base", |
| 1253 | "medium_airport", |
| 1254 | "large_airport", |
| 1255 | "heliport", |
| 1256 | "closed", |
| 1257 | "balloonport" |
| 1258 | ] |
| 1259 | }, |
| 1260 | "AirportEntity": |
| 1261 | "type": |
| 1262 | "properties": |
| 1263 | "id": |
| 1264 | "type": |
| 1265 | }, |
| 1266 | "ident": |
| 1267 | "type": |
| 1268 | "example": |
| 1269 | }, |
| 1270 | "type": |
| 1271 | "allOf": |
| 1272 | { |
| 1273 | "$ref": |
| 1274 | } |
| 1275 | ] |
| 1276 | }, |
| 1277 | "elevation": |
| 1278 | "type": |
| 1279 | "description": |
| 1280 | }, |
| 1281 | "continent": |
| 1282 | "type": |
| 1283 | "examples": |
| 1284 | "AS", |
| 1285 | "EU" |
| 1286 | ] |
| 1287 | }, |
| 1288 | "isoCountry": |
| 1289 | "type": |
| 1290 | }, |
| 1291 | "isoRegion": |
| 1292 | "type": |
| 1293 | }, |
| 1294 | "municipality": |
| 1295 | "type": |
| 1296 | }, |
| 1297 | "gpsCode": |
| 1298 | "type": |
| 1299 | }, |
| 1300 | "iataCode": |
| 1301 | "type": |
| 1302 | "description": |
| 1303 | }, |
| 1304 | "name": |
| 1305 | "type": |
| 1306 | }, |
| 1307 | "lat": |
| 1308 | "type": |
| 1309 | }, |
| 1310 | "long": |
| 1311 | "type": |
| 1312 | } |
| 1313 | }, |
| 1314 | "required": |
| 1315 | "id", |
| 1316 | "ident", |
| 1317 | "type", |
| 1318 | "continent", |
| 1319 | "isoCountry", |
| 1320 | "isoRegion", |
| 1321 | "name", |
| 1322 | "lat", |
| 1323 | "long" |
| 1324 | ] |
| 1325 | }, |
| 1326 | "AirlineEntity": |
| 1327 | "type": |
| 1328 | "properties": |
| 1329 | "id": |
| 1330 | "type": |
| 1331 | }, |
| 1332 | "name": |
| 1333 | "type": |
| 1334 | }, |
| 1335 | "icao": |
| 1336 | "type": |
| 1337 | }, |
| 1338 | "iata": |
| 1339 | "type": |
| 1340 | }, |
| 1341 | "image": |
| 1342 | "type": |
| 1343 | } |
| 1344 | }, |
| 1345 | "required": |
| 1346 | "id", |
| 1347 | "name", |
| 1348 | "icao", |
| 1349 | "iata" |
| 1350 | ] |
| 1351 | }, |
| 1352 | "GetAirlineDTO": |
| 1353 | "type": |
| 1354 | "properties": |
| 1355 | "search": |
| 1356 | "type": |
| 1357 | "description": |
| 1358 | } |
| 1359 | }, |
| 1360 | "required": |
| 1361 | "search" |
| 1362 | ] |
| 1363 | }, |
| 1364 | "FlightsRouteEntity": |
| 1365 | "type": |
| 1366 | "properties": |
| 1367 | "from": |
| 1368 | "type": |
| 1369 | }, |
| 1370 | "to": |
| 1371 | "type": |
| 1372 | } |
| 1373 | }, |
| 1374 | "required": |
| 1375 | "from", |
| 1376 | "to" |
| 1377 | ] |
| 1378 | }, |
| 1379 | "AirlineInfo": |
| 1380 | "type": |
| 1381 | "properties": |
| 1382 | "name": |
| 1383 | "type": |
| 1384 | }, |
| 1385 | "iataCode": |
| 1386 | "type": |
| 1387 | }, |
| 1388 | "icaoCode": |
| 1389 | "type": |
| 1390 | } |
| 1391 | }, |
| 1392 | "required": |
| 1393 | "name", |
| 1394 | "iataCode" |
| 1395 | ] |
| 1396 | }, |
| 1397 | "AircraftFlightEntity": |
| 1398 | "type": |
| 1399 | "properties": |
| 1400 | "iataNumber": |
| 1401 | "type": |
| 1402 | }, |
| 1403 | "icaoNumber": |
| 1404 | "type": |
| 1405 | }, |
| 1406 | "number": |
| 1407 | "type": |
| 1408 | } |
| 1409 | }, |
| 1410 | "required": |
| 1411 | "iataNumber", |
| 1412 | "icaoNumber", |
| 1413 | "number" |
| 1414 | ] |
| 1415 | }, |
| 1416 | "AirportInfo": |
| 1417 | "type": |
| 1418 | "properties": |
| 1419 | "actualRunway": |
| 1420 | "type": |
| 1421 | }, |
| 1422 | "actualTime": |
| 1423 | "type": |
| 1424 | }, |
| 1425 | "baggage": |
| 1426 | "type": |
| 1427 | }, |
| 1428 | "delay": |
| 1429 | "type": |
| 1430 | "description": |
| 1431 | }, |
| 1432 | "estimatedRunway": |
| 1433 | "type": |
| 1434 | }, |
| 1435 | "estimatedTime": |
| 1436 | "type": |
| 1437 | }, |
| 1438 | "gate": |
| 1439 | "type": |
| 1440 | }, |
| 1441 | "iataCode": |
| 1442 | "type": |
| 1443 | }, |
| 1444 | "icaoCode": |
| 1445 | "type": |
| 1446 | }, |
| 1447 | "scheduledTime": |
| 1448 | "type": |
| 1449 | }, |
| 1450 | "terminal": |
| 1451 | "type": |
| 1452 | } |
| 1453 | } |
| 1454 | }, |
| 1455 | "FlightStatus": |
| 1456 | "type": |
| 1457 | "enum": |
| 1458 | "scheduled", |
| 1459 | "active", |
| 1460 | "landed", |
| 1461 | "cancelled", |
| 1462 | "incident", |
| 1463 | "diverted", |
| 1464 | "unknown" |
| 1465 | ] |
| 1466 | }, |
| 1467 | "FlighType": |
| 1468 | "type": |
| 1469 | "enum": |
| 1470 | "arrival", |
| 1471 | "departure" |
| 1472 | ] |
| 1473 | }, |
| 1474 | "FlightEntity": |
| 1475 | "type": |
| 1476 | "properties": |
| 1477 | "airline": |
| 1478 | "$ref": |
| 1479 | }, |
| 1480 | "flight": |
| 1481 | "$ref": |
| 1482 | }, |
| 1483 | "departure": |
| 1484 | "$ref": |
| 1485 | }, |
| 1486 | "arrival": |
| 1487 | "$ref": |
| 1488 | }, |
| 1489 | "status": |
| 1490 | "allOf": |
| 1491 | { |
| 1492 | "$ref": |
| 1493 | } |
| 1494 | ] |
| 1495 | }, |
| 1496 | "type": |
| 1497 | "allOf": |
| 1498 | { |
| 1499 | "$ref": |
| 1500 | } |
| 1501 | ] |
| 1502 | }, |
| 1503 | "codeshared": |
| 1504 | "type": |
| 1505 | } |
| 1506 | }, |
| 1507 | "required": |
| 1508 | "airline", |
| 1509 | "flight", |
| 1510 | "departure", |
| 1511 | "arrival", |
| 1512 | "status", |
| 1513 | "type" |
| 1514 | ] |
| 1515 | }, |
| 1516 | "FlightsResponseEntity": |
| 1517 | "type": |
| 1518 | "properties": |
| 1519 | "success": |
| 1520 | "type": |
| 1521 | }, |
| 1522 | "date": |
| 1523 | "type": |
| 1524 | }, |
| 1525 | "route": |
| 1526 | "$ref": |
| 1527 | }, |
| 1528 | "flightCount": |
| 1529 | "type": |
| 1530 | }, |
| 1531 | "flights": |
| 1532 | "type": |
| 1533 | "items": |
| 1534 | "$ref": |
| 1535 | } |
| 1536 | } |
| 1537 | }, |
| 1538 | "required": |
| 1539 | "success", |
| 1540 | "date", |
| 1541 | "route", |
| 1542 | "flightCount", |
| 1543 | "flights" |
| 1544 | ] |
| 1545 | }, |
| 1546 | "AircraftEntity": |
| 1547 | "type": |
| 1548 | "properties": |
| 1549 | "modeS": |
| 1550 | "type": |
| 1551 | }, |
| 1552 | "registration": |
| 1553 | "type": |
| 1554 | }, |
| 1555 | "model": |
| 1556 | "type": |
| 1557 | }, |
| 1558 | "image": |
| 1559 | "type": |
| 1560 | }, |
| 1561 | "aircraft_id": |
| 1562 | "type": |
| 1563 | }, |
| 1564 | "age": |
| 1565 | "type": |
| 1566 | }, |
| 1567 | "firstFlightDate": |
| 1568 | "type": |
| 1569 | }, |
| 1570 | "deliveryDate": |
| 1571 | "type": |
| 1572 | }, |
| 1573 | "isFreighter": |
| 1574 | "type": |
| 1575 | }, |
| 1576 | "attribution": |
| 1577 | "type": |
| 1578 | }, |
| 1579 | "payload": |
| 1580 | "type": |
| 1581 | } |
| 1582 | } |
| 1583 | }, |
| 1584 | "PartialAirlineEntity": |
| 1585 | "type": |
| 1586 | "properties": |
| 1587 | "name": |
| 1588 | "type": |
| 1589 | }, |
| 1590 | "iata": |
| 1591 | "type": |
| 1592 | }, |
| 1593 | "icao": |
| 1594 | "type": |
| 1595 | }, |
| 1596 | "image": |
| 1597 | "type": |
| 1598 | } |
| 1599 | }, |
| 1600 | "required": |
| 1601 | "name" |
| 1602 | ] |
| 1603 | }, |
| 1604 | "LocationEntity": |
| 1605 | "type": |
| 1606 | "properties": |
| 1607 | "lat": |
| 1608 | "type": |
| 1609 | }, |
| 1610 | "lon": |
| 1611 | "type": |
| 1612 | } |
| 1613 | }, |
| 1614 | "required": |
| 1615 | "lat", |
| 1616 | "lon" |
| 1617 | ] |
| 1618 | }, |
| 1619 | "RouteAirportEntity": |
| 1620 | "type": |
| 1621 | "properties": |
| 1622 | "iata": |
| 1623 | "type": |
| 1624 | }, |
| 1625 | "icao": |
| 1626 | "type": |
| 1627 | }, |
| 1628 | "name": |
| 1629 | "type": |
| 1630 | }, |
| 1631 | "timeZone": |
| 1632 | "type": |
| 1633 | }, |
| 1634 | "shortName": |
| 1635 | "type": |
| 1636 | }, |
| 1637 | "countryCode": |
| 1638 | "type": |
| 1639 | }, |
| 1640 | "municipalityName": |
| 1641 | "type": |
| 1642 | }, |
| 1643 | "location": |
| 1644 | "$ref": |
| 1645 | } |
| 1646 | }, |
| 1647 | "required": |
| 1648 | "iata", |
| 1649 | "icao", |
| 1650 | "name", |
| 1651 | "timeZone", |
| 1652 | "countryCode", |
| 1653 | "municipalityName", |
| 1654 | "location" |
| 1655 | ] |
| 1656 | }, |
| 1657 | "TimeEntity": |
| 1658 | "type": |
| 1659 | "properties": |
| 1660 | "utc": |
| 1661 | "type": |
| 1662 | }, |
| 1663 | "local": |
| 1664 | "type": |
| 1665 | } |
| 1666 | }, |
| 1667 | "required": |
| 1668 | "utc", |
| 1669 | "local" |
| 1670 | ] |
| 1671 | }, |
| 1672 | "RouteInfoEntity": |
| 1673 | "type": |
| 1674 | "properties": |
| 1675 | "airport": |
| 1676 | "$ref": |
| 1677 | }, |
| 1678 | "terminal": |
| 1679 | "type": |
| 1680 | }, |
| 1681 | "gate": |
| 1682 | "type": |
| 1683 | }, |
| 1684 | "scheduledTime": |
| 1685 | "$ref": |
| 1686 | }, |
| 1687 | "revisedTime": |
| 1688 | "$ref": |
| 1689 | }, |
| 1690 | "predictedTime": |
| 1691 | "$ref": |
| 1692 | }, |
| 1693 | "baggageBelt": |
| 1694 | "type": |
| 1695 | } |
| 1696 | }, |
| 1697 | "required": |
| 1698 | "airport", |
| 1699 | "scheduledTime" |
| 1700 | ] |
| 1701 | }, |
| 1702 | "StringifiedGreatCircleDistanceEntity": |
| 1703 | "type": |
| 1704 | "properties": |
| 1705 | "meter": |
| 1706 | "type": |
| 1707 | }, |
| 1708 | "km": |
| 1709 | "type": |
| 1710 | }, |
| 1711 | "mile": |
| 1712 | "type": |
| 1713 | }, |
| 1714 | "nm": |
| 1715 | "type": |
| 1716 | }, |
| 1717 | "feet": |
| 1718 | "type": |
| 1719 | } |
| 1720 | } |
| 1721 | }, |
| 1722 | "FlightAwareDataEntity": |
| 1723 | "type": |
| 1724 | "properties": |
| 1725 | "id": |
| 1726 | "type": |
| 1727 | }, |
| 1728 | "ident": |
| 1729 | "type": |
| 1730 | "description": |
| 1731 | }, |
| 1732 | "identIcao": |
| 1733 | "type": |
| 1734 | }, |
| 1735 | "identIata": |
| 1736 | "type": |
| 1737 | }, |
| 1738 | "actualRunwayOff": |
| 1739 | "type": |
| 1740 | }, |
| 1741 | "actualRunwayOn": |
| 1742 | "type": |
| 1743 | }, |
| 1744 | "operator": |
| 1745 | "type": |
| 1746 | }, |
| 1747 | "operatorIcao": |
| 1748 | "type": |
| 1749 | }, |
| 1750 | "operatorIata": |
| 1751 | "type": |
| 1752 | }, |
| 1753 | "flightNumber": |
| 1754 | "type": |
| 1755 | }, |
| 1756 | "registration": |
| 1757 | "type": |
| 1758 | }, |
| 1759 | "atcIdent": |
| 1760 | "type": |
| 1761 | }, |
| 1762 | "inboundFaFlightId": |
| 1763 | "type": |
| 1764 | }, |
| 1765 | "codesharesIata": |
| 1766 | "type": |
| 1767 | "items": |
| 1768 | "type": |
| 1769 | } |
| 1770 | }, |
| 1771 | "departureDelay": |
| 1772 | "type": |
| 1773 | "description": |
| 1774 | }, |
| 1775 | "arrivalDelay": |
| 1776 | "type": |
| 1777 | "description": |
| 1778 | }, |
| 1779 | "filedEte": |
| 1780 | "type": |
| 1781 | "description": |
| 1782 | }, |
| 1783 | "progressPercent": |
| 1784 | "type": |
| 1785 | "description": |
| 1786 | }, |
| 1787 | "status": |
| 1788 | "type": |
| 1789 | "description": |
| 1790 | }, |
| 1791 | "aircraftType": |
| 1792 | "type": |
| 1793 | }, |
| 1794 | "routeDistance": |
| 1795 | "type": |
| 1796 | "description": |
| 1797 | }, |
| 1798 | "filedAirspeed": |
| 1799 | "type": |
| 1800 | "description": |
| 1801 | }, |
| 1802 | "filedAltitude": |
| 1803 | "type": |
| 1804 | "description": |
| 1805 | }, |
| 1806 | "route": |
| 1807 | "type": |
| 1808 | }, |
| 1809 | "baggageClaim": |
| 1810 | "type": |
| 1811 | }, |
| 1812 | "seatsCabinBusiness": |
| 1813 | "type": |
| 1814 | "description": |
| 1815 | }, |
| 1816 | "seatsCabinCoach": |
| 1817 | "type": |
| 1818 | "description": |
| 1819 | }, |
| 1820 | "seatsCabinFirst": |
| 1821 | "type": |
| 1822 | "description": |
| 1823 | }, |
| 1824 | "gateOrigin": |
| 1825 | "type": |
| 1826 | }, |
| 1827 | "gateDestination": |
| 1828 | "type": |
| 1829 | }, |
| 1830 | "terminalOrigin": |
| 1831 | "type": |
| 1832 | }, |
| 1833 | "terminalDestination": |
| 1834 | "type": |
| 1835 | }, |
| 1836 | "scheduledOut": |
| 1837 | "format": |
| 1838 | "type": |
| 1839 | }, |
| 1840 | "estimatedOut": |
| 1841 | "format": |
| 1842 | "type": |
| 1843 | }, |
| 1844 | "actualOut": |
| 1845 | "format": |
| 1846 | "type": |
| 1847 | }, |
| 1848 | "scheduledOff": |
| 1849 | "format": |
| 1850 | "type": |
| 1851 | }, |
| 1852 | "estimatedOff": |
| 1853 | "format": |
| 1854 | "type": |
| 1855 | }, |
| 1856 | "actualOff": |
| 1857 | "format": |
| 1858 | "type": |
| 1859 | }, |
| 1860 | "scheduledOn": |
| 1861 | "format": |
| 1862 | "type": |
| 1863 | }, |
| 1864 | "estimatedOn": |
| 1865 | "format": |
| 1866 | "type": |
| 1867 | }, |
| 1868 | "actualOn": |
| 1869 | "format": |
| 1870 | "type": |
| 1871 | }, |
| 1872 | "scheduledIn": |
| 1873 | "format": |
| 1874 | "type": |
| 1875 | }, |
| 1876 | "estimatedIn": |
| 1877 | "format": |
| 1878 | "type": |
| 1879 | }, |
| 1880 | "actualIn": |
| 1881 | "format": |
| 1882 | "type": |
| 1883 | }, |
| 1884 | "foresightPredictionsAvailable": |
| 1885 | "type": |
| 1886 | "description": |
| 1887 | }, |
| 1888 | "blocked": |
| 1889 | "type": |
| 1890 | }, |
| 1891 | "diverted": |
| 1892 | "type": |
| 1893 | }, |
| 1894 | "cancelled": |
| 1895 | "type": |
| 1896 | }, |
| 1897 | "positionOnly": |
| 1898 | "type": |
| 1899 | }, |
| 1900 | "originCode": |
| 1901 | "type": |
| 1902 | }, |
| 1903 | "originCodeIcao": |
| 1904 | "type": |
| 1905 | }, |
| 1906 | "originCodeIata": |
| 1907 | "type": |
| 1908 | }, |
| 1909 | "originCodeLid": |
| 1910 | "type": |
| 1911 | }, |
| 1912 | "originTimezone": |
| 1913 | "type": |
| 1914 | }, |
| 1915 | "originName": |
| 1916 | "type": |
| 1917 | }, |
| 1918 | "originCity": |
| 1919 | "type": |
| 1920 | }, |
| 1921 | "destinationCode": |
| 1922 | "type": |
| 1923 | }, |
| 1924 | "destinationCodeIcao": |
| 1925 | "type": |
| 1926 | }, |
| 1927 | "destinationCodeIata": |
| 1928 | "type": |
| 1929 | }, |
| 1930 | "destinationCodeLid": |
| 1931 | "type": |
| 1932 | }, |
| 1933 | "destinationTimezone": |
| 1934 | "type": |
| 1935 | }, |
| 1936 | "destinationName": |
| 1937 | "type": |
| 1938 | }, |
| 1939 | "destinationCity": |
| 1940 | "type": |
| 1941 | }, |
| 1942 | "createdAt": |
| 1943 | "format": |
| 1944 | "type": |
| 1945 | }, |
| 1946 | "updatedAt": |
| 1947 | "format": |
| 1948 | "type": |
| 1949 | } |
| 1950 | }, |
| 1951 | "required": |
| 1952 | "id", |
| 1953 | "ident", |
| 1954 | "status", |
| 1955 | "foresightPredictionsAvailable", |
| 1956 | "blocked", |
| 1957 | "diverted", |
| 1958 | "cancelled", |
| 1959 | "positionOnly", |
| 1960 | "createdAt", |
| 1961 | "updatedAt" |
| 1962 | ] |
| 1963 | }, |
| 1964 | "FlightResponseEntity": |
| 1965 | "type": |
| 1966 | "properties": |
| 1967 | "id": |
| 1968 | "type": |
| 1969 | }, |
| 1970 | "flightNo": |
| 1971 | "type": |
| 1972 | }, |
| 1973 | "callSign": |
| 1974 | "type": |
| 1975 | }, |
| 1976 | "aircraft": |
| 1977 | "$ref": |
| 1978 | }, |
| 1979 | "airline": |
| 1980 | "$ref": |
| 1981 | }, |
| 1982 | "arrival": |
| 1983 | "$ref": |
| 1984 | }, |
| 1985 | "departure": |
| 1986 | "$ref": |
| 1987 | }, |
| 1988 | "cargo": |
| 1989 | "type": |
| 1990 | }, |
| 1991 | "greatCircleDistance": |
| 1992 | "$ref": |
| 1993 | }, |
| 1994 | "date": |
| 1995 | "format": |
| 1996 | "type": |
| 1997 | }, |
| 1998 | "image": |
| 1999 | "type": |
| 2000 | }, |
| 2001 | "flightAwareData": |
| 2002 | "$ref": |
| 2003 | } |
| 2004 | }, |
| 2005 | "required": |
| 2006 | "id", |
| 2007 | "flightNo", |
| 2008 | "callSign", |
| 2009 | "airline", |
| 2010 | "arrival", |
| 2011 | "departure", |
| 2012 | "cargo", |
| 2013 | "greatCircleDistance", |
| 2014 | "date" |
| 2015 | ] |
| 2016 | }, |
| 2017 | "TrackedFlightsResponseEntity": |
| 2018 | "type": |
| 2019 | "properties": |
| 2020 | "success": |
| 2021 | "type": |
| 2022 | }, |
| 2023 | "total": |
| 2024 | "type": |
| 2025 | }, |
| 2026 | "flights": |
| 2027 | "type": |
| 2028 | "items": |
| 2029 | "$ref": |
| 2030 | } |
| 2031 | } |
| 2032 | }, |
| 2033 | "required": |
| 2034 | "success", |
| 2035 | "total", |
| 2036 | "flights" |
| 2037 | ] |
| 2038 | }, |
| 2039 | "FlightPositionEntity": |
| 2040 | "type": |
| 2041 | "properties": |
| 2042 | "fa_flight_id": |
| 2043 | "type": |
| 2044 | "description": |
| 2045 | }, |
| 2046 | "altitude": |
| 2047 | "type": |
| 2048 | "description": |
| 2049 | "example": |
| 2050 | }, |
| 2051 | "altitude_change": |
| 2052 | "type": |
| 2053 | "description": |
| 2054 | "enum": |
| 2055 | "C", |
| 2056 | "D", |
| 2057 | "-" |
| 2058 | ], |
| 2059 | "example": |
| 2060 | }, |
| 2061 | "groundspeed": |
| 2062 | "type": |
| 2063 | "description": |
| 2064 | "example": |
| 2065 | }, |
| 2066 | "heading": |
| 2067 | "type": |
| 2068 | "description": |
| 2069 | "example": |
| 2070 | "minimum": |
| 2071 | "maximum": |
| 2072 | }, |
| 2073 | "latitude": |
| 2074 | "type": |
| 2075 | "description": |
| 2076 | "example": |
| 2077 | }, |
| 2078 | "longitude": |
| 2079 | "type": |
| 2080 | "description": |
| 2081 | "example": |
| 2082 | }, |
| 2083 | "timestamp": |
| 2084 | "type": |
| 2085 | "description": |
| 2086 | "example": |
| 2087 | }, |
| 2088 | "update_type": |
| 2089 | "type": |
| 2090 | "description": |
| 2091 | "enum": |
| 2092 | "P", |
| 2093 | "O", |
| 2094 | "Z", |
| 2095 | "A", |
| 2096 | "M", |
| 2097 | "D", |
| 2098 | "X", |
| 2099 | "S", |
| 2100 | "V" |
| 2101 | ] |
| 2102 | } |
| 2103 | }, |
| 2104 | "required": |
| 2105 | "altitude", |
| 2106 | "altitude_change", |
| 2107 | "groundspeed", |
| 2108 | "latitude", |
| 2109 | "longitude", |
| 2110 | "timestamp" |
| 2111 | ] |
| 2112 | }, |
| 2113 | "FlightTrackResponseEntity": |
| 2114 | "type": |
| 2115 | "properties": |
| 2116 | "actual_distance": |
| 2117 | "type": |
| 2118 | "description": |
| 2119 | "example": |
| 2120 | }, |
| 2121 | "positions": |
| 2122 | "description": |
| 2123 | "type": |
| 2124 | "items": |
| 2125 | "$ref": |
| 2126 | } |
| 2127 | } |
| 2128 | }, |
| 2129 | "required": |
| 2130 | "positions" |
| 2131 | ] |
| 2132 | }, |
| 2133 | "MostFlownAircraftEntity": |
| 2134 | "type": |
| 2135 | "properties": |
| 2136 | "aircraftName": |
| 2137 | "type": |
| 2138 | }, |
| 2139 | "flightCount": |
| 2140 | "type": |
| 2141 | } |
| 2142 | }, |
| 2143 | "required": |
| 2144 | "aircraftName", |
| 2145 | "flightCount" |
| 2146 | ] |
| 2147 | }, |
| 2148 | "FlightSummaryAirlineEntity": |
| 2149 | "type": |
| 2150 | "properties": |
| 2151 | "name": |
| 2152 | "type": |
| 2153 | }, |
| 2154 | "iata": |
| 2155 | "type": |
| 2156 | }, |
| 2157 | "icao": |
| 2158 | "type": |
| 2159 | }, |
| 2160 | "image": |
| 2161 | "type": |
| 2162 | } |
| 2163 | }, |
| 2164 | "required": |
| 2165 | "name" |
| 2166 | ] |
| 2167 | }, |
| 2168 | "FlightSummaryEntity": |
| 2169 | "type": |
| 2170 | "properties": |
| 2171 | "id": |
| 2172 | "type": |
| 2173 | }, |
| 2174 | "flightNo": |
| 2175 | "type": |
| 2176 | }, |
| 2177 | "callSign": |
| 2178 | "type": |
| 2179 | }, |
| 2180 | "airline": |
| 2181 | "$ref": |
| 2182 | }, |
| 2183 | "departureAirportCode": |
| 2184 | "type": |
| 2185 | "description": |
| 2186 | }, |
| 2187 | "departureAirportName": |
| 2188 | "type": |
| 2189 | "description": |
| 2190 | }, |
| 2191 | "arrivalAirportCode": |
| 2192 | "type": |
| 2193 | "description": |
| 2194 | }, |
| 2195 | "arrivalAirportName": |
| 2196 | "type": |
| 2197 | "description": |
| 2198 | }, |
| 2199 | "date": |
| 2200 | "type": |
| 2201 | "description": |
| 2202 | } |
| 2203 | }, |
| 2204 | "required": |
| 2205 | "id", |
| 2206 | "flightNo", |
| 2207 | "callSign", |
| 2208 | "airline", |
| 2209 | "departureAirportCode", |
| 2210 | "departureAirportName", |
| 2211 | "arrivalAirportCode", |
| 2212 | "arrivalAirportName", |
| 2213 | "date" |
| 2214 | ] |
| 2215 | }, |
| 2216 | "AircraftWithAge": |
| 2217 | "type": |
| 2218 | "properties": |
| 2219 | "aircraftName": |
| 2220 | "type": |
| 2221 | }, |
| 2222 | "tailNumber": |
| 2223 | "type": |
| 2224 | }, |
| 2225 | "age": |
| 2226 | "type": |
| 2227 | }, |
| 2228 | "image": |
| 2229 | "type": |
| 2230 | } |
| 2231 | }, |
| 2232 | "required": |
| 2233 | "aircraftName", |
| 2234 | "tailNumber" |
| 2235 | ] |
| 2236 | }, |
| 2237 | "AircraftStatsEntity": |
| 2238 | "type": |
| 2239 | "properties": |
| 2240 | "mostFlownAircraftName": |
| 2241 | "type": |
| 2242 | }, |
| 2243 | "mostFlownAircraftFlightCount": |
| 2244 | "type": |
| 2245 | }, |
| 2246 | "mostFlownAircraftImage": |
| 2247 | "type": |
| 2248 | }, |
| 2249 | "mostFlownAircraftFlights": |
| 2250 | "type": |
| 2251 | "items": |
| 2252 | "$ref": |
| 2253 | } |
| 2254 | }, |
| 2255 | "mostCommonTailNumber": |
| 2256 | "type": |
| 2257 | }, |
| 2258 | "mostCommonTailNumberCount": |
| 2259 | "type": |
| 2260 | }, |
| 2261 | "medianAge": |
| 2262 | "type": |
| 2263 | }, |
| 2264 | "youngestAircraft": |
| 2265 | "$ref": |
| 2266 | }, |
| 2267 | "oldestAircraft": |
| 2268 | "$ref": |
| 2269 | } |
| 2270 | }, |
| 2271 | "required": |
| 2272 | "mostFlownAircraftName", |
| 2273 | "mostFlownAircraftFlightCount", |
| 2274 | "mostFlownAircraftFlights", |
| 2275 | "mostCommonTailNumber", |
| 2276 | "mostCommonTailNumberCount" |
| 2277 | ] |
| 2278 | }, |
| 2279 | "PassportEntity": |
| 2280 | "type": |
| 2281 | "properties": |
| 2282 | "totalFlights": |
| 2283 | "type": |
| 2284 | "description": |
| 2285 | }, |
| 2286 | "totalDistanceKm": |
| 2287 | "type": |
| 2288 | "description": |
| 2289 | }, |
| 2290 | "totalDurationMinutes": |
| 2291 | "type": |
| 2292 | "description": |
| 2293 | }, |
| 2294 | "totalAirports": |
| 2295 | "type": |
| 2296 | "description": |
| 2297 | }, |
| 2298 | "totalAirlines": |
| 2299 | "type": |
| 2300 | "description": |
| 2301 | } |
| 2302 | }, |
| 2303 | "required": |
| 2304 | "totalFlights", |
| 2305 | "totalDistanceKm", |
| 2306 | "totalDurationMinutes", |
| 2307 | "totalAirports", |
| 2308 | "totalAirlines" |
| 2309 | ] |
| 2310 | }, |
| 2311 | "FlightDistanceEntity": |
| 2312 | "type": |
| 2313 | "properties": |
| 2314 | "flight": |
| 2315 | "$ref": |
| 2316 | }, |
| 2317 | "distanceKm": |
| 2318 | "type": |
| 2319 | "description": |
| 2320 | } |
| 2321 | }, |
| 2322 | "required": |
| 2323 | "flight", |
| 2324 | "distanceKm" |
| 2325 | ] |
| 2326 | }, |
| 2327 | "FlightDurationEntity": |
| 2328 | "type": |
| 2329 | "properties": |
| 2330 | "flight": |
| 2331 | "$ref": |
| 2332 | }, |
| 2333 | "durationMinutes": |
| 2334 | "type": |
| 2335 | "description": |
| 2336 | } |
| 2337 | }, |
| 2338 | "required": |
| 2339 | "flight", |
| 2340 | "durationMinutes" |
| 2341 | ] |
| 2342 | }, |
| 2343 | "AirlineStatsEntity": |
| 2344 | "type": |
| 2345 | "properties": |
| 2346 | "airlineName": |
| 2347 | "type": |
| 2348 | }, |
| 2349 | "airlineIata": |
| 2350 | "type": |
| 2351 | }, |
| 2352 | "airlineIcao": |
| 2353 | "type": |
| 2354 | }, |
| 2355 | "image": |
| 2356 | "type": |
| 2357 | "description": |
| 2358 | }, |
| 2359 | "flightCount": |
| 2360 | "type": |
| 2361 | } |
| 2362 | }, |
| 2363 | "required": |
| 2364 | "airlineName", |
| 2365 | "airlineIata", |
| 2366 | "flightCount" |
| 2367 | ] |
| 2368 | }, |
| 2369 | "AirportStatsEntity": |
| 2370 | "type": |
| 2371 | "properties": |
| 2372 | "airportCode": |
| 2373 | "type": |
| 2374 | }, |
| 2375 | "airportName": |
| 2376 | "type": |
| 2377 | }, |
| 2378 | "departureCount": |
| 2379 | "type": |
| 2380 | "description": |
| 2381 | } |
| 2382 | }, |
| 2383 | "required": |
| 2384 | "airportCode", |
| 2385 | "airportName", |
| 2386 | "departureCount" |
| 2387 | ] |
| 2388 | }, |
| 2389 | "TopRouteEntity": |
| 2390 | "type": |
| 2391 | "properties": |
| 2392 | "origin": |
| 2393 | "type": |
| 2394 | }, |
| 2395 | "destination": |
| 2396 | "type": |
| 2397 | }, |
| 2398 | "flightCount": |
| 2399 | "type": |
| 2400 | } |
| 2401 | }, |
| 2402 | "required": |
| 2403 | "origin", |
| 2404 | "destination", |
| 2405 | "flightCount" |
| 2406 | ] |
| 2407 | }, |
| 2408 | "ProfileStatsResponseEntity": |
| 2409 | "type": |
| 2410 | "properties": |
| 2411 | "mostFlownAircraft": |
| 2412 | "$ref": |
| 2413 | }, |
| 2414 | "aircraftStats": |
| 2415 | "$ref": |
| 2416 | }, |
| 2417 | "passport": |
| 2418 | "$ref": |
| 2419 | }, |
| 2420 | "shortestDistanceFlight": |
| 2421 | "$ref": |
| 2422 | }, |
| 2423 | "longestDistanceFlight": |
| 2424 | "$ref": |
| 2425 | }, |
| 2426 | "shortestDurationFlight": |
| 2427 | "$ref": |
| 2428 | }, |
| 2429 | "longestDurationFlight": |
| 2430 | "$ref": |
| 2431 | }, |
| 2432 | "airlines": |
| 2433 | "type": |
| 2434 | "items": |
| 2435 | "$ref": |
| 2436 | } |
| 2437 | }, |
| 2438 | "airports": |
| 2439 | "type": |
| 2440 | "items": |
| 2441 | "$ref": |
| 2442 | } |
| 2443 | }, |
| 2444 | "topRoutes": |
| 2445 | "type": |
| 2446 | "items": |
| 2447 | "$ref": |
| 2448 | } |
| 2449 | } |
| 2450 | }, |
| 2451 | "required": |
| 2452 | "mostFlownAircraft", |
| 2453 | "passport", |
| 2454 | "shortestDistanceFlight", |
| 2455 | "longestDistanceFlight", |
| 2456 | "shortestDurationFlight", |
| 2457 | "longestDurationFlight", |
| 2458 | "airlines", |
| 2459 | "airports", |
| 2460 | "topRoutes" |
| 2461 | ] |
| 2462 | } |
| 2463 | } |
| 2464 | } |
| 2465 | } |
{
{
{
"
AppController_getHello_v1
"
,
[]
,
{
{
""
{
"
Internal server error
"
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
[
[]
[
{
{
"
Login
"
,
"
AuthController_login_v1
"
,
[]
,
{
true
,
{
{
{
"
#/components/schemas/LoginDTO
"
{
{
""
,
{
{
{
"
#/components/schemas/LoginEntity
"
{
""
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
{
""
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
{
"
Internal server error
"
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
[
[]
"
Login
"
,
[
{
{
"
Create a new user
"
,
"
AuthController_register_v1
"
,
[]
,
{
true
,
{
{
{
"
#/components/schemas/RegisterDTO
"
{
{
""
,
{
{
{
"
#/components/schemas/RegisterEntity
"
{
""
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
{
"
Internal server error
"
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
[
[]
"
Register
"
,
[
{
{
"
Get current user
"
,
"
AuthController_getCurrentUser_v1
"
,
[]
,
{
{
""
,
{
{
{
"
#/components/schemas/UserEntity
"
{
""
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
{
"
Internal server error
"
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
[
[]
[]
"
Get current user
"
,
[
{
{
"
Get all airports. We do not recommend using this route without any search query. This route has over 20k records
"
,
"
AirportsController_getAirports_v1
"
,
[
"
search
"
,
false
,
"
query
"
,
"
Search query for airport. Can be iata, ident(icao), name or a part of any these. Searching is case insensitive
"
,
{
"
VIDP
"
,
"
string
"
{
{
""
,
{
{
{
"
array
"
,
{
"
#/components/schemas/AirportEntity
"
{
"
Internal server error
"
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
[
[]
"
Get all airports
"
,
[
{
{
"
Get airlines. Has over 800 records, only has commerical airlines.
"
,
"
AirlinesController_getAirlines_v1
"
,
[
"
search
"
,
false
,
"
query
"
,
"
The full(or a part of) name, ident or icao. Case Insensitive.
"
,
{
"
string
"
{
{
""
,
{
{
{
"
array
"
,
{
"
#/components/schemas/AirlineEntity
"
{
"
Internal server error
"
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
[
[]
"
Get airlines
"
,
[
{
{
"
Get airline with search query. This doesn't check if the number is correct
"
,
"
FlightsController_getAirline_v1
"
,
[]
,
{
true
,
{
{
{
"
#/components/schemas/GetAirlineDTO
"
{
{
""
,
{
{
{
"
#/components/schemas/AirlineEntity
"
{
""
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
{
"
Internal server error
"
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
[
[]
"
Get airline
"
,
[
{
{
"
Get all flights between two airports for a specific date
"
,
"
FlightsController_getFlights_v1
"
,
[
"
from
"
,
true
,
"
query
"
,
"
Departure airport IATA code
"
,
{
"
LAX
"
,
"
string
"
"
to
"
,
true
,
"
query
"
,
"
Arrival airport IATA code
"
,
{
"
JFK
"
,
"
string
"
"
date
"
,
true
,
"
query
"
,
"
Flight date in ISO format
"
,
{
"
2024-03-20
"
,
"
string
"
{
{
""
,
{
{
{
"
#/components/schemas/FlightsResponseEntity
"
{
""
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
{
"
Internal server error
"
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
[
[]
"
Get flights between two airports
"
,
[
{
{
true
,
"
Get all aircraft currently flying within a specified geographic bounding box using FlightAware data with comprehensive aircraft details
"
,
"
FlightsController_getFlightsInBounds_v1
"
,
[
"
minLat
"
,
true
,
"
query
"
,
"
Minimum latitude of the bounding box
"
,
{
-90
,
90
,
40
,
"
number
"
"
maxLat
"
,
true
,
"
query
"
,
"
Maximum latitude of the bounding box
"
,
{
-90
,
90
,
50
,
"
number
"
"
minLng
"
,
true
,
"
query
"
,
"
Minimum longitude of the bounding box
"
,
{
-180
,
180
,
-10
,
"
number
"
"
maxLng
"
,
true
,
"
query
"
,
"
Maximum longitude of the bounding box
"
,
{
-180
,
180
,
10
,
"
number
"
{
{
"
List of flights within the specified bounds with detailed aircraft information
"
,
{
{
{
"
object
"
,
{
{
"
boolean
"
{
"
string
"
,
"
date-time
"
{
"
object
"
,
{
{
"
number
"
{
"
number
"
{
"
number
"
{
"
number
"
{
"
number
"
{
"
number
"
{
"
array
"
,
{
"
object
"
,
{
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
number
"
,
true
{
"
number
"
,
true
{
"
number
"
,
true
{
"
number
"
,
true
{
"
number
"
,
true
{
"
number
"
,
true
{
"
string
"
,
"
date-time
"
{
"
boolean
"
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
object
"
,
true
,
{
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
object
"
,
true
,
{
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
number
"
,
true
{
"
number
"
,
true
{
"
number
"
,
true
{
"
number
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
"
string
"
,
true
{
""
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
{
"
Internal server error
"
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
[
[]
"
Get flights within geographic bounds(deprecated - will return nothing)
"
,
[
{
{
"
Returns a list of all flights that have been tracked in the system, sorted by most recently created. Limited to 50 most recent flights.
"
,
"
FlightsController_getTrackedFlights_v1
"
,
[]
,
{
{
"
List of tracked flights with complete flight information
"
,
{
{
{
"
#/components/schemas/TrackedFlightsResponseEntity
"
{
""
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
{
"
Internal server error
"
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
[
[]
"
Get all tracked flights
"
,
[
{
{
"
Get the flight path with all position data points for a specific flight
"
,
"
FlightController_getFlightTrack_v1
"
,
[
"
iata
"
,
true
,
"
query
"
,
"
IATA flight number
"
,
{
"
UA123
"
,
"
string
"
"
icao
"
,
true
,
"
query
"
,
"
ICAO flight number
"
,
{
"
UAL123
"
,
"
string
"
"
date
"
,
false
,
"
query
"
,
"
Flight date (ISO format). Defaults to current date if not provided
"
,
{
"
2024-03-20
"
,
"
string
"
"
timezone
"
,
true
,
"
query
"
,
"
The timezone from which the request is being made.
"
,
{
"
IST
"
,
"
string
"
{
{
"
Flight track data retrieved successfully
"
,
{
{
{
"
#/components/schemas/FlightTrackResponseEntity
"
{
"
Invalid request parameters or flight not found
"
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
{
"
User is not authenticated
"
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
{
"
Internal server error
"
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
[
[]
"
Get flight track/path
"
,
[
{
{
"
Get detailed information about a specific flight including real-time tracking data
"
,
"
FlightController_getFlight_v1
"
,
[
"
iata
"
,
true
,
"
query
"
,
"
IATA flight number
"
,
{
"
UA123
"
,
"
string
"
"
icao
"
,
true
,
"
query
"
,
"
ICAO flight number
"
,
{
"
UAL123
"
,
"
string
"
"
date
"
,
false
,
"
query
"
,
"
Flight date (ISO format). Defaults to current date if not provided
"
,
{
"
2024-03-20
"
,
"
string
"
"
timezone
"
,
true
,
"
query
"
,
"
The timezone from which the request is being made.
"
,
{
"
string
"
"
forceUpdate
"
,
false
,
"
query
"
,
"
Force update the flight data(used to refresh the flight data)
"
,
{
false
,
"
boolean
"
{
{
"
Flight details retrieved successfully
"
,
{
{
{
"
#/components/schemas/FlightResponseEntity
"
{
"
Invalid request parameters
"
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
{
"
User is not authenticated
"
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
{
"
Internal server error
"
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
[
[]
"
Get flight details
"
,
[
{
{
"
Returns comprehensive statistics about tracked flights including passport data, aircraft stats, airlines, airports, and routes
"
,
"
ProfileController_getProfileStats_v1
"
,
[]
,
{
{
"
Profile statistics including passport data and flight analytics
"
,
{
{
{
"
#/components/schemas/ProfileStatsResponseEntity
"
{
""
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
{
"
Internal server error
"
,
{
{
{
"
#/components/schemas/GenericErrorEntity
"
[
[]
"
Get profile stats
"
,
[
{
"
Plane Pal
"
,
"
Plane Pal API Documentation
"
,
"
1.0.0
"
,
{}
[]
,
[]
,
{
{
{
"
bearer
"
,
"
JWT
"
,
"
http
"
{
{
"
object
"
,
{
{
"
string
"
{
"
string
"
[
{
"
object
"
,
{
{
"
string
"
{
"
string
"
[
{
"
object
"
,
{
{
"
string
"
,
"
JWT token which will be used for all other requests
"
{
"
#/components/schemas/UserEntity
"
[
{
"
object
"
,
{
{
"
string
"
[
{
"
object
"
,
{
{
"
string
"
{
"
string
"
{
"
string
"
[
{
"
object
"
,
{
{
"
string
"
,
"
JWT token which will be used for all other requests
"
{
"
#/components/schemas/UserEntity
"
[
{
"
string
"
,
[
{
"
object
"
,
{
{
"
string
"
{
"
string
"
,
"
VIDP
"
{
[
"
#/components/schemas/AirportType
"
{
"
string
"
,
"
Elevation in feet
"
{
"
string
"
,
[
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
,
"
Nullable for private airports
"
{
"
string
"
{
"
string
"
{
"
string
"
[
{
"
object
"
,
{
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
[
{
"
object
"
,
{
{
"
string
"
,
"
The search query, like 6E9920
"
[
{
"
object
"
,
{
{
"
string
"
{
"
string
"
[
{
"
object
"
,
{
{
"
string
"
{
"
string
"
{
"
string
"
[
{
"
object
"
,
{
{
"
string
"
{
"
string
"
{
"
string
"
[
{
"
object
"
,
{
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
,
"
in mins
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
,
[
{
"
string
"
,
[
{
"
object
"
,
{
{
"
#/components/schemas/AirlineInfo
"
{
"
#/components/schemas/AircraftFlightEntity
"
{
"
#/components/schemas/AirportInfo
"
{
"
#/components/schemas/AirportInfo
"
{
[
"
#/components/schemas/FlightStatus
"
{
[
"
#/components/schemas/FlighType
"
{
"
object
"
[
{
"
object
"
,
{
{
"
boolean
"
{
"
string
"
{
"
#/components/schemas/FlightsRouteEntity
"
{
"
number
"
{
"
array
"
,
{
"
#/components/schemas/FlightEntity
"
[
{
"
object
"
,
{
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
boolean
"
{
"
string
"
{
"
object
"
{
"
object
"
,
{
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
[
{
"
object
"
,
{
{
"
number
"
{
"
number
"
[
{
"
object
"
,
{
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
#/components/schemas/LocationEntity
"
[
{
"
object
"
,
{
{
"
string
"
{
"
string
"
[
{
"
object
"
,
{
{
"
#/components/schemas/RouteAirportEntity
"
{
"
string
"
{
"
string
"
{
"
#/components/schemas/TimeEntity
"
{
"
#/components/schemas/TimeEntity
"
{
"
#/components/schemas/TimeEntity
"
{
"
string
"
[
{
"
object
"
,
{
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
object
"
,
{
{
"
string
"
{
"
string
"
,
"
Flight identifier
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
array
"
,
{
"
string
"
{
"
number
"
,
"
Departure delay in seconds (negative = early)
"
{
"
number
"
,
"
Arrival delay in seconds (negative = early)
"
{
"
number
"
,
"
Estimated time en route in seconds
"
{
"
number
"
,
"
Percent completion (0-100)
"
{
"
string
"
,
"
Flight status description
"
{
"
string
"
{
"
number
"
,
"
Planned flight distance in statute miles
"
{
"
number
"
,
"
Filed IFR airspeed in knots
"
{
"
number
"
,
"
Filed IFR altitude in 100s of feet
"
{
"
string
"
{
"
string
"
{
"
number
"
,
"
Business class seats
"
{
"
number
"
,
"
Coach class seats
"
{
"
number
"
,
"
First class seats
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
date-time
"
,
"
string
"
{
"
date-time
"
,
"
string
"
{
"
date-time
"
,
"
string
"
{
"
date-time
"
,
"
string
"
{
"
date-time
"
,
"
string
"
{
"
date-time
"
,
"
string
"
{
"
date-time
"
,
"
string
"
{
"
date-time
"
,
"
string
"
{
"
date-time
"
,
"
string
"
{
"
date-time
"
,
"
string
"
{
"
date-time
"
,
"
string
"
{
"
date-time
"
,
"
string
"
{
"
boolean
"
,
"
Foresight predictions available
"
{
"
boolean
"
{
"
boolean
"
{
"
boolean
"
{
"
boolean
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
date-time
"
,
"
string
"
{
"
date-time
"
,
"
string
"
[
{
"
object
"
,
{
{
"
string
"
{
"
string
"
{
"
string
"
{
"
#/components/schemas/AircraftEntity
"
{
"
#/components/schemas/PartialAirlineEntity
"
{
"
#/components/schemas/RouteInfoEntity
"
{
"
#/components/schemas/RouteInfoEntity
"
{
"
boolean
"
{
"
#/components/schemas/StringifiedGreatCircleDistanceEntity
"
{
"
date-time
"
,
"
string
"
{
"
string
"
{
"
#/components/schemas/FlightAwareDataEntity
"
[
{
"
object
"
,
{
{
"
boolean
"
{
"
number
"
{
"
array
"
,
{
"
#/components/schemas/FlightResponseEntity
"
[
{
"
object
"
,
{
{
"
string
"
,
"
FlightAware flight ID for this position
"
{
"
number
"
,
"
Aircraft altitude in hundreds of feet
"
,
350
{
"
string
"
,
"
Altitude change indicator
"
,
[
"
C
"
{
"
number
"
,
"
Groundspeed in knots
"
,
450
{
"
number
"
,
"
Aircraft heading in degrees (0-360)
"
,
270
,
0
,
360
{
"
number
"
,
"
Latitude position
"
,
40.7128
{
"
number
"
,
"
Longitude position
"
,
-74.006
{
"
string
"
,
"
Time that position was received
"
,
"
2024-03-20T14:30:00Z
"
{
"
string
"
,
"
Update type: P=projected, O=oceanic, Z=radar, A=ADS-B, M=multilateration, D=datalink, X=surface and near surface, S=space-based, V=virtual event
"
,
[
[
{
"
object
"
,
{
{
"
number
"
,
"
Distance flown in miles as of the latest position point
"
,
2450
{
"
Array of flight positions
"
,
"
array
"
,
{
"
#/components/schemas/FlightPositionEntity
"
[
{
"
object
"
,
{
{
"
string
"
{
"
number
"
[
{
"
object
"
,
{
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
[
{
"
object
"
,
{
{
"
string
"
{
"
string
"
{
"
string
"
{
"
#/components/schemas/FlightSummaryAirlineEntity
"
{
"
string
"
,
"
Departure airport code (IATA or ICAO)
"
{
"
string
"
,
"
Departure airport name
"
{
"
string
"
,
"
Arrival airport code (IATA or ICAO)
"
{
"
string
"
,
"
Arrival airport name
"
{
"
string
"
,
"
Flight date (ISO string)
"
[
{
"
object
"
,
{
{
"
string
"
{
"
string
"
{
"
number
"
{
"
string
"
[
{
"
object
"
,
{
{
"
string
"
{
"
number
"
{
"
string
"
{
"
array
"
,
{
"
#/components/schemas/FlightSummaryEntity
"
{
"
string
"
{
"
number
"
{
"
number
"
{
"
#/components/schemas/AircraftWithAge
"
{
"
#/components/schemas/AircraftWithAge
"
[
{
"
object
"
,
{
{
"
number
"
,
"
Total number of flights taken
"
{
"
number
"
,
"
Total distance in kilometers
"
{
"
number
"
,
"
Total flight duration in minutes (including delays)
"
{
"
number
"
,
"
Number of unique airports
"
{
"
number
"
,
"
Number of unique airlines
"
[
{
"
object
"
,
{
{
"
#/components/schemas/FlightSummaryEntity
"
{
"
number
"
,
"
Distance in kilometers
"
[
{
"
object
"
,
{
{
"
#/components/schemas/FlightSummaryEntity
"
{
"
number
"
,
"
Duration in minutes
"
[
{
"
object
"
,
{
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
,
"
Airline image URL from DB, when available
"
{
"
number
"
[
{
"
object
"
,
{
{
"
string
"
{
"
string
"
{
"
number
"
,
"
Number of flights departing from this airport
"
[
{
"
object
"
,
{
{
"
string
"
{
"
string
"
{
"
number
"
[
{
"
object
"
,
{
{
"
#/components/schemas/MostFlownAircraftEntity
"
{
"
#/components/schemas/AircraftStatsEntity
"
{
"
#/components/schemas/PassportEntity
"
{
"
#/components/schemas/FlightDistanceEntity
"
{
"
#/components/schemas/FlightDistanceEntity
"
{
"
#/components/schemas/FlightDurationEntity
"
{
"
#/components/schemas/FlightDurationEntity
"
{
"
array
"
,
{
"
#/components/schemas/AirlineStatsEntity
"
{
"
array
"
,
{
"
#/components/schemas/AirportStatsEntity
"
{
"
array
"
,
{
"
#/components/schemas/TopRouteEntity
"
[