Draft: Include assigned add ons relation billable members
What does this MR do and why?
Addresses: https://gitlab.com/gitlab-org/gitlab/-/issues/411954+
Update the Billable Member API to include the following attributes:
# additions to the member object in the billable members API:
{
# ..
add_ons: {
assigned: [
# extra attributes included as an example of how we might want the structure to differ
{ name: "CODE_SUGGESTIONS" }
],
# add ons that the user is eligible for, regardless of current assignments or free seat count
applicable: [{ name: "CODE_SUGGESTIONS" }]
}
}
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Sign in and navigate to http://localhost:3000/api/v4/groups/<YOUR-GROUP-ID>/billable_members.json
for one of your groups.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Josianne Hyson