I want to check if I have access to premium features (such as group hooks) for my GitLab instance (self hosted) from the API. What endpoint should I call?
Notes:
-ee for Enterprise Edition or -ce for community edition but this is not enough since I can still have Enterprise Edition but not be subscribed (thus not having access to premium features).default which isn't really helpful (see related question)One solution is to make a call to a premium-only feature that doesn't need admin privileges and check if it doesn't return 403.
For example: listing epics of a group.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With