Rensei docs
API ReferenceWorker Protocol

Publish a local plugin source version

Called by the daemon to register a new version of a locally-developed plugin. Validates the manifest, creates or updates the plugin record in the registry, and links the tarball URL if provided. Only `local-path` source-class mounts are accepted. Auth: `Bearer rsk_*` via `getCliOrSessionAuth`. The mount's `scopeOwnerId` must match the caller's `orgId`.

POST
/api/daemon/plugin-sources/{id}/publish

Authorization

rsk_Bearer
AuthorizationBearer <token>

Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.

In: header

Path Parameters

id*string

Plugin source mount ID.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/daemon/plugin-sources/string/publish" \  -H "Content-Type: application/json" \  -d '{    "manifest": {}  }'
{
  "ok": true,
  "pluginId": "string",
  "version": "string",
  "mountId": "string"
}
{
  "error": "Session not found"
}
{
  "error": "Session not found"
}
{
  "error": "Session not found"
}
{
  "error": "Session not found"
}