improve UI and eliminate aerodatabox to get flights detailsf6487dca year ago1997 lines · 52.7 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/flight/track": |
| 836 | "get": |
| 837 | "description": |
| 838 | "operationId": |
| 839 | "parameters": |
| 840 | { |
| 841 | "name": |
| 842 | "required": |
| 843 | "in": |
| 844 | "description": |
| 845 | "schema": |
| 846 | "example": |
| 847 | "type": |
| 848 | } |
| 849 | }, |
| 850 | { |
| 851 | "name": |
| 852 | "required": |
| 853 | "in": |
| 854 | "description": |
| 855 | "schema": |
| 856 | "example": |
| 857 | "type": |
| 858 | } |
| 859 | }, |
| 860 | { |
| 861 | "name": |
| 862 | "required": |
| 863 | "in": |
| 864 | "description": |
| 865 | "schema": |
| 866 | "example": |
| 867 | "type": |
| 868 | } |
| 869 | } |
| 870 | ], |
| 871 | "responses": |
| 872 | "200": |
| 873 | "description": |
| 874 | "content": |
| 875 | "application/json": |
| 876 | "schema": |
| 877 | "$ref": |
| 878 | } |
| 879 | } |
| 880 | } |
| 881 | }, |
| 882 | "400": |
| 883 | "description": |
| 884 | "content": |
| 885 | "application/json": |
| 886 | "schema": |
| 887 | "$ref": |
| 888 | } |
| 889 | } |
| 890 | } |
| 891 | }, |
| 892 | "401": |
| 893 | "description": |
| 894 | "content": |
| 895 | "application/json": |
| 896 | "schema": |
| 897 | "$ref": |
| 898 | } |
| 899 | } |
| 900 | } |
| 901 | }, |
| 902 | "500": |
| 903 | "description": |
| 904 | "content": |
| 905 | "application/json": |
| 906 | "schema": |
| 907 | "$ref": |
| 908 | } |
| 909 | } |
| 910 | } |
| 911 | } |
| 912 | }, |
| 913 | "security": |
| 914 | { |
| 915 | "JWT-auth": |
| 916 | } |
| 917 | ], |
| 918 | "summary": |
| 919 | "tags": |
| 920 | "Flight" |
| 921 | ] |
| 922 | } |
| 923 | }, |
| 924 | "/v1/flight": |
| 925 | "get": |
| 926 | "description": |
| 927 | "operationId": |
| 928 | "parameters": |
| 929 | { |
| 930 | "name": |
| 931 | "required": |
| 932 | "in": |
| 933 | "description": |
| 934 | "schema": |
| 935 | "example": |
| 936 | "type": |
| 937 | } |
| 938 | }, |
| 939 | { |
| 940 | "name": |
| 941 | "required": |
| 942 | "in": |
| 943 | "description": |
| 944 | "schema": |
| 945 | "example": |
| 946 | "type": |
| 947 | } |
| 948 | }, |
| 949 | { |
| 950 | "name": |
| 951 | "required": |
| 952 | "in": |
| 953 | "schema": |
| 954 | "type": |
| 955 | } |
| 956 | }, |
| 957 | { |
| 958 | "name": |
| 959 | "required": |
| 960 | "in": |
| 961 | "description": |
| 962 | "schema": |
| 963 | "example": |
| 964 | "type": |
| 965 | } |
| 966 | } |
| 967 | ], |
| 968 | "responses": |
| 969 | "200": |
| 970 | "description": |
| 971 | "content": |
| 972 | "application/json": |
| 973 | "schema": |
| 974 | "$ref": |
| 975 | } |
| 976 | } |
| 977 | } |
| 978 | }, |
| 979 | "400": |
| 980 | "description": |
| 981 | "content": |
| 982 | "application/json": |
| 983 | "schema": |
| 984 | "$ref": |
| 985 | } |
| 986 | } |
| 987 | } |
| 988 | }, |
| 989 | "401": |
| 990 | "description": |
| 991 | "content": |
| 992 | "application/json": |
| 993 | "schema": |
| 994 | "$ref": |
| 995 | } |
| 996 | } |
| 997 | } |
| 998 | }, |
| 999 | "500": |
| 1000 | "description": |
| 1001 | "content": |
| 1002 | "application/json": |
| 1003 | "schema": |
| 1004 | "$ref": |
| 1005 | } |
| 1006 | } |
| 1007 | } |
| 1008 | } |
| 1009 | }, |
| 1010 | "security": |
| 1011 | { |
| 1012 | "JWT-auth": |
| 1013 | } |
| 1014 | ], |
| 1015 | "summary": |
| 1016 | "tags": |
| 1017 | "Flight" |
| 1018 | ] |
| 1019 | } |
| 1020 | } |
| 1021 | }, |
| 1022 | "info": |
| 1023 | "title": |
| 1024 | "description": |
| 1025 | "version": |
| 1026 | "contact": |
| 1027 | }, |
| 1028 | "tags": |
| 1029 | "servers": |
| 1030 | "components": |
| 1031 | "securitySchemes": |
| 1032 | "JWT-auth": |
| 1033 | "scheme": |
| 1034 | "bearerFormat": |
| 1035 | "type": |
| 1036 | } |
| 1037 | }, |
| 1038 | "schemas": |
| 1039 | "LoginDTO": |
| 1040 | "type": |
| 1041 | "properties": |
| 1042 | "email": |
| 1043 | "type": |
| 1044 | }, |
| 1045 | "password": |
| 1046 | "type": |
| 1047 | } |
| 1048 | }, |
| 1049 | "required": |
| 1050 | "email", |
| 1051 | "password" |
| 1052 | ] |
| 1053 | }, |
| 1054 | "UserEntity": |
| 1055 | "type": |
| 1056 | "properties": |
| 1057 | "name": |
| 1058 | "type": |
| 1059 | }, |
| 1060 | "id": |
| 1061 | "type": |
| 1062 | } |
| 1063 | }, |
| 1064 | "required": |
| 1065 | "name", |
| 1066 | "id" |
| 1067 | ] |
| 1068 | }, |
| 1069 | "LoginEntity": |
| 1070 | "type": |
| 1071 | "properties": |
| 1072 | "token": |
| 1073 | "type": |
| 1074 | "description": |
| 1075 | }, |
| 1076 | "user": |
| 1077 | "$ref": |
| 1078 | } |
| 1079 | }, |
| 1080 | "required": |
| 1081 | "token", |
| 1082 | "user" |
| 1083 | ] |
| 1084 | }, |
| 1085 | "GenericErrorEntity": |
| 1086 | "type": |
| 1087 | "properties": |
| 1088 | "message": |
| 1089 | "type": |
| 1090 | } |
| 1091 | }, |
| 1092 | "required": |
| 1093 | "message" |
| 1094 | ] |
| 1095 | }, |
| 1096 | "RegisterDTO": |
| 1097 | "type": |
| 1098 | "properties": |
| 1099 | "email": |
| 1100 | "type": |
| 1101 | }, |
| 1102 | "password": |
| 1103 | "type": |
| 1104 | }, |
| 1105 | "name": |
| 1106 | "type": |
| 1107 | } |
| 1108 | }, |
| 1109 | "required": |
| 1110 | "email", |
| 1111 | "password", |
| 1112 | "name" |
| 1113 | ] |
| 1114 | }, |
| 1115 | "RegisterEntity": |
| 1116 | "type": |
| 1117 | "properties": |
| 1118 | "token": |
| 1119 | "type": |
| 1120 | "description": |
| 1121 | }, |
| 1122 | "user": |
| 1123 | "$ref": |
| 1124 | } |
| 1125 | }, |
| 1126 | "required": |
| 1127 | "token", |
| 1128 | "user" |
| 1129 | ] |
| 1130 | }, |
| 1131 | "AirportType": |
| 1132 | "type": |
| 1133 | "enum": |
| 1134 | "small_airport", |
| 1135 | "seaplane_base", |
| 1136 | "medium_airport", |
| 1137 | "large_airport", |
| 1138 | "heliport", |
| 1139 | "closed", |
| 1140 | "balloonport" |
| 1141 | ] |
| 1142 | }, |
| 1143 | "AirportEntity": |
| 1144 | "type": |
| 1145 | "properties": |
| 1146 | "id": |
| 1147 | "type": |
| 1148 | }, |
| 1149 | "ident": |
| 1150 | "type": |
| 1151 | "example": |
| 1152 | }, |
| 1153 | "type": |
| 1154 | "allOf": |
| 1155 | { |
| 1156 | "$ref": |
| 1157 | } |
| 1158 | ] |
| 1159 | }, |
| 1160 | "elevation": |
| 1161 | "type": |
| 1162 | "description": |
| 1163 | }, |
| 1164 | "continent": |
| 1165 | "type": |
| 1166 | "examples": |
| 1167 | "AS", |
| 1168 | "EU" |
| 1169 | ] |
| 1170 | }, |
| 1171 | "isoCountry": |
| 1172 | "type": |
| 1173 | }, |
| 1174 | "isoRegion": |
| 1175 | "type": |
| 1176 | }, |
| 1177 | "municipality": |
| 1178 | "type": |
| 1179 | }, |
| 1180 | "gpsCode": |
| 1181 | "type": |
| 1182 | }, |
| 1183 | "iataCode": |
| 1184 | "type": |
| 1185 | "description": |
| 1186 | }, |
| 1187 | "name": |
| 1188 | "type": |
| 1189 | }, |
| 1190 | "lat": |
| 1191 | "type": |
| 1192 | }, |
| 1193 | "long": |
| 1194 | "type": |
| 1195 | } |
| 1196 | }, |
| 1197 | "required": |
| 1198 | "id", |
| 1199 | "ident", |
| 1200 | "type", |
| 1201 | "continent", |
| 1202 | "isoCountry", |
| 1203 | "isoRegion", |
| 1204 | "name", |
| 1205 | "lat", |
| 1206 | "long" |
| 1207 | ] |
| 1208 | }, |
| 1209 | "AirlineEntity": |
| 1210 | "type": |
| 1211 | "properties": |
| 1212 | "id": |
| 1213 | "type": |
| 1214 | }, |
| 1215 | "name": |
| 1216 | "type": |
| 1217 | }, |
| 1218 | "icao": |
| 1219 | "type": |
| 1220 | }, |
| 1221 | "iata": |
| 1222 | "type": |
| 1223 | }, |
| 1224 | "image": |
| 1225 | "type": |
| 1226 | } |
| 1227 | }, |
| 1228 | "required": |
| 1229 | "id", |
| 1230 | "name", |
| 1231 | "icao", |
| 1232 | "iata" |
| 1233 | ] |
| 1234 | }, |
| 1235 | "GetAirlineDTO": |
| 1236 | "type": |
| 1237 | "properties": |
| 1238 | "search": |
| 1239 | "type": |
| 1240 | "description": |
| 1241 | } |
| 1242 | }, |
| 1243 | "required": |
| 1244 | "search" |
| 1245 | ] |
| 1246 | }, |
| 1247 | "FlightsRouteEntity": |
| 1248 | "type": |
| 1249 | "properties": |
| 1250 | "from": |
| 1251 | "type": |
| 1252 | }, |
| 1253 | "to": |
| 1254 | "type": |
| 1255 | } |
| 1256 | }, |
| 1257 | "required": |
| 1258 | "from", |
| 1259 | "to" |
| 1260 | ] |
| 1261 | }, |
| 1262 | "AirlineInfo": |
| 1263 | "type": |
| 1264 | "properties": |
| 1265 | "name": |
| 1266 | "type": |
| 1267 | }, |
| 1268 | "iataCode": |
| 1269 | "type": |
| 1270 | }, |
| 1271 | "icaoCode": |
| 1272 | "type": |
| 1273 | } |
| 1274 | }, |
| 1275 | "required": |
| 1276 | "name", |
| 1277 | "iataCode" |
| 1278 | ] |
| 1279 | }, |
| 1280 | "AircraftFlightEntity": |
| 1281 | "type": |
| 1282 | "properties": |
| 1283 | "iataNumber": |
| 1284 | "type": |
| 1285 | }, |
| 1286 | "icaoNumber": |
| 1287 | "type": |
| 1288 | }, |
| 1289 | "number": |
| 1290 | "type": |
| 1291 | } |
| 1292 | }, |
| 1293 | "required": |
| 1294 | "iataNumber", |
| 1295 | "icaoNumber", |
| 1296 | "number" |
| 1297 | ] |
| 1298 | }, |
| 1299 | "AirportInfo": |
| 1300 | "type": |
| 1301 | "properties": |
| 1302 | "actualRunway": |
| 1303 | "type": |
| 1304 | }, |
| 1305 | "actualTime": |
| 1306 | "type": |
| 1307 | }, |
| 1308 | "baggage": |
| 1309 | "type": |
| 1310 | }, |
| 1311 | "delay": |
| 1312 | "type": |
| 1313 | "description": |
| 1314 | }, |
| 1315 | "estimatedRunway": |
| 1316 | "type": |
| 1317 | }, |
| 1318 | "estimatedTime": |
| 1319 | "type": |
| 1320 | }, |
| 1321 | "gate": |
| 1322 | "type": |
| 1323 | }, |
| 1324 | "iataCode": |
| 1325 | "type": |
| 1326 | }, |
| 1327 | "icaoCode": |
| 1328 | "type": |
| 1329 | }, |
| 1330 | "scheduledTime": |
| 1331 | "type": |
| 1332 | }, |
| 1333 | "terminal": |
| 1334 | "type": |
| 1335 | } |
| 1336 | } |
| 1337 | }, |
| 1338 | "FlightStatus": |
| 1339 | "type": |
| 1340 | "enum": |
| 1341 | "scheduled", |
| 1342 | "active", |
| 1343 | "landed", |
| 1344 | "cancelled", |
| 1345 | "incident", |
| 1346 | "diverted", |
| 1347 | "unknown" |
| 1348 | ] |
| 1349 | }, |
| 1350 | "FlighType": |
| 1351 | "type": |
| 1352 | "enum": |
| 1353 | "arrival", |
| 1354 | "departure" |
| 1355 | ] |
| 1356 | }, |
| 1357 | "FlightEntity": |
| 1358 | "type": |
| 1359 | "properties": |
| 1360 | "airline": |
| 1361 | "$ref": |
| 1362 | }, |
| 1363 | "flight": |
| 1364 | "$ref": |
| 1365 | }, |
| 1366 | "departure": |
| 1367 | "$ref": |
| 1368 | }, |
| 1369 | "arrival": |
| 1370 | "$ref": |
| 1371 | }, |
| 1372 | "status": |
| 1373 | "allOf": |
| 1374 | { |
| 1375 | "$ref": |
| 1376 | } |
| 1377 | ] |
| 1378 | }, |
| 1379 | "type": |
| 1380 | "allOf": |
| 1381 | { |
| 1382 | "$ref": |
| 1383 | } |
| 1384 | ] |
| 1385 | }, |
| 1386 | "codeshared": |
| 1387 | "type": |
| 1388 | } |
| 1389 | }, |
| 1390 | "required": |
| 1391 | "airline", |
| 1392 | "flight", |
| 1393 | "departure", |
| 1394 | "arrival", |
| 1395 | "status", |
| 1396 | "type" |
| 1397 | ] |
| 1398 | }, |
| 1399 | "FlightsResponseEntity": |
| 1400 | "type": |
| 1401 | "properties": |
| 1402 | "success": |
| 1403 | "type": |
| 1404 | }, |
| 1405 | "date": |
| 1406 | "type": |
| 1407 | }, |
| 1408 | "route": |
| 1409 | "$ref": |
| 1410 | }, |
| 1411 | "flightCount": |
| 1412 | "type": |
| 1413 | }, |
| 1414 | "flights": |
| 1415 | "type": |
| 1416 | "items": |
| 1417 | "$ref": |
| 1418 | } |
| 1419 | } |
| 1420 | }, |
| 1421 | "required": |
| 1422 | "success", |
| 1423 | "date", |
| 1424 | "route", |
| 1425 | "flightCount", |
| 1426 | "flights" |
| 1427 | ] |
| 1428 | }, |
| 1429 | "FlightPositionEntity": |
| 1430 | "type": |
| 1431 | "properties": |
| 1432 | "fa_flight_id": |
| 1433 | "type": |
| 1434 | "description": |
| 1435 | }, |
| 1436 | "altitude": |
| 1437 | "type": |
| 1438 | "description": |
| 1439 | "example": |
| 1440 | }, |
| 1441 | "altitude_change": |
| 1442 | "type": |
| 1443 | "description": |
| 1444 | "enum": |
| 1445 | "C", |
| 1446 | "D", |
| 1447 | "-" |
| 1448 | ], |
| 1449 | "example": |
| 1450 | }, |
| 1451 | "groundspeed": |
| 1452 | "type": |
| 1453 | "description": |
| 1454 | "example": |
| 1455 | }, |
| 1456 | "heading": |
| 1457 | "type": |
| 1458 | "description": |
| 1459 | "example": |
| 1460 | "minimum": |
| 1461 | "maximum": |
| 1462 | }, |
| 1463 | "latitude": |
| 1464 | "type": |
| 1465 | "description": |
| 1466 | "example": |
| 1467 | }, |
| 1468 | "longitude": |
| 1469 | "type": |
| 1470 | "description": |
| 1471 | "example": |
| 1472 | }, |
| 1473 | "timestamp": |
| 1474 | "type": |
| 1475 | "description": |
| 1476 | "example": |
| 1477 | }, |
| 1478 | "update_type": |
| 1479 | "type": |
| 1480 | "description": |
| 1481 | "enum": |
| 1482 | "P", |
| 1483 | "O", |
| 1484 | "Z", |
| 1485 | "A", |
| 1486 | "M", |
| 1487 | "D", |
| 1488 | "X", |
| 1489 | "S", |
| 1490 | "V" |
| 1491 | ] |
| 1492 | } |
| 1493 | }, |
| 1494 | "required": |
| 1495 | "altitude", |
| 1496 | "altitude_change", |
| 1497 | "groundspeed", |
| 1498 | "latitude", |
| 1499 | "longitude", |
| 1500 | "timestamp" |
| 1501 | ] |
| 1502 | }, |
| 1503 | "FlightTrackResponseEntity": |
| 1504 | "type": |
| 1505 | "properties": |
| 1506 | "actual_distance": |
| 1507 | "type": |
| 1508 | "description": |
| 1509 | "example": |
| 1510 | }, |
| 1511 | "positions": |
| 1512 | "description": |
| 1513 | "type": |
| 1514 | "items": |
| 1515 | "$ref": |
| 1516 | } |
| 1517 | } |
| 1518 | }, |
| 1519 | "required": |
| 1520 | "positions" |
| 1521 | ] |
| 1522 | }, |
| 1523 | "AircraftEntity": |
| 1524 | "type": |
| 1525 | "properties": |
| 1526 | "modeS": |
| 1527 | "type": |
| 1528 | }, |
| 1529 | "registration": |
| 1530 | "type": |
| 1531 | }, |
| 1532 | "model": |
| 1533 | "type": |
| 1534 | }, |
| 1535 | "image": |
| 1536 | "type": |
| 1537 | }, |
| 1538 | "aircraft_id": |
| 1539 | "type": |
| 1540 | }, |
| 1541 | "age": |
| 1542 | "type": |
| 1543 | }, |
| 1544 | "firstFlightDate": |
| 1545 | "type": |
| 1546 | }, |
| 1547 | "deliveryDate": |
| 1548 | "type": |
| 1549 | }, |
| 1550 | "isFreighter": |
| 1551 | "type": |
| 1552 | }, |
| 1553 | "attribution": |
| 1554 | "type": |
| 1555 | }, |
| 1556 | "payload": |
| 1557 | "type": |
| 1558 | } |
| 1559 | }, |
| 1560 | "required": |
| 1561 | "model" |
| 1562 | ] |
| 1563 | }, |
| 1564 | "PartialAirlineEntity": |
| 1565 | "type": |
| 1566 | "properties": |
| 1567 | "name": |
| 1568 | "type": |
| 1569 | }, |
| 1570 | "iata": |
| 1571 | "type": |
| 1572 | }, |
| 1573 | "icao": |
| 1574 | "type": |
| 1575 | } |
| 1576 | }, |
| 1577 | "required": |
| 1578 | "name" |
| 1579 | ] |
| 1580 | }, |
| 1581 | "LocationEntity": |
| 1582 | "type": |
| 1583 | "properties": |
| 1584 | "lat": |
| 1585 | "type": |
| 1586 | }, |
| 1587 | "lon": |
| 1588 | "type": |
| 1589 | } |
| 1590 | }, |
| 1591 | "required": |
| 1592 | "lat", |
| 1593 | "lon" |
| 1594 | ] |
| 1595 | }, |
| 1596 | "RouteAirportEntity": |
| 1597 | "type": |
| 1598 | "properties": |
| 1599 | "iata": |
| 1600 | "type": |
| 1601 | }, |
| 1602 | "icao": |
| 1603 | "type": |
| 1604 | }, |
| 1605 | "name": |
| 1606 | "type": |
| 1607 | }, |
| 1608 | "timeZone": |
| 1609 | "type": |
| 1610 | }, |
| 1611 | "shortName": |
| 1612 | "type": |
| 1613 | }, |
| 1614 | "countryCode": |
| 1615 | "type": |
| 1616 | }, |
| 1617 | "municipalityName": |
| 1618 | "type": |
| 1619 | }, |
| 1620 | "location": |
| 1621 | "$ref": |
| 1622 | } |
| 1623 | }, |
| 1624 | "required": |
| 1625 | "iata", |
| 1626 | "icao", |
| 1627 | "name", |
| 1628 | "timeZone", |
| 1629 | "shortName", |
| 1630 | "countryCode", |
| 1631 | "municipalityName", |
| 1632 | "location" |
| 1633 | ] |
| 1634 | }, |
| 1635 | "TimeEntity": |
| 1636 | "type": |
| 1637 | "properties": |
| 1638 | "utc": |
| 1639 | "type": |
| 1640 | }, |
| 1641 | "local": |
| 1642 | "type": |
| 1643 | } |
| 1644 | }, |
| 1645 | "required": |
| 1646 | "utc", |
| 1647 | "local" |
| 1648 | ] |
| 1649 | }, |
| 1650 | "RouteInfoEntity": |
| 1651 | "type": |
| 1652 | "properties": |
| 1653 | "airport": |
| 1654 | "$ref": |
| 1655 | }, |
| 1656 | "terminal": |
| 1657 | "type": |
| 1658 | }, |
| 1659 | "gate": |
| 1660 | "type": |
| 1661 | }, |
| 1662 | "scheduledTime": |
| 1663 | "$ref": |
| 1664 | }, |
| 1665 | "revisedTime": |
| 1666 | "$ref": |
| 1667 | }, |
| 1668 | "predictedTime": |
| 1669 | "$ref": |
| 1670 | }, |
| 1671 | "baggageBelt": |
| 1672 | "type": |
| 1673 | } |
| 1674 | }, |
| 1675 | "required": |
| 1676 | "airport", |
| 1677 | "scheduledTime" |
| 1678 | ] |
| 1679 | }, |
| 1680 | "StringifiedGreatCircleDistanceEntity": |
| 1681 | "type": |
| 1682 | "properties": |
| 1683 | "meter": |
| 1684 | "type": |
| 1685 | }, |
| 1686 | "km": |
| 1687 | "type": |
| 1688 | }, |
| 1689 | "mile": |
| 1690 | "type": |
| 1691 | }, |
| 1692 | "nm": |
| 1693 | "type": |
| 1694 | }, |
| 1695 | "feet": |
| 1696 | "type": |
| 1697 | } |
| 1698 | } |
| 1699 | }, |
| 1700 | "FlightAwareDataEntity": |
| 1701 | "type": |
| 1702 | "properties": |
| 1703 | "id": |
| 1704 | "type": |
| 1705 | }, |
| 1706 | "ident": |
| 1707 | "type": |
| 1708 | "description": |
| 1709 | }, |
| 1710 | "identIcao": |
| 1711 | "type": |
| 1712 | }, |
| 1713 | "identIata": |
| 1714 | "type": |
| 1715 | }, |
| 1716 | "actualRunwayOff": |
| 1717 | "type": |
| 1718 | }, |
| 1719 | "actualRunwayOn": |
| 1720 | "type": |
| 1721 | }, |
| 1722 | "operator": |
| 1723 | "type": |
| 1724 | }, |
| 1725 | "operatorIcao": |
| 1726 | "type": |
| 1727 | }, |
| 1728 | "operatorIata": |
| 1729 | "type": |
| 1730 | }, |
| 1731 | "flightNumber": |
| 1732 | "type": |
| 1733 | }, |
| 1734 | "registration": |
| 1735 | "type": |
| 1736 | }, |
| 1737 | "atcIdent": |
| 1738 | "type": |
| 1739 | }, |
| 1740 | "inboundFaFlightId": |
| 1741 | "type": |
| 1742 | }, |
| 1743 | "codesharesIata": |
| 1744 | "type": |
| 1745 | "items": |
| 1746 | "type": |
| 1747 | } |
| 1748 | }, |
| 1749 | "departureDelay": |
| 1750 | "type": |
| 1751 | "description": |
| 1752 | }, |
| 1753 | "arrivalDelay": |
| 1754 | "type": |
| 1755 | "description": |
| 1756 | }, |
| 1757 | "filedEte": |
| 1758 | "type": |
| 1759 | "description": |
| 1760 | }, |
| 1761 | "progressPercent": |
| 1762 | "type": |
| 1763 | "description": |
| 1764 | }, |
| 1765 | "status": |
| 1766 | "type": |
| 1767 | "description": |
| 1768 | }, |
| 1769 | "aircraftType": |
| 1770 | "type": |
| 1771 | }, |
| 1772 | "routeDistance": |
| 1773 | "type": |
| 1774 | "description": |
| 1775 | }, |
| 1776 | "filedAirspeed": |
| 1777 | "type": |
| 1778 | "description": |
| 1779 | }, |
| 1780 | "filedAltitude": |
| 1781 | "type": |
| 1782 | "description": |
| 1783 | }, |
| 1784 | "route": |
| 1785 | "type": |
| 1786 | }, |
| 1787 | "baggageClaim": |
| 1788 | "type": |
| 1789 | }, |
| 1790 | "seatsCabinBusiness": |
| 1791 | "type": |
| 1792 | "description": |
| 1793 | }, |
| 1794 | "seatsCabinCoach": |
| 1795 | "type": |
| 1796 | "description": |
| 1797 | }, |
| 1798 | "seatsCabinFirst": |
| 1799 | "type": |
| 1800 | "description": |
| 1801 | }, |
| 1802 | "gateOrigin": |
| 1803 | "type": |
| 1804 | }, |
| 1805 | "gateDestination": |
| 1806 | "type": |
| 1807 | }, |
| 1808 | "terminalOrigin": |
| 1809 | "type": |
| 1810 | }, |
| 1811 | "terminalDestination": |
| 1812 | "type": |
| 1813 | }, |
| 1814 | "scheduledOut": |
| 1815 | "format": |
| 1816 | "type": |
| 1817 | }, |
| 1818 | "estimatedOut": |
| 1819 | "format": |
| 1820 | "type": |
| 1821 | }, |
| 1822 | "actualOut": |
| 1823 | "format": |
| 1824 | "type": |
| 1825 | }, |
| 1826 | "scheduledOff": |
| 1827 | "format": |
| 1828 | "type": |
| 1829 | }, |
| 1830 | "estimatedOff": |
| 1831 | "format": |
| 1832 | "type": |
| 1833 | }, |
| 1834 | "actualOff": |
| 1835 | "format": |
| 1836 | "type": |
| 1837 | }, |
| 1838 | "scheduledOn": |
| 1839 | "format": |
| 1840 | "type": |
| 1841 | }, |
| 1842 | "estimatedOn": |
| 1843 | "format": |
| 1844 | "type": |
| 1845 | }, |
| 1846 | "actualOn": |
| 1847 | "format": |
| 1848 | "type": |
| 1849 | }, |
| 1850 | "scheduledIn": |
| 1851 | "format": |
| 1852 | "type": |
| 1853 | }, |
| 1854 | "estimatedIn": |
| 1855 | "format": |
| 1856 | "type": |
| 1857 | }, |
| 1858 | "actualIn": |
| 1859 | "format": |
| 1860 | "type": |
| 1861 | }, |
| 1862 | "foresightPredictionsAvailable": |
| 1863 | "type": |
| 1864 | "description": |
| 1865 | }, |
| 1866 | "blocked": |
| 1867 | "type": |
| 1868 | }, |
| 1869 | "diverted": |
| 1870 | "type": |
| 1871 | }, |
| 1872 | "cancelled": |
| 1873 | "type": |
| 1874 | }, |
| 1875 | "positionOnly": |
| 1876 | "type": |
| 1877 | }, |
| 1878 | "originCode": |
| 1879 | "type": |
| 1880 | }, |
| 1881 | "originCodeIcao": |
| 1882 | "type": |
| 1883 | }, |
| 1884 | "originCodeIata": |
| 1885 | "type": |
| 1886 | }, |
| 1887 | "originCodeLid": |
| 1888 | "type": |
| 1889 | }, |
| 1890 | "originTimezone": |
| 1891 | "type": |
| 1892 | }, |
| 1893 | "originName": |
| 1894 | "type": |
| 1895 | }, |
| 1896 | "originCity": |
| 1897 | "type": |
| 1898 | }, |
| 1899 | "destinationCode": |
| 1900 | "type": |
| 1901 | }, |
| 1902 | "destinationCodeIcao": |
| 1903 | "type": |
| 1904 | }, |
| 1905 | "destinationCodeIata": |
| 1906 | "type": |
| 1907 | }, |
| 1908 | "destinationCodeLid": |
| 1909 | "type": |
| 1910 | }, |
| 1911 | "destinationTimezone": |
| 1912 | "type": |
| 1913 | }, |
| 1914 | "destinationName": |
| 1915 | "type": |
| 1916 | }, |
| 1917 | "destinationCity": |
| 1918 | "type": |
| 1919 | }, |
| 1920 | "createdAt": |
| 1921 | "format": |
| 1922 | "type": |
| 1923 | }, |
| 1924 | "updatedAt": |
| 1925 | "format": |
| 1926 | "type": |
| 1927 | } |
| 1928 | }, |
| 1929 | "required": |
| 1930 | "id", |
| 1931 | "ident", |
| 1932 | "status", |
| 1933 | "foresightPredictionsAvailable", |
| 1934 | "blocked", |
| 1935 | "diverted", |
| 1936 | "cancelled", |
| 1937 | "positionOnly", |
| 1938 | "createdAt", |
| 1939 | "updatedAt" |
| 1940 | ] |
| 1941 | }, |
| 1942 | "FlightResponseEntity": |
| 1943 | "type": |
| 1944 | "properties": |
| 1945 | "id": |
| 1946 | "type": |
| 1947 | }, |
| 1948 | "flightNo": |
| 1949 | "type": |
| 1950 | }, |
| 1951 | "callSign": |
| 1952 | "type": |
| 1953 | }, |
| 1954 | "aircraft": |
| 1955 | "$ref": |
| 1956 | }, |
| 1957 | "airline": |
| 1958 | "$ref": |
| 1959 | }, |
| 1960 | "arrival": |
| 1961 | "$ref": |
| 1962 | }, |
| 1963 | "departure": |
| 1964 | "$ref": |
| 1965 | }, |
| 1966 | "cargo": |
| 1967 | "type": |
| 1968 | }, |
| 1969 | "greatCircleDistance": |
| 1970 | "$ref": |
| 1971 | }, |
| 1972 | "date": |
| 1973 | "format": |
| 1974 | "type": |
| 1975 | }, |
| 1976 | "image": |
| 1977 | "type": |
| 1978 | }, |
| 1979 | "flightAwareData": |
| 1980 | "$ref": |
| 1981 | } |
| 1982 | }, |
| 1983 | "required": |
| 1984 | "id", |
| 1985 | "flightNo", |
| 1986 | "callSign", |
| 1987 | "airline", |
| 1988 | "arrival", |
| 1989 | "departure", |
| 1990 | "cargo", |
| 1991 | "greatCircleDistance", |
| 1992 | "date" |
| 1993 | ] |
| 1994 | } |
| 1995 | } |
| 1996 | } |
| 1997 | } |
{
{
{
"
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)
"
,
[
{
{
"
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
"
{
{
"
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
"
"
searchedDate
"
,
false
,
"
query
"
,
{
"
string
"
"
date
"
,
false
,
"
query
"
,
"
Flight date (ISO format). Defaults to current date if not provided
"
,
{
"
2024-03-20
"
,
"
string
"
{
{
"
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
"
,
[
{
"
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
"
,
"
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
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
string
"
{
"
boolean
"
{
"
string
"
{
"
object
"
[
{
"
object
"
,
{
{
"
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
"
[