v1

latestOpenAPI 3.0.0Open Government Licence v3.02026-07-23289.7 KB

Generate a table from json input

Create an html, csv or xlsx representation of the given table for display or download

post/render/{render_type}

Path parameters

render_type'html' | 'csv' | 'xlsx' required

The type of output required

Request body

filenamestring required

A unique id for the table

titlestring

The main title of the table

subtitlestring

An additional title or short description of the table

sourcestring

Where the data in the table came from

unitsstring

Name/decription of the units used in the table, if appropriate

keep_headers_togetherboolean

If true, the html output includes a css class designed to prevent content of heading cells being wrapped over 2 lines. Deliberate line breaks will be honoured.

footnotesstring[]

Notes associated with (and potentially referenced from) the table. The order of footnotes is important, e.g. [1] will be converted into a link to the first footnote.

Response

An appropriate representation of the table is returned in the body

All 2 operations