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.

Changes

Changed in 2 of the 2 revisions of this API.15

    • added the optional property to the response with the status

      response-optional-property-added

    • added to the ///// response property allOf list for the response status

      response-property-all-of-added

    • removed from the ///// response property allOf list for the response status

      response-property-all-of-removed

    This revision also has 14 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 9a36b904337912See the full diff
    • removed the optional property from the response with the status

      response-optional-property-removed

    • added to the ///// response property allOf list for the response status

      response-property-all-of-added

    • removed from the ///// response property allOf list for the response status

      response-property-all-of-removed

    This revision also has 49 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog