API documentation

Get All parkings (access points) where the current user is Parking Owner

GET /api/car_driver/secured_parkings

Include access_token in HTTP header:

Authorization: Bearer 09ba487fc3df...


This web service returns access point where the current user is Parking owner


Status Code: 200 if OK

  "parkings": [
      "parking": {
        "id": 101,
        "name": "APi",
        "is_active": true,
        "number_of_requests": 5,
        "location": {
            "street": "George Baritiu",
            "point": {
                "latitude": "46.77262",
                "longitude": "23.586577"
            "city": "Cluj-Napoca",
            "country": "Romania"
Parameter name Parameter type Description
parkings list of objects list of parkings objects
parking objects object containing all parking info
name string name of the parking
id int the id of the parking
is_active bool true if the parking is active
number_of_requests int number of access requests on the parking
location object object containing the location of the parking

Status Code: 401 if request not ok