Create a project version

post/projects/{projectId}/projectVersions
Internal-Use Only

Creates a new project version for the specified project ID.

Request Samples

1

Response Samples

1{
2 "createdBy": "string",
3 "modifiedBy": "string",
4 "creationTimeStamp": "2019-08-24T14:15:22Z",
5 "modifiedTimeStamp": "2019-08-24T14:15:22Z",
6 "id": "string",
7 "name": "string",
8 "description": "string",
9 "versionNumber": "string",
10 "projectId": "string",
11 "version": 2
12}

Path Parameters

NameTypeRequiredDescription
projectId
string
true

The unique identifier for the project.

Request Body

The representation of a new project version.

Contains information about a project version. Note: To update a project version using the PUT operation, you must include all of the properties. You can retrieve the values by performing a GET operation for a project version (getProjectVersion). These are the properties that are required for a PUT operation: id, projectId, name, and description.

NameTypeRequiredDescription
id
string
false

The unique identifier for the project version. This is required for GET and PUT REST operations.

name
string
true

The name of the project version.

description
string
false

The description of the project version.

projectId
string
true

The identifier for the project.

Responses

StatusMeaningDescription
201CreatedThe project version was created.HeadersSchema
400Bad RequestThe request was invalid.Schema