Travis CI API Docs

Beta feature

A beta feature (a Travis-CI feature currently in beta).

Attributes

NameTypeDescription
idIntegerValue uniquely identifying the beta feature.
nameStringThe name of the feature.
descriptionStringLonger description of the feature.
enabledBooleanIndicates if the user has this feature turned on.
feedback_urlStringUrl 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 VariableTypeDescription
user.idIntegerValue uniquely identifying the user.
beta_feature.idIntegerValue uniquely identifying the beta feature.
Accepted ParameterTypeDescription
beta_feature.idIntegerValue uniquely identifying the beta feature.
beta_feature.enabledBooleanIndicates 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 VariableTypeDescription
user.idIntegerValue uniquely identifying the user.
beta_feature.idIntegerValue uniquely identifying the beta feature.