Bulk Register Tables
const url = 'https://example.com/ingest/register/bulk/';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"tables":[{"summary":"example","table_name":"example","title":"example","visibility":"private"}]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/ingest/register/bulk/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "tables": [ { "summary": "example", "table_name": "example", "title": "example", "visibility": "private" } ] }'Bulk-register multiple existing PostGIS tables as datasets.
Each table is registered independently — one failure does not block
others. Tables are processed in parallel via asyncio.gather with
a fresh session per task, which keeps transaction isolation while
removing the sequential per-table latency (PERF-3).
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
List of tables to register as datasets in a single request.
Responses
Section titled “ Responses ”Successful Response
object
Per-table registration results, in the same order as the request.
Example generated
{ "results": [ { "dataset_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "error": "example", "status": "example", "table_name": "example", "title": "example" } ]}Bad request — invalid payload
Unauthorized — missing or invalid credentials
Forbidden — caller lacks write access
Not found
Conflict — resource state prevents the operation
Validation error
Too many requests — retry after the advertised interval
Headers
Section titled “Headers ”Seconds until the request may be retried
Internal server error
Service unavailable — the database could not serve the request