Increment Version

Increment Version

Updates the version of the elements in a package

Request
URI
PUT
https://{api_host}/vco/api/packages/{packageName}/element-version
COPY
Path Parameters
string
packageName
Required

packageName


Request Body
PackageVersionUpdate of type(s) application/json
Required
{
    "segment": "string"
}
string
segment
Optional

segment

Possible values are : MAJOR, MINOR, PATCH,
Authentication
This operation uses the following authentication methods.
Responses
200

The request is successful

Operation doesn't return any data structure

401

User is not authorized

Operation doesn't return any data structure

404

Package doesn't exist

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/vco/api/packages/{packageName}/element-version