Skip to content

[FEATURE REQUEST] API endpoints for Inspection Record Templates (CRUD) #1435

Description

@npgause

Checklist
Please make sure you have performed the following steps before submitting a new feature request, change [ ] to [x] to mark it as done

Description
Every other record type (Reminders, Plans, Repairs, Services, Supplies, Taxes, Upgrades, Equipment, Notes, Odometer, Gas) has a full /api/vehicle/... controller for CRUD. Inspection Record Templates are the one exception Controllers/Vehicle/InspectionController.cs handles template create/read/update/delete but it's cookie-auth only, no [APIKeyFilter], no /api/ route.

Requesting a new Controllers/API/InspectionController.cs with List/Get/Add/Update/Delete for templates, following the same pattern as PlanController.cs/ReminderController.cs (API key auth, ownership checks via UserCanEditVehicle). This lets templates be provisioned/managed the same way every other record type already can be no new UI, no scope change, just closing the one API gap.

Happy to submit a PR for this if it's welcome.

Acknowledgment

  • I acknowledge that LubeLogger is a side project and that development efforts are entirely voluntary. I do not expect the core maintainers to respond to this issue, and I will not hound or chase them regarding this issue or any other issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions