Welcome to the new Golem Cloud Docs! 👋
Documentation
Plugin

Plugin API

Lists all the registered plugins (including all versions of each).

PathMethodProtected
/v1/pluginsGETYes

Query Parameters

NameTypeRequiredDescription
scope#/components/schemas/CloudPluginScopeNo-

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": {
      "accountId": "string"
    }
  }
]

Registers a new plugin

PathMethodProtected
/v1/pluginsPOSTYes

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

PathMethodProtected
/v1/plugins/{name}GETYes

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": {
      "accountId": "string"
    }
  }
]

Gets a registered plugin by its name and version

PathMethodProtected
/v1/plugins/{name}/{version}GETYes

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": {
    "accountId": "string"
  }
}

Deletes a registered plugin by its name and version

PathMethodProtected
/v1/plugins/{name}/{version}DELETEYes

Example Response JSON

{}

Plugin API Errors

Status CodeDescriptionBody
400Invalid request, returning with a list of issues detected in the request{"errors":["string"]}
401Unauthorized{"error":"string"}
403Maximum number of components exceeded{"error":"string"}
404Component not found{"error":"string"}
409Component already exists{"error":"string"}
500Internal server error{"error":"string"}