AlmondTill/G3N API

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

FieldTypeNotes
idID ID!The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it.
sysIdString String!The human-readable id, shaped like PN-… — stable for the record’s life.
typeString String!The kind of record — always Plugin here.
captionString String!The record’s display name — what people see it called.
statusString String!The record’s current state — one of active, inactive or doomed.
parentIdID ID!The parent = the org group (the selection-master law); parentId === rootId always.
rootIdID ID!The id of your organization group — every record of yours carries the same one.
createdAtString String!When the record was created, as a UTC timestamp.
updatedAtString String!When the record last changed, as a UTC timestamp.
revisionNumInt Int!How many times this record has been edited; the first save is 0.
revisionID 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.
refCaptionsRefCaption [RefCaption!]!The captions of the records this one refers to, composed for you — one row per referenced id; see RefCaption.
developerNameStringThe developer/publisher display name (informational — the marketplace listing byline seed).
homepageUrlStringThe developer homepage (https by shape; informational — NOT a delivery target: the egress law lives on WebhookSubscription.targetUrl alone).
requiredScopesRoleDescriptor [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).
apiKeyIdIDThe bound ApiKey identity (optional; validated live in-group at write).

Used by