Docs
Extensions

The manifest

Every field an extension declares, the rules Agoo checks, and what counts as asking for more.

PreviewFor developers

This is a published preview. Names and fields may still change before general availability; changes will be listed in the changelog.

Each version of an extension has one manifest. It is what organisations read before they install, what Agoo reviews, and the only access the extension ever gets.

Example

{
  "name": "Ledger Bridge",
  "version": "1.2.0",
  "summary": "Sends issued invoices to your own ledger.",
  "description": "Ledger Bridge keeps your ledger account in step with the invoices you issue in Agoo.",
  "data_use": "Reads issued invoices and keeps their totals in your ledger account. Nothing else is stored, and nothing is shared.",
  "publisher": {
    "name": "Bridgeworks",
    "website": "https://bridgeworks.example",
    "support_email": "help@bridgeworks.example"
  },
  "costs": { "model": "paid", "summary": "GH₵50 a month, billed by Bridgeworks", "pricing_url": "https://bridgeworks.example/pricing" },
  "hosts": ["app.bridgeworks.example"],
  "scopes": ["finance:read", "tasks:read"],
  "webhook": { "url": "https://app.bridgeworks.example/agoo/events", "events": ["invoice.issued", "extension.installed"] },
  "points": [
    { "point": "invoice.panel", "url": "https://app.bridgeworks.example/agoo/invoice", "title": "Ledger", "height": 320 },
    { "point": "page", "url": "https://app.bridgeworks.example/agoo/home", "title": "Ledger Bridge" }
  ]
}

Fields

FieldRequiredRules
nameYes2 to 60 characters.
versionYesmajor.minor.patch. Higher than the version listed now. A version sent for review never changes; give a change a new number.
summaryYes10 to 160 characters: what it does.
descriptionNoUp to 4,000 characters.
data_useYes20 to 2,000 characters: what it does with what it reads, and where it keeps it. Organisations read this before they agree.
publisher.nameYesWho stands behind it.
publisher.support_emailYesWhere people write for help.
publisher.website, support_urlNohttps addresses.
costs.modelYesfree, paid or free_and_paid.
costs.summaryWhen paidWhat it costs and who bills it.
costs.pricing_urlNoAn https address.
hostsYesOne to five DNS names Agoo may call or show: no IP address, port or wildcard, and none of Agoo's own.
scopesYesWhat it reads and does, as API scopes. See below for what no extension can ask for.
webhook.urlNoAn https address on one of its hosts.
webhook.eventsWith webhookEvent types it hears. Each one's object needs a scope the manifest asks for (invoice.issued needs finance:read). extension.installed and extension.uninstalled need none.
pointsNoUp to five extension points, each once, with an https url on one of its hosts, a title of 2 to 40 characters and an optional height (120 to 1,200 pixels).

What no extension can ask for

  • webhooks:manage, so it can never send an organisation's events to a host it didn't declare;
  • events:read and audit:read, which read every part of Agoo at once, past its other scopes;
  • anything that approves, pays, posts to the books or closes a period: Agoo has no scope for those, so a person always does them in the Console.

Every install's token also carries extension:read, so it can read its own install. You don't list it.

Asking for more

A new version asks for more when it adds a scope, a host, an event or a place. After Agoo approves it:

  • organisations on an older version keep that version, and its access, until an Owner or Admin reads what changed and agrees;
  • a version that asks for the same or less moves every install on by itself, and fewer scopes take effect at once.

On this page