-
Notifications
You must be signed in to change notification settings - Fork 844
iOS/iPad VPP auto-updates: DB and API updates #35454
Copy link
Copy link
Closed
Labels
#g-orchestrationOrchestration product groupOrchestration product group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.Ready to write code. Scheduled in a release. See "Making changes" in handbook.~sub-taskA technical sub-task that is part of a story. (Not QA'd. Not estimated.)A technical sub-task that is part of a story. (Not QA'd. Not estimated.)
Milestone
Metadata
Metadata
Assignees
Labels
#g-orchestrationOrchestration product groupOrchestration product group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.Ready to write code. Scheduled in a release. See "Making changes" in handbook.~sub-taskA technical sub-task that is part of a story. (Not QA'd. Not estimated.)A technical sub-task that is part of a story. (Not QA'd. Not estimated.)
Type
Projects
Status
Done
Related user story
#33391
Task
This task is to implement the API and database changes needed to store software auto-update configuration.
DB changes (proposed)
software_update_schedulestitle_id-> intteam_id-> intenabled-> booleanstart_time-> string / datetime / however we usually store "time of day"end_time-> string / datetime / however we usually store "time of day"timezone(which can be obtained from DeviceInformation.TimeZone).API changes
#37469
PATCH /api/v1/fleet/software/titles/:title_id/app_store_appauto_update_enabled(boolean) field.auto_update_window_start(string) field.auto_update_window_end(string) field.software_update_schedules.GET /api/v1/fleet/software/titles/:title_idapp_store_app.auto_update_enabledandapp_store_app.auto_update_window_startandapp_store_app.auto_update_window_end.Condition of satisfaction
/api/v1/fleet/software/titles/:title_id/app_store_appshould successfully add a new row tosoftware_update_schedulesif no auto-update has been configured for the title before/api/v1/fleet/software/titles/:title_id/app_store_appshould update an existing row insoftware_update_schedulesif an auto-update has been configured for the title beforeGET /api/v1/fleet/software/titles/:title_idfor an iOS/iPadOS VPP title should return auto-update config in theapp_store_appobjectGET /api/v1/fleet/software/titles/:title_idfor any other kind of software title should not return auto-update config at all.