update_app_manifest
Update the manifest of an app YOU own: its name, tagline, entry URL, version, source repository and the autario datasets or operations it is allowed to read (consumed_datasets, which is what the sandbox bridge enforces at runtime: a World Bank or FRED dataset id, a live Yahoo quote op, or the caller's own Google Search Console and GA4 connector tables). Only the fields you pass change; everything else on the manifest is kept. Use it to declare data access after create_app, to put the app on its app store shelf (shelf), to declare that reports of the app may be shared on a secret link (share), or to rename or re-point an existing app. An app you do not own answers "not found". This never changes who may open the app: publishing is publish_app, deliberately a separate act.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New display name. Omit to keep the current one. | |
| tier | No | Runtime model. 2 = sandboxed custom app (the default for anything you build here). Only set this if you know you need 1. | |
| share | No | Let a report of this app be opened on a secret read-only link, e.g. {"subjects":["account"],"sections":["meta","report"]}. "subjects" says WHOSE data a link points at and may only name kinds autario can resolve ("account" = the owner of the link, which is what a third-party app wants); "sections" is the list a link may request, and anything outside it is refused. Omit the key to leave the current setting alone. An app that has never declared this cannot be shared at all. The owner still decides per link who may open it: anyone with the URL, only signed-in people from named company domains, or only named addresses. | |
| shelf | No | The app store shelf the app sits on, one id: search, analytics, social, ads, commerce, financial_markets, banking_accounting, crm, productivity, developer, ai, public_data. Pick the one that matches what the app is about (a dashboard of Instagram posts is social, an order report is commerce). Optional while the app is private; publish_app refuses with shelf_required until it has one. Any other value is refused with bad_shelf and the allowed ids. | |
| app_id | Yes | The app id returned by create_app. | |
| tagline | No | One-line description, max 200 chars. | |
| version | No | Free-text version, e.g. "1.2.0". Bundles are stored per version. | |
| entry_url | No | Where the app runs. An uploaded bundle uses the conventional "index.html". | |
| source_url | No | Link to the open source repository. | |
| datasets_owned | No | Datasets the app OWNS and writes through autario.rows (insert, select, update, delete), e.g. [{"key":"contacts","title":"Contacts","scope":"app","columns":[{"name":"email","type":"text","required":true},{"name":"deals","type":"integer"}]}]. scope "app" = one table of the app kept by the owner (readers read, editors write); scope "viewer" = one table per person looking at the app, readable only by that person (not by the owner). Types: text, number, integer, boolean, date (YYYY-MM-DD), timestamp (ISO with a time zone). Every written row is checked against these columns. A declared column cannot change its type and a key cannot change its scope; add new ones instead. Max 20 datasets x 50 columns. Omit to keep the current declaration. | |
| consumed_datasets | No | What the app reads, e.g. [{"op":"datasetData","dataset":"<id>"}]. The sandbox bridge refuses any read the manifest did not declare. To read the connected accounts of whoever opens the app, add the connector keys: [{"op":"connectors","providers":["google_search_console","ga4"]}] | those providers then appear on the Settings tab of the app with the connection state of that viewer, so a user who has not connected one can connect it from inside the app. Add "optional": true and "unlocks":"<what it adds>" for a source the app works without. |