Vehicles
List vehicles
Returns a paginated list of all vehicles.
get/vehicles
Request
- Base URL: http://localhost:3000
- URL: http://localhost:3000/vehicles
- Auth: none declared
Query parameters
pagestring
Page number (1-based)
limitstring
Number of items per page (max 100)
Response
Paginated list of vehicles
Example response
{
"data": [
{
"id": 1,
"make": "Suzuki",
"model": "S4",
"year": 2021,
"fuel_tank_capacity": "51.1"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 50,
"totalPages": 3
}
}Changes
No recorded changes to this operation across all 1 revision of this API.