Skip to content

Add API support for plan limit notification limits

Vijay Hawoldar requested to merge vij-notification-limit-api into master

What does this MR do and why?

Adds API support for plan limit notification limits.

Allowing admins to update a plan limit's notification_limit value so that they can be controlled via an admin UI as part of https://gitlab.com/groups/gitlab-org/-/epics/9173

Refs https://gitlab.com/gitlab-org/gitlab/-/issues/385736

How to set up and validate locally

curl --request PUT \
  --url 'http://gdk.test:3000/api/v4/application/plan_limits?plan_name=free&notification_limit=10' \
  --header 'PRIVATE-TOKEN: your-admin-pat-here' 

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Michael Kozono

Merge request reports

Loading