# 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 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] # warranty api # check warranty by serial capi_warranty_find: path: /capi/warranty/{serial} controller: App\Controller\CAPI\WarrantyController::find methods: [GET] # register battery capi_warranty_register: path: /capi/warranty controller: App\Controller\CAPI\WarrantyController::register methods: [POST] # claim warranty capi_warranty_claim: path: /capi/warranty/{serial}/claim controller: App\Controller\CAPI\WarrantyController::claim methods: [POST] # 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]