Plugins

Modifies the Draft for this resource

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

Path parameters

idinteger required

ID for the resource.

fileIdinteger required

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

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

  • a73101579c5c42See the full diff
    • removed the request property

      request-property-removed

    • removed the request property

      request-property-removed

    • removed the request property

      request-property-removed

    • removed the request property

      request-property-removed

    • added the new optional request property

      new-optional-request-property

    • added the new optional request property

      new-optional-request-property

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

  • 9a36b9043379222See the full diff
    • added the new required request property

      new-required-request-property

    • added the new required request property

      new-required-request-property

    • removed the request property

      request-property-removed

    • removed the request property

      request-property-removed

    • added the new optional request property

      new-optional-request-property

    • added the new optional request property

      new-optional-request-property

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