Add details for namespace, componentKey and featureKey in the Enforce Restriction setting endpoints

XMLWordPrintable

    • 6
    • 4

      Currently, REST APIs are available to enforce restrictions in the Project settings. You can either allow or disallow changes at the repository level. These APIs are used in various areas, such as Project permissions, Hooks, Merge checks, and more. The REST APIs are listed below:

      Certain parameters, such as namespace and featureKey, are required to use these APIs. However, the current documentation does not mention the different values that can be entered for these parameters. The only way to get the values is to use your browser's developer tools and the network tab while toggling the option for the setting you want to change via REST API. This allows you to copy that interaction as a curl command and run it from the command line.

      It would be good to include the possible values of the parameters in the REST documentation or include the steps to extract the information from the developer tools.

              Assignee:
              Unassigned
              Reporter:
              Nikhil Kapoor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: