Update project content metadata

put/projects/{projectId}/contents/{contentId}
Internal-Use Only

Updates the metadata information for the project 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 "projectId": "string",
8 "fileUri": "string",
9 "role": "string",
10 "key": "string",
11 "version": 2
12}

Path Parameters

NameTypeRequiredDescription
contentId
string
true

The unique identifier for the project.

projectId
string
true

The unique identifier for the project.

Header Parameters

NameTypeRequiredDescription
If-Match
string
false

The entity tag obtained from the most recent ETag response header. Must match the current entity tag for the project content.

Responses

StatusMeaningDescription
200OKThe request succeeded. The metadata information for the project content was updated.HeadersSchema
400Bad RequestThe request was invalid.Schema
404Not FoundNo project 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