Skip to content

chore: expose groups#134

Merged
dan2k3k4 merged 5 commits intodevfrom
expose-groups
Apr 30, 2026
Merged

chore: expose groups#134
dan2k3k4 merged 5 commits intodevfrom
expose-groups

Conversation

@dan2k3k4
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings April 28, 2026 10:18
@dan2k3k4 dan2k3k4 mentioned this pull request Apr 28, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR exposes “groups” via the authenticated API and extends instance provisioning/listing to support group-based workflows (workspace creation, filtering, and reassignment).

Changes:

  • Add GET /api/groups and POST /api/groups endpoints for listing/creating groups.
  • Extend GET /api/instances to support filtering by group_id/group_slug and include group details in responses.
  • Add PATCH /api/instance/{uuid}/group for reassigning an instance to a group, plus feature tests for the new behavior.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

File Description
app/Http/Controllers/Api/AuthenticatedApiController.php Implements group endpoints, adds group-aware instance filtering/formatting, and adds instance-to-group reassignment + group resolution helper.
routes/api.php Registers the new group and reassignment routes under existing Sanctum ability middleware.
tests/Feature/Api/AuthenticatedApiTest.php Adds coverage for groups endpoints and new instance/group flows (filtering, provisioning, reassignment).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread app/Http/Controllers/Api/AuthenticatedApiController.php Outdated
Comment thread app/Http/Controllers/Api/AuthenticatedApiController.php Outdated
Comment thread app/Http/Controllers/Api/AuthenticatedApiController.php
Comment thread app/Http/Controllers/Api/AuthenticatedApiController.php Outdated
Comment thread app/Http/Controllers/Api/AuthenticatedApiController.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@dan2k3k4 dan2k3k4 requested a review from pmelab April 30, 2026 10:06
@dan2k3k4 dan2k3k4 merged commit 4b8c4be into dev Apr 30, 2026
4 checks passed
@dan2k3k4 dan2k3k4 deleted the expose-groups branch April 30, 2026 10:08
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