Plugins

Modifies a Draft for the resource

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

Path parameters

draftIdinteger required

ID for the Draft of the plugin_file resource.

idinteger required

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

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

    • added to the request property allOf list

      request-property-all-of-added

    • the request property type changed from array to object

      request-property-type-changed

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

  • 9a36b904337911See the full diff
    • the request property type changed from object to array

      request-property-type-changed

    • removed from the request property allOf list

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