home / docs / sections

sections: json_api:json-api-discover-alternate

This data as json

id page ref title content breadcrumbs references
json_api:json-api-discover-alternate json_api json-api-discover-alternate Discovering the JSON for a page Most of the HTML pages served by Datasette provide a mechanism for discovering their JSON equivalents using the HTML link mechanism. You can find this near the top of the source code of those pages, looking like this: <link rel="alternate" type="application/json+datasette" href="https://latest.datasette.io/fixtures/sortable.json"> The JSON URL is also made available in a Link HTTP header for the page: Link: <https://latest.datasette.io/fixtures/sortable.json>; rel="alternate"; type="application/json+datasette" ["JSON API"] []
Powered by Datasette · Queries took 1.929ms