Endpoint: vehicles

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

Request

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

Response

response.json
1{
2 "name": "AT-TE",
3 "model": "All Terrain Tactical Enforcer",
4 "manufacturer": "Rothana Heavy Engineering, Kuat Drive Yards",
5 "cost_in_credits": "unknown",
6 "length": "13.2",
7 "max_atmosphering_speed": "60",
8 "crew": "6",
9 "passengers": "36",
10 "cargo_capacity": "10000",
11 "consumables": "21 days",
12 "vehicle_class": "walker",
13 "pilots": [],
14 "films": [
15 "https://swapi.mimo.dev/api/films/5/",
16 "https://swapi.mimo.dev/api/films/6/"
17 ],
18 "created": "2014-12-20T18:10:07.560000Z",
19 "edited": "2014-12-20T21:30:21.728000Z",
20 "url": "https://swapi.mimo.dev/api/vehicles/53/"
21}