Passa al contenuto principale

Update Dataset Semantics

PUT 

/v1/datasets/:dataset_id/semantics

Replace a dataset's semantics block. Creator or Admin with edit access to the dataset; an API key needs write access.

Every metric expression and filter is checked against this dataset before anything is stored: one aggregate expression over this dataset's own columns, with no query, no other table and no file reader (400 names what was refused).

A write never certifies. A metric whose expr, filters, timeColumn or definition changes moves to the next version and back to proposed; a write may set status to proposed or suspect. Send baseVersion (the version you read) to be refused (409) instead of overwriting someone else's change.

Request​

Responses​

Successful Response