Beta feature
A beta feature (a Travis-CI feature currently in beta).
Attributes
Name | Type | Description |
---|---|---|
id | Integer | Value uniquely identifying the beta feature. |
name | String | The name of the feature. |
description | String | Longer description of the feature. |
enabled | Boolean | Indicates if the user has this feature turned on. |
feedback_url | String | Url for users to leave Travis CI feedback on this feature. |
Actions
Update
This will update a user's beta_feature.
Use namespaced params in the request body to pass the enabled
value (either true or false):
curl -X PATCH \ -H "Content-Type: application/json" \ -H "Travis-API-Version: 3" \ -H "Authorization: token xxxxxxxxxxxx" \ -d '{"beta_feature.enabled":true}' \ https://api.travis-ci.com/user/1234/{beta_feature.id}
PATCH
/user/{user.id}/beta_feature/{beta_feature.id}
Template Variable | Type | Description |
---|---|---|
user.id | Integer | Value uniquely identifying the user. |
beta_feature.id | Integer | Value uniquely identifying the beta feature. |
Accepted Parameter | Type | Description |
---|---|---|
beta_feature.id | Integer | Value uniquely identifying the beta feature. |
beta_feature.enabled | Boolean | Indicates if the user has this feature turned on. |
Delete
This will delete a user's beta feature.
DELETE
/user/{user.id}/beta_feature/{beta_feature.id}
Template Variable | Type | Description |
---|---|---|
user.id | Integer | Value uniquely identifying the user. |
beta_feature.id | Integer | Value uniquely identifying the beta feature. |