Endpoint: vehicles

GEThttps://swapi.mimo.dev/api/vehicles/AT-ST

Request

GETvehicles
1fetch("https://swapi.mimo.dev/api/vehicles/AT-ST")
2 .then((res) => res.json())
3 .then((json) => console.log(json))
4 .catch((error) => console.error(error))

Response

response.json
1{
2 "name": "AT-ST",
3 "model": "All Terrain Scout Transport",
4 "manufacturer": "Kuat Drive Yards, Imperial Department of Military Research",
5 "cost_in_credits": "unknown",
6 "length": "2",
7 "max_atmosphering_speed": "90",
8 "crew": "2",
9 "passengers": "0",
10 "cargo_capacity": "200",
11 "consumables": "none",
12 "vehicle_class": "walker",
13 "pilots": [
14 "https://swapi.mimo.dev/api/people/13/"
15 ],
16 "films": [
17 "https://swapi.mimo.dev/api/films/2/",
18 "https://swapi.mimo.dev/api/films/3/"
19 ],
20 "created": "2014-12-15T12:46:42.384000Z",
21 "edited": "2014-12-20T21:30:21.679000Z",
22 "url": "https://swapi.mimo.dev/api/vehicles/19/"
23}