Plugins

Creates a PluginFile resource associated with a Plugin resource

If type is plugin then blah If type is artifact then blah

post/api/v1/plugins/{id}/files

Path parameters

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.

Changes

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

  • a73101579c5c32See the full diff
    • 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

    • the response's property type changed from array to object for status

      response-property-type-changed

    • added the optional property to the response with the status

      response-optional-property-added

    • added to the response property allOf list for the response status

      response-property-all-of-added

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

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

      request-property-type-changed

    • the response's property type changed from object to array for status

      response-property-type-changed

    • removed from the request property allOf list

      request-property-all-of-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • removed from the response property allOf list for the response status

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