v1

latestOpenAPI 3.0.12026-07-17235160320.7 KB
Models

Modifies a Model resource

put/api/v1/models/{id}

Path parameters

idinteger required

ID for the Model resource.

Headers

X-Fieldsstring mask

An optional fields mask

Request body

namestring required

Name of the Model resource.

descriptionstring

Description of the Model resource.

Response

Success

idinteger

ID for the Model resource.

snapshotinteger

ID for the underlying Model snapshot.

createdOnstring date-time

Timestamp when the Model resource was created.

snapshotCreatedOnstring date-time

Timestamp when the Model resource snapshot was created.

lastModifiedOnstring date-time

Timestamp when the Model resource was last modified.

latestSnapshotboolean

Whether or not the Model resource is the latest version.

hasDraftboolean

Whether a draft exists for the Model resource.

namestring required

Name of the Model resource.

descriptionstring

Description of the Model resource.