This GraphQL query fetches All Vehicles
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
query allVehicles { vehicles (skip: 0, limit: 3) { results { ACL cargoCapacity consumables costInCredits createdAt crew films (skip: 0, limit: 3) { results { id } } id length manufacturer maxAtmospheringSpeed model name passengers pilots (skip: 0, limit: 3) { results { id } } updatedAt vehicleClass } } }
{ "data": { "vehicles": { "results": [ { "ACL": null, "cargoCapacity": 1000, "consumables": null, "costInCredits": null, "createdAt": "2019-12-13T19:42:34.468Z", "crew": 5, "films": { "results": [ { "id": "SFHc9Y4gXA" }, { "id": "mRAWzGNBfG" } ] }, "id": "GKADuoyFth", "length": 20, "manufacturer": "Kuat Drive Yards, Imperial Department of Military Research", "maxAtmospheringSpeed": 60, "model": "All Terrain Armored Transport", "name": "AT-AT", "passengers": 40, "pilots": { "results": [] }, "updatedAt": "2019-12-13T19:42:37.543Z", "vehicleClass": "assault walker" }, { "ACL": null, "cargoCapacity": 1800000, "consumables": "1 day", "costInCredits": 200000, "createdAt": "2019-12-13T19:42:34.350Z", "crew": 140, "films": { "results": [ { "id": "fMoDABNwV9" } ] }, "id": "AkwpyZDVub", "length": 210, "manufacturer": "Haor Chall Engineering", "maxAtmospheringSpeed": 587, "model": "C-9979 landing craft", "name": "C-9979 landing craft", "passengers": 284, "pilots": { "results": [] }, "updatedAt": "2019-12-13T19:42:37.543Z", "vehicleClass": "landing craft" }, { "ACL": null, "cargoCapacity": 200, "consumables": "none", "costInCredits": 5750, "createdAt": "2019-12-13T19:42:34.484Z", "crew": 1, "films": { "results": [ { "id": "NtEIWnlRYH" } ] }, "id": "eBd6n35xfU", "length": 3.68, "manufacturer": "Mobquet Swoops and Speeders", "maxAtmospheringSpeed": 350, "model": "Zephyr-G swoop bike", "name": "Zephyr-G swoop bike", "passengers": 1, "pilots": { "results": [ { "id": "KpigKjIB6J" } ] }, "updatedAt": "2019-12-13T19:42:37.546Z", "vehicleClass": "repulsorcraft" } ] } } }