graylog2-server icon indicating copy to clipboard operation
graylog2-server copied to clipboard

Use @Api tags to control visibility API docs in cloud

Open patrickmann opened this issue 3 years ago • 0 comments

Resolves Graylog2/graylog-plugin-cloud#1035

Enable API-Browser in Cloud context, while providing the ability to hide APIs that are not relevant or should not be exposed in Cloud. Visible APIs must be explicitly marked for Cloud by setting a specific tags value, e.g.: @Api(value = "MyCloudAPI", description = "Does something useful in Cloud", tags = {CLOUD_VISIBLE})

By default, APIs are hidden in Cloud.

patrickmann avatar Aug 03 '22 14:08 patrickmann