Spot: GET

Retrieves parking spot information.

Request

To get all parking spots for a specified lot make request to:

/api/lot/:lotID/spot/

To get information for a specific parking spot:

/api/lot/:lotID/spot/:spotID/

Requires bearer authentication.

Response

Status: 200

JSON object containing parking spot(s).

body: { 
    name: 'example spot',
    description: 'example spot description',
    lotID: '55960edd4aa657147baae1d3',
    _id: '59960edd4aa657147baae1d4',
    timeslots: [] 
}

results matching ""

    No results matching ""