createVersion

Create a component version

Format

udclient [global-args...] [global-flags...]
  createVersion [parameters]

Parameters

Table 1. Request parameters
Parameter Type Required Description
component string true Name or ID of the component
name string true Name of the new version
description string false Description of the new version

Example

udclient -username admin -password admin 
  -weburl https://myserver.example.com:8443
  createVersion 
  -component JPetStore-APP 
  -name 1.2

Example response

{
  "id": "c0198aaf-6f4b-4d2e-b103-a7f6a257f580",
  "name": "1.2",
  "type": "FULL",
  "created": 1390572847946,
  "active": true,
  "archived": false
}

Related REST command: Create a component version.


Feedback