Create A plugin

Create A plugin

A plugin is defined using metadata that specifies the extension it implements. An extension is a component that extends the functionality of another component based on a predefined contract. Extensions are packaged in plugins, and contain metadata that describes what component it is extending and how.

Request
URI
POST
https://{api_host}/component-registry/api/plugins
COPY
Request Body

The plugin to be created

Plugin of type(s) application/json
Required
{
    "metadata": "string",
    "pluginUrl": "string",
    "id": "string"
}
string
metadata
Required

metadata

string
pluginUrl
Required

pluginUrl

string
id
Optional

id

Responses
200

successful operation

Returns Plugin of type(s) */*
{
    "metadata": "string",
    "pluginUrl": "string",
    "id": "string"
}
string
metadata
Required

metadata

string
pluginUrl
Required

pluginUrl

string
id
Optional

id


201

Successfully saved a plugin

Operation doesn't return any data structure