v1

latestOpenAPI 3.0.02026-07-1717466209.0 KB
Indicator DSD

Prepare indicator data upload

Upload a CSV (or reference a completed resumable upload_id), validate required DSD column headers, stage the file on the project, and return distinct values in the indicator_id column. Does not require indicator_id_value or implied_freq_code (those are enforced on data_upload_import). Provide either file or upload_id, not both.

post/indicator_dsd/data_upload_prepare/{sid}

Path parameters

sidstring required

Project numeric id or idno

Response

Headers valid; CSV staged for import

status'success' required
headers_validtrue required
expected_columnsstring[]

DSD column names required in the CSV

import_columnsstring[]

Column names passed to the DuckDB import

keep_extra_csv_columnsboolean
indicator_columnstring

DSD column name for indicator_id

indicator_id_valuestring nullable

Bound value on the project (may be empty at prepare time)

indicator_values_truncatedboolean
indicator_values_limitinteger
series_idnostring nullable
series_idno_in_csvboolean
ignored_columnsstring[]

Extra CSV columns not in the DSD

extra_in_csvstring[]
csv_row_countinteger nullable