Plugins

Gets the Draft for this resource

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

Request

Headers

X-Fieldsstring mask

An optional fields mask

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

      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