Plugin API
Lists all the registered plugins (including all versions of each).
Path | Method | Protected |
---|---|---|
/v1/plugins | GET | No |
Query Parameters
Name | Type | Required | Description |
---|---|---|---|
scope | #/components/schemas/DefaultPluginScope | No | - |
Example Response JSON
[
{
"name": "string",
"version": "string",
"description": "string",
"icon": [0],
"homepage": "string",
"specs": {
"type": "ComponentTransformer",
"providedWitPackage": "string",
"jsonSchema": "string",
"validateUrl": "string",
"transformUrl": "string"
},
"scope": {
"type": "Global"
},
"owner": {}
}
]
Registers a new plugin
Path | Method | Protected |
---|---|---|
/v1/plugins | POST | No |
Example Request JSON
{
"name": "string",
"version": "string",
"description": "string",
"icon": [0],
"homepage": "string",
"specs": {
"type": "ComponentTransformer",
"providedWitPackage": "string",
"jsonSchema": "string",
"validateUrl": "string",
"transformUrl": "string"
},
"scope": {
"type": "Global"
}
}
Example Response JSON
{}
Lists all the registered versions of a specific plugin identified by its name
Path | Method | Protected |
---|---|---|
/v1/plugins/{name} | GET | No |
Example Response JSON
[
{
"name": "string",
"version": "string",
"description": "string",
"icon": [0],
"homepage": "string",
"specs": {
"type": "ComponentTransformer",
"providedWitPackage": "string",
"jsonSchema": "string",
"validateUrl": "string",
"transformUrl": "string"
},
"scope": {
"type": "Global"
},
"owner": {}
}
]
Gets a registered plugin by its name and version
Path | Method | Protected |
---|---|---|
/v1/plugins/{name}/{version} | GET | No |
Example Response JSON
{
"name": "string",
"version": "string",
"description": "string",
"icon": [0],
"homepage": "string",
"specs": {
"type": "ComponentTransformer",
"providedWitPackage": "string",
"jsonSchema": "string",
"validateUrl": "string",
"transformUrl": "string"
},
"scope": {
"type": "Global"
},
"owner": {}
}
Deletes a registered plugin by its name and version
Path | Method | Protected |
---|---|---|
/v1/plugins/{name}/{version} | DELETE | No |
Example Response JSON
{}
Plugin API Errors
Status Code | Description | Body |
---|---|---|
400 | {"errors":["string"]} | |
401 | {"error":"string"} | |
403 | {"error":"string"} | |
404 | {"error":"string"} | |
409 | {"error":"string"} | |
500 | {"error":"string"} |