Add project content

post/projects/{projectId}/contents

Adds the content to the project that is associated with the specified project ID.

Request Samples

1

Response Samples

1{
2 "name": "string",
3 "start": 0,
4 "limit": 0,
5 "count": 0,
6 "accept": "string",
7 "links": [
8 {
9 "method": "string",
10 "rel": "string",
11 "uri": "string",
12 "href": "string",
13 "title": "string",
14 "type": "string",
15 "itemType": "string",
16 "responseType": "string",
17 "responseItemType": "string"
18 }
19 ],
20 "version": 0,
21 "items": [
22 {
23 "createdBy": "string",
24 "modifiedBy": "string",
25 "creationTimeStamp": "2019-08-24T14:15:22Z",
26 "modifiedTimeStamp": "2019-08-24T14:15:22Z",
27 "name": "string",
28 "projectId": "string",
29 "fileUri": "string",
30 "role": "string",
31 "key": "string",
32 "version": 2
33 }
34 ]
35}

Path Parameters

NameTypeRequiredDescription
projectId
string
true

Responses

StatusMeaningDescription
201Created

The request succeeded. The project content was added.

HeadersSchema
400Bad Request

The request was invalid.

Schema
404Not Found

No project exists at the requested path.

Schema