Generic HTTP GET data feed. Fetches on server-side render (GAS surface via UrlFetchApp) then refreshes client-side via google.script.run.fetchDataSource(). Publishes to window.A2UI_DATA[name] and calls window.A2UI_CALLBACKS[name]. Other surfaces would use fetch() or requests instead.
| Field | Type | |
|---|---|---|
| name | string. Feed identifier — other atoms subscribe to this name (required). | required |
| url | string. HTTP GET endpoint. | required |
| format | string. json | text. Default json. | optional |
| path | string. Dot-notation path into parsed response (e.g. data.items). | optional |
| refresh | integer. Client refresh interval seconds. 0 = initial load only. Default 0. | optional |
| cache | integer. Server-side CacheService TTL seconds. Default 15. | optional |
{
"type": "data_source",
"name": "Data Source",
"url": 1
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:data_source",
"displayName": "Data Source",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/data_source",
"capabilities": [
"apps-script-web"
],
"description": "Generic HTTP GET data feed. Fetches on server-side render (GAS surface via UrlFetchApp) then refreshes client-side via google.script.run.fetchDataSource(). Publishes to window.A2UI_DATA[name] and calls window.A2UI_CALLBACKS[name]. Other surfaces would use fetch() or requests instead.",
"representativeQueries": [
"show a generic HTTP feed \u2014 server-side initial fetch, client-side refresh via surface transport",
"generic http get data feed. fetches on server-side render (gas surface via urlfetchapp) then refresh",
"render a data source"
]
}
The renderer is open source. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.
git clone https://github.com/a2uicatalog/a2ui
cd apps-script-surface/gas-schema-renderer
clasp push && clasp deploy
Full deploy guide →