The REST API uses CloudBees Feature Management YAML and JSON files. Refer to Introduction to Configuration as Code (CasC) for more information on YAML.
You can use the API to do the following:
push data into CloudBees Feature Management
get data out of CloudBees Feature Management
build custom integrations
build on top of the CloudBees Feature Management platform
As a security measure, a rate limit has been implemented to one request per second, and is based on the requester IP address. Any requests at rates that exceed the rate limit will receive a
Experiments have been deprecated and Flags are the only entity in the system.
The system is backwards compatible, but there are some critical issues to note until a new version of the Restful API is released:
Select run in Postman to set up an environment.
All resources are part of an application.
To find the Application ID:
Select App Settings on the left panel on the CloudBees Feature Management dashboard.
Select the Integrations tab.
All requests to CloudBees Feature Management’s API must be authenticated with an API token.
Every CloudBees Feature Management user has an API token. The API token inherits the permission of its owner. The changelog shows the actions taken by the owner of the API token.
To access the API Token:
From the team or group that is currently open on the CloudBees Feature Management dashboard, in the left panel, select.
In the API section, for User token, selectto copy the new user token to your clipboard.
Users are given a different
access_tokenfor each team or group they are a member of.
|User tokens are revoked when a new token is generated. Any future use of the existing token will be rejected.|
To revoke your existing token and regenerate a new API user token:
If you agree with the warning information, select Yes, I understand and accept the risks associated with this action.
Select Regenerate.Figure 1. Regenerating a new API User token
The new access token is created. Access to the previously generated token is revoked.
Selectto copy the new user token to your clipboard.