Add model contents

post/models/{modelId}/contents

Adds the specified model contents to the model associated with the specified model 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 "creationTimeStamp": "2019-08-24T14:15:22Z",
24 "createdBy": "string",
25 "modifiedTimeStamp": "2019-08-24T14:15:22Z",
26 "modifiedBy": "string",
27 "id": "string",
28 "name": "string",
29 "fileUri": "string",
30 "modelId": "string",
31 "versionId": "string",
32 "links": [
33 {
34 "method": "string",
35 "rel": "string",
36 "uri": "string",
37 "href": "string",
38 "title": "string",
39 "type": "string",
40 "itemType": "string",
41 "responseType": "string",
42 "responseItemType": "string"
43 }
44 ]
45 }
46 ]
47}

Path Parameters

NameTypeRequiredDescription
modelId
string
true

Request Body

NameTypeRequiredDescription
file
string
true

Select a file from your local client machine.

Responses

StatusMeaningDescription
201Created

The model contents were added successfully.

HeadersSchema
400Bad Request

The request was invalid.

Schema
404Not Found

No model exists at the requested path.

Schema