Plugins

Modifies a Draft for the resource

Changed on
put/api/v1/plugins/{id}/files/drafts/{draftId}

Request

Headers

X-Fieldsstring mask

An optional fields mask

Request body

filenamestring required

Name of the PluginFile resource.

contentsstring required

Contents of the file.

descriptionstring

Description of the PluginFile resource.

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 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 draftId

    • 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

    • breaking

      added to the request property allOf list

    • breaking

      the request property type changed from array to object