Skip to main content

Replace a plugin

PUT 

/api/v1/plugins/:tag

Replace an existing plugin by tag

Request

Path Parameters

    tag stringrequired

Body

required

    blob stringrequired

    The raw source code of the plugin. This should be an .html file

    contexts

    object[]

    required

    Which contexts the plugin should execute/show up in, e.g. { "type": "GLOBAL" }

  • Array [

  • type stringrequired
  • ]

  • description string

    Description of the plugin

    isDraft booleanrequired

    Whether the plugin is generally available or not

    minimumRoleRequired stringrequired

    Possible values: [VIEWER, USER, MANAGER, API, OWNER]

    The minimum role required to see the plugin, e.g. USER

    name stringrequired

    Display name of the plugin

    proxyTag string

    The identifier of the proxy to use for requests from this plugin

Responses

Metadata of the replaced plugin

Schema

    contexts

    object[]

    required

    Which contexts the plugin should execute/show up in, e.g. { "type": "GLOBAL" }

  • Array [

  • type stringrequired
  • ]

  • createdBy

    object

    The creator of the plugin. Null if created via API.

    dateCreated date-timerequired
    email stringrequired
    id int64
    name stringrequired
    oauthUserId stringrequired
    tenantId int64required
    description string

    Description of the plugin

    isDraft booleanrequired

    Whether the plugin is generally available or not

    lastUpdated date-timerequired

    When the plugin was last updated

    minimumRoleRequired stringrequired

    Possible values: [VIEWER, USER, MANAGER, API, OWNER]

    The minimum role required to see the plugin, e.g. USER

    name stringrequired

    Display name of the plugin

    proxyTag string

    The identifier of the proxy to use for requests from this plugin

    tag stringrequired

    Unique identifier for the plugin

Loading...