Update model content metadata

put/models/{modelId}/contents/{contentId}
Internal-Use Only

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 "createdBy": "string",
3 "modifiedBy": "string",
4 "creationTimeStamp": "2019-08-24T14:15:22Z",
5 "modifiedTimeStamp": "2019-08-24T14:15:22Z",
6 "name": "string",
7 "modelId": "string",
8 "fileUri": "string",
9 "role": "string",
10 "key": "string",
11 "version": 2
12}

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
200OKThe metadata information for the model content was updated.HeadersSchema
400Bad RequestThe request was invalid.Schema
404Not FoundNo model or content exists at the requested path.Schema
412Precondition FailedThe `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 RequiredThe request headers did not include a `If-Match` or `If-Unmodified-Since` precondition.Schema