Skip to content

Develop a new api for device filter & sort #1077

Description

@ShradhaGupta31

Develop a new api which would add server-side filtering and sorting on new deviceInfo fields. New query parameters: filter[skuType] (e.g. vPro), filter[currentMode] (e.g. ACM), filter[lmsInstalled] (true/false), filter[osName] (e.g. windows), sort (column name), order (asc/desc). Implemented as SQL JSON-path clauses against the deviceInfo column — no schema change required.

end point: GET /api/v1/devices

ADR: https://github.com/device-management-toolkit/console/wiki/ADR-discovery/4397f8312041e38d89a934cb910f731809c85c22

Reference APIs:

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions