Update model content metadata

put/models/{modelId}/contents/{contentId}

Updates the metadata information for the model content that is associated with the specified model ID and content ID.

Request Samples

1

Response Samples

1{
2 "creationTimeStamp": "2019-08-24T14:15:22Z",
3 "createdBy": "string",
4 "modifiedTimeStamp": "2019-08-24T14:15:22Z",
5 "modifiedBy": "string",
6 "id": "string",
7 "name": "string",
8 "fileUri": "string",
9 "modelId": "string",
10 "versionId": "string",
11 "links": [
12 {
13 "method": "string",
14 "rel": "string",
15 "uri": "string",
16 "href": "string",
17 "title": "string",
18 "type": "string",
19 "itemType": "string",
20 "responseType": "string",
21 "responseItemType": "string"
22 }
23 ]
24}

Path Parameters

NameTypeRequiredDescription
contentId
string
true
modelId
string
true

Header Parameters

NameTypeRequiredDescription
If-Match
string
false

The client must specify the previously pulled ETag as an If-Match header.

Responses

StatusMeaningDescription
200OK

The metadata information for the model content was updated.

HeadersSchema
400Bad Request

The request was invalid.

Schema
404Not Found

No model or content exists at the requested path.

Schema
412Precondition Failed

The If-Match request header did not match the resource's entity tag, or the If-Unmodified-Since request header did not match the resource's last modified timestamp.

Schema
428Precondition Required

The request headers did not include a If-Match or If-Unmodified-Since precondition.

Schema