Plugin
object type
A Plugin — a third-party extension's declaration record on the canned-pool selection pattern: the group registers the plugin once, each org enables it via an OrgPlugin selection. Extensions run out-of-process on the developer's own infrastructure — never in-process here. The record declares what the integration IS: the least-privilege descriptor scopes (the ApiKey grammar, allow-only — the contract the merchant mints a key against; descriptive at v1, the marketplace's automated mint-flow consumes it later), an optional bound ApiKey identity (validated live in-group at write; informational v1), and its event feed — which rides real WebhookSubscription rows carrying pluginId (never a mirrored field). uiSlots is deliberately absent until the office slot system exists. ≤64 per group; doom is gate-protected: a non-doomed OrgPlugin selection OR an un-doomed bound WebhookSubscription blocks it. NOT searchable (integration config).
Fields
| Field | Type | Notes |
|---|---|---|
id | ID ID! | The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it. |
sysId | String String! | The human-readable id, shaped like PN-… — stable for the record’s life. |
type | String String! | The kind of record — always Plugin here. |
caption | String String! | The record’s display name — what people see it called. |
status | String String! | The record’s current state — one of active, inactive or doomed. |
parentId | ID ID! | The parent = the org group (the selection-master law); parentId === rootId always. |
rootId | ID ID! | The id of your organization group — every record of yours carries the same one. |
createdAt | String String! | When the record was created, as a UTC timestamp. |
updatedAt | String String! | When the record last changed, as a UTC timestamp. |
revisionNum | Int Int! | How many times this record has been edited; the first save is 0. |
revision | ID ID! | The id of the record’s current edit — send it back with a change so an edit made in the meantime is refused instead of overwritten. |
refCaptions | RefCaption [RefCaption!]! | The captions of the records this one refers to, composed for you — one row per referenced id; see RefCaption. |
developerName | String | The developer/publisher display name (informational — the marketplace listing byline seed). |
homepageUrl | String | The developer homepage (https by shape; informational — NOT a delivery target: the egress law lives on WebhookSubscription.targetUrl alone). |
requiredScopes | RoleDescriptor [RoleDescriptor!]! | The declared least-privilege scope set (the ApiKey grammar rows, allow-only, deduped; 0..800 — a webhook-only plugin legally declares none). Descriptive v1; editable BY design (a declaration carries no authority — the disclosed ApiKey-immutability contrast). |
apiKeyId | ID | The bound ApiKey identity (optional; validated live in-group at write). |