Get Single Bus Endpoint

Retrieves all details about a single bus when you pass the bus ID as a path parameter. You'll find extra details below.

Get a Single Bus

get

This endpoint allows users to fetch the details of a bus using the bus_id and returns details like name, ID, and the seating arrangement of the bus.

Path parameters
bus_idintegerRequired

The ID of the bus.

Responses
chevron-right
200

Bus details retrieved successfully.

application/json
successbooleanOptional

Indicates whether the request was successful.

Example: true
statusintegerOptional

HTTP status code representing the response status.

Example: 200
messagestringOptional

Human-readable description of the response.

Example: Haice bus
get
/api/v1/merpi/transport/buses/{bus_id}

Last updated