Create a new project

post/projects
Internal-Use Only

Creates a new empty project. Resources can be added to the project using the /projects/{projectId}/resources endpoint. Participants can be added to the project using the /projects/{projectId}/participants endpoint. Name uniqueness across projects is enforced. Only the name, description, imageUri, and properties fields are editable.

Request Samples

1

Response Samples

1{
2 "name": "string",
3 "description": "string",
4 "imageUri": "http://example.com",
5 "properties": {
6 "property1": "string",
7 "property2": "string"
8 },
9 "version": 0,
10 "id": "string",
11 "folderUri": "http://example.com",
12 "userCount": 0,
13 "groupCount": 0,
14 "createdBy": "string",
15 "creationTimeStamp": "2019-08-24T14:15:22Z",
16 "modifiedBy": "string",
17 "modifiedTimeStamp": "2019-08-24T14:15:22Z",
18 "links": [
19 {
20 "method": "string",
21 "rel": "string",
22 "uri": "string",
23 "href": "string",
24 "title": "string",
25 "type": "string",
26 "itemType": "string",
27 "responseType": "string",
28 "responseItemType": "string"
29 }
30 ]
31}

Request Body

The representation used to create a new project.

NameTypeRequiredDescription
name
string
true

The identifier of a specific project.

description
string
false

The project's description.

imageUri
string<uri>
false

URI to image used as the project avatar. If a URI is not supplied on a POST request, then a default URI is substituted. Null or blank values are allowed on a PUT request.

properties
object
false

Additional properties that could be specified for the project.

version
integer
false

The version of the object.

Responses

StatusMeaningDescription
201CreatedThe project was created.HeadersSchema
400Bad RequestThe request was invalid.Schema
409ConflictThe project name already exists.Schema