Skip to content

Implementing get-enrollments, command queue inspection and deletion apis#239

Open
aakashjain2307 wants to merge 2 commits intomicromdm:mainfrom
aakashjain2307:enrollments-api-implementation
Open

Implementing get-enrollments, command queue inspection and deletion apis#239
aakashjain2307 wants to merge 2 commits intomicromdm:mainfrom
aakashjain2307:enrollments-api-implementation

Conversation

@aakashjain2307
Copy link
Copy Markdown

@aakashjain2307 aakashjain2307 commented Feb 10, 2026

Implemented get-enrollments, command queue inspection and deletion APIs as per the following drafts :-

#215

#214

Add GET /v1/queue/{id} to retrieve queued commands for an enrollment
and DELETE /v1/queue/{id} to clear queued commands, with pagination
support and multi-ID delete. Implements storage backends for MySQL,
PostgreSQL, KV, file, and allmulti.
@aakashjain2307 aakashjain2307 changed the title Implementing enrollments api Implementing get-enrollments, command queue inspection and deletion apis Feb 12, 2026
@jessepeterson
Copy link
Copy Markdown
Member

jessepeterson commented Mar 10, 2026

Hey, sorry for the delay here! This is a .. very large PR (2300+ lines! yikes!), we're gonna need to split this up — I'd suggest first just the enrollment querying, then the queue inspection stuff. Further, I'd like to see testing and verification steps on example enrollments including test/verification output (e.g. curl test output). Test cases are fun, but I'd like to see human verified tests, too. Thanks!

Here's a nice guide: https://ieftimov.com/posts/how-to-make-reviewers-love-your-big-pull-requests/ and check out the example PRs they included. That's kinda what I'm looking for. :) Not only is the PR the code, the PR description really lays down the intent, philosophy, UX, high-level goal with the larger PR. Thanks again!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants