Update the next build number
Update the next build number that should be assigned to a pipeline. The next build number that will be configured has to be strictly higher than the current latest build number for this repository.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.
The repository.
Request Bodyrequired
Section titled “Request Bodyrequired”The build number to update.
object
The next number that will be used as build number.
Examplegenerated
{ "type": "example", "next": 1}Responses
Section titled “Responses”The build number has been configured.
object
The next number that will be used as build number.
Examplegenerated
{ "type": "example", "next": 1}The update failed because the next number was invalid (it should be higher than the current number).
Base type for most resource objects. It defines the common type element that identifies an object’s type. It also identifies the element as Swagger’s discriminator.
object
object
Optional structured data that is endpoint-specific.
object
Examplegenerated
{ "type": "example", "error": { "message": "example", "detail": "example", "data": {} }}The account or repository was not found.
Base type for most resource objects. It defines the common type element that identifies an object’s type. It also identifies the element as Swagger’s discriminator.
object
object
Optional structured data that is endpoint-specific.
object
Examplegenerated
{ "type": "example", "error": { "message": "example", "detail": "example", "data": {} }}