Skip to content

Manifest Change Detection Endpoint #567

@dmitrytrager

Description

@dmitrytrager

HEAD /api/v1/devices/me/manifest

  • Support If-None-Match header for checking if manifest changed
  • Return 304 Not Modified if ETag matches current manifest version
  • Return 200 OK with new ETag if manifest changed
  • Support If-Match header for sync validation (return 412 Precondition Failed if manifest changed)

We compare checksums:

  • SkillRx knows checksum for currently selected content
  • Beacon sends checksum for its manifest version
  • When checksums do not match, new manifest is requested and analysed by Beacon
  • Beacon downloads files from new manifest if it can't find checksums for these files

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions