Plugins

Modifies the Draft for this resource

Changed on
put/api/v1/plugins/{id}/files/{fileId}/draft

Request

Headers

X-Fieldsstring mask

An optional fields mask

Request body

resourceSnapshotinteger

ID of the resource snapshot this draft modifies.

Response

Success

idinteger

ID of the Draft.

payloadobject

The contents of the draft resource.

createdOnstring date-time

Timestamp when the draft resource was created.

lastModifiedOnstring date-time

Timestamp when the draft resource was last modified.

resourceTypestring

The type of resource of this draft.

resourceinteger

ID of the resource this draft modifies.

resourceSnapshotinteger

ID of the resource snapshot this draft modifies.

metadataobject

Additional metadata about the draft

Changes

    • breaking

      added to the ////////////////////// request property allOf list

    • breaking

      added to the ////////////////////// request property allOf list

    • breaking

      added to the ////////////////////// request property allOf list

    • breaking

      the request property type changed from object to no type

    • breaking

      the ///// request property type changed from object to no type

    • breaking

      the /////////// request property type changed from object to no type

    • breaking

      the ///////////////// request property type changed from object to no type

    • breaking

      the ////////////////////// request property type changed from object to no type

    • breaking

      the /////////// request property type changed from object to no type

    • breaking

      the ///////////////// request property type changed from object to no type

    • breaking

      the ////////////////////// request property type changed from object to no type

    • breaking

      the ///////////////// request property type changed from object to no type

    • breaking

      the ////////////////////// request property type changed from object to no type

    • breaking

      the response's property type changed from object to no type for status

    • breaking

      the response's property type changed from object to no type for status

    • warning

      deleted the path request parameter fileId

    • warning

      deleted the path request parameter id

    • warning

      removed from the ////////////////////// request property allOf list

    • warning

      removed from the ////////////////////// request property allOf list

    • warning

      removed from the ////////////////////// request property allOf list

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • info

      added the new optional request property

    • info

      added the new optional request property