NewProjectDescription
A stub object used to create a new TeamCity project. POST a NewProjectDescription object to the /app/rest/projects endpoint to do the following: * Create a blank project: specify name and optionally id and parentProject. Omit sourceProject. * Copy an existing project: specify name, parentProject, and sourceProject (the project whose settings and build configurations are copied).
Properties
copyAllAssociatedSettings
Returns true if all settings of a cloned configuration or template should be copied; otherwise, false.
projectsIdsMap
This is the internal property that is not intended to be used
buildTypesIdsMap
This is the internal property that is not intended to be used
vcsRootsIdsMap
This is the internal property that is not intended to be used
name
The name of the new project.
id
The desired external ID for the new project. If not specified, TeamCity generates one from the project name.
sourceProjectLocator
A locator string identifying the project to copy settings from. Deprecated: use 'sourceProject' instead.
sourceProject
The project whose settings are copied when creating this new project.
parentProject
The parent project under which the new project is created. If not specified, the project is created at the root level.
description
The optional description of the new project.
Schema
Below, you can find a full schema of this object, in XML and JSON formats. You can choose what fields to submit depending on your current needs. Different methods might expect different fields: the best approach is to request this entity via GET and use the response as a base for the following POST request.
A link to another object implies that you can substitute it with the schema of the linked object, if it is required for your call.