# api test capi_test: path: /capi/test controller: App\Controller\CAPI\TestController::test # battery api # battery models #capi_battery_models: # path: /capi/battery_models # controller: App\Controller\CAPI\BatteryController::getModels # methods: [GET] # battery models capi_battery_brands: path: /capi/battery_brands controller: App\Controller\CAPI\BatteryController::getBrands methods: [GET] # batteries capi_batteries: path: /capi/batteries controller: App\Controller\CAPI\BatteryController::getBatteries methods: [GET] # battery sizes capi_battery_sizes: path: /capi/battery_sizes controller: App\Controller\CAPI\BatteryController::getSizes methods: [GET] # vehicle api capi_vehicle_mfgs: path: /capi/vehicle_manufacturers controller: App\Controller\CAPI\VehicleController::getManufacturers methods: [GET] capi_vehicle_list: path: /capi/vehicles controller: App\Controller\CAPI\VehicleController::list methods: [GET] # plate api capi_plate_warranty: path: /capi/plates/{plate_number}/warranties controller: App\Controller\CAPI\WarrantyController::getPlateWarranties methods: [GET] # warranty api # check warranty by serial capi_warranty_find: path: /capi/warranties/{serial} controller: App\Controller\CAPI\WarrantyController::find methods: [GET] # register battery capi_warranty_register: path: /capi/warranties controller: App\Controller\CAPI\WarrantyController::register methods: [POST] # claim warranty capi_warranty_claim: path: /capi/warranties/{id}/claim controller: App\Controller\CAPI\WarrantyController::claim methods: [POST] # get warranties capi_warranty_get_all: path: /capi/warranties controller: App\Controller\CAPI\WarrantyController::getAll methods: [GET] # customer vehicle api # find customer vehicle by id capi_cv_find_by_id: path: /capi/customer_vehicle/id/{id} controller: App\Controller\::findByID methods: [GET] # find customer vehicle by plate capi_cv_find_by_plate: path: /capi/customer_vehicle/plate/{plate} controller: App\Controller\CAPI\CustomerVehicle::findByPlate methods: [GET] # register customer vehicle capi_cv_register: path: /capi/customer_vehicle controller: App\Controller\CAPI\CustomerVehicle::register methods: [POST]