kitegraph

Endpoints

Every endpoint, with the scope each key needs.

EndpointScopeReturns
GET/v1/statistics?search=&source=data:readSearch a source's statistics.
GET/v1/statistic/{id}data:readOne statistic: series, unit, geography, source, license, coverage.
GET/v1/statistic?source=&…data:readConstruct an exact statistic from dimension values; mints a stable id.
GET/v1/sourcesdata:readThe source registry.
GET/v1/sources/{source}data:readOne source's dimensions.
GET/v1/sources/{source}/dimensions/{dim}data:readA dimension's valid values.
GET/v1/chartschart:readYour charts (workspace-scoped).
POST/v1/chartschart:writeCreate a chart.
GET/v1/charts/{id}chart:readOne chart resource.
PATCH/v1/charts/{id}chart:writeUpdate kind, series, meta, or folderId.
DELETE/v1/charts/{id}chart:writeDelete a chart.
PUT/v1/charts/{id}/datachart:writeSet the chart's data from a CSV body.
POST/v1/charts/{id}/publishchart:writePublish (or update) the hosted embed.
GET/v1/charts/{id}/export/{png|svg|pdf}chart:readThe chart as file bytes.
GET/v1/foldersfolder:readYour folders (workspace-scoped).
POST/v1/foldersfolder:writeCreate a folder.
GET/v1/folders/{id}folder:readOne folder.
PATCH/v1/folders/{id}folder:writeRename or move a folder.
DELETE/v1/folders/{id}folder:writeDelete a folder; its charts move up a level.
GET/v1/themestheme:readYour themes.
Endpoints — Kitegraph docs