- added /update/enroll endpoint and enrollment logic - migrated update client to v1 api endpoints and bearer auth - implemented remote status reporting in backend and scripts - updated requirements and project status
43 lines
742 B
YAML
43 lines
742 B
YAML
type: object
|
|
required:
|
|
- project_id
|
|
- version
|
|
- status
|
|
- timestamp
|
|
properties:
|
|
project_id:
|
|
type: string
|
|
example: demo
|
|
version:
|
|
type: string
|
|
example: 1.2.3
|
|
status:
|
|
type: string
|
|
enum: [success, failed, in_progress]
|
|
example: success
|
|
timestamp:
|
|
type: string
|
|
format: date-time
|
|
example: 2025-12-28T10:15:30Z
|
|
reason:
|
|
type: string
|
|
example: checksum_mismatch
|
|
client_id:
|
|
type: string
|
|
example: device-42
|
|
client_version:
|
|
type: string
|
|
example: 1.2.2
|
|
device_type:
|
|
type: string
|
|
example: kiosk
|
|
update_channel:
|
|
type: string
|
|
example: stable
|
|
duration_ms:
|
|
type: integer
|
|
example: 2450
|
|
error_code:
|
|
type: string
|
|
example: checksum_mismatch
|