Welcome to the new Golem Cloud Docs! 👋
Plugin

Plugin API

List all plugins registered in account

PathMethodProtected
/v1/accounts/{account_id}/pluginsGETYes

Example Response JSON

{
  "values": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
      "name": "string",
      "version": "string",
      "description": "string",
      "icon": "string",
      "homepage": "string",
      "spec": {
        "type": "OplogProcessor",
        "componentId": "616ccd92-d666-4180-8349-8d125b269fac",
        "componentRevision": 0
      }
    }
  ]
}

Register a new plugin

PathMethodProtected
/v1/accounts/{account_id}/pluginsPOSTYes

Example Request JSON

{
  "name": "string",
  "version": "string",
  "description": "string",
  "icon": "string",
  "homepage": "string",
  "spec": {
    "type": "OplogProcessor",
    "componentId": "616ccd92-d666-4180-8349-8d125b269fac",
    "componentRevision": 0
  }
}

Example Response JSON

{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
  "name": "string",
  "version": "string",
  "description": "string",
  "icon": "string",
  "homepage": "string",
  "spec": {
    "type": "OplogProcessor",
    "componentId": "616ccd92-d666-4180-8349-8d125b269fac",
    "componentRevision": 0
  }
}

Get a plugin by id

PathMethodProtected
/v1/plugins/{plugin_id}GETYes

Example Response JSON

{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
  "name": "string",
  "version": "string",
  "description": "string",
  "icon": "string",
  "homepage": "string",
  "spec": {
    "type": "OplogProcessor",
    "componentId": "616ccd92-d666-4180-8349-8d125b269fac",
    "componentRevision": 0
  }
}

Delete a plugin

PathMethodProtected
/v1/plugins/{plugin_id}DELETEYes

Example Response JSON

{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
  "name": "string",
  "version": "string",
  "description": "string",
  "icon": "string",
  "homepage": "string",
  "spec": {
    "type": "OplogProcessor",
    "componentId": "616ccd92-d666-4180-8349-8d125b269fac",
    "componentRevision": 0
  }
}

Plugin API Errors

Status CodeDescriptionBody
400Invalid request, returning with a list of issues detected in the request{"code":"string","errors":["string"]}
401Unauthorized request{"code":"string","error":"string"}
403Forbidden Request{"code":"string","error":"string"}
404Entity not found{"code":"string","error":"string"}
409{"code":"string","error":"string"}
422Limits of the plan exceeded{"code":"string","error":"string"}
500Internal server error{"code":"string","error":"string"}