v1

latestOpenAPI 3.0.12026-07-17235160320.7 KB
Plugins

Modifies a PluginFile resource

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

Path parameters

fileIdinteger required

ID for the PluginFile resource.

idinteger required

ID for the Plugin resource.

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 for the PluginFile resource.

snapshotinteger

ID for the underlying PluginFile snapshot.

createdOnstring date-time

Timestamp when the PluginFile resource was created.

snapshotCreatedOnstring date-time

Timestamp when the PluginFile resource snapshot was created.

lastModifiedOnstring date-time

Timestamp when the PluginFile resource was last modified.

latestSnapshotboolean

Whether or not the PluginFile resource is the latest version.

hasDraftboolean

Whether a draft exists for the PluginFile resource.

filenamestring required

Name of the PluginFile resource.

contentsstring required

Contents of the file.

descriptionstring

Description of the PluginFile resource.