Skip to content

Ability to GET each component's group nested under its relationships, when querying schedules or incidents via the API#357

Open
ashwinuae wants to merge 2 commits into
cachethq:mainfrom
ashwinuae:list-groups-in-api
Open

Ability to GET each component's group nested under its relationships, when querying schedules or incidents via the API#357
ashwinuae wants to merge 2 commits into
cachethq:mainfrom
ashwinuae:list-groups-in-api

Conversation

@ashwinuae

Copy link
Copy Markdown
Contributor

Added 'components.group' to ALLOWED_INCLUDES allowlist under schedule and incident controllers.

Consumers can now hit GET /status/api/incidents?include=components.group (and the same for schedules) to get each component's group nested under its relationships.group, with the full group resources in the top-level included array.

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.

1 participant