Actions
roos-fs tasks #367
openAPI for Offline mode
Start date:
09/06/2025
Due date:
% Done:
0%
Estimated time:
5:00 h
Description
User story
As a mobile user, I want to download a location for offline usage, so that I can access all related data (vehicles, services, and tasks) even without an internet connection.
Acceptance Criteria
API Endpoint
- Create an API call that returns all necessary information for a selected location.
- The response must include:
Location info
Vehicles belonging to the location
Services for those vehicles
Tasks within those services
Offline Data Handling
- The API response includes the timestamp of the last download.
- The mobile app can check if locally saved data is synchronized with the server.
Locally saved data must support the following:
Filled-out tasks are stored offline until synchronization is possible.
- When syncing, changes are merged/pushed back to the server.
Technical Notes
- Consider data size limits for offline downloads.
- API should support incremental updates (only changes since last sync) in the future (not required now, but design should allow extension).
- Ensure proper authentication/authorization for the API.
Actions