v1

latestSwagger 2.0Apache 2.02026-07-1725956.5 KB
Study Integration

Attach table to a study

Attach a table to a study. Accepts either 'idno' (study IDNO) or 'sid' (study ID).

post/tables/attach_to_study

Request body

db_idstring required

Database ID (alphanumeric, underscores only, lowercase)

table_idstring required

Table ID (alphanumeric, underscores only, lowercase)

idnostring

Study IDNO (unique identifier). Either 'idno' or 'sid' must be provided.

sidinteger

Study ID (internal ID). Either 'idno' or 'sid' must be provided.

Example request

{
  "idno": "ZMB_2001_DHS_v01_M_v02_A_IPUMS",
  "sid": 452
}

Response

successful operation

statusstring
resultboolean

True if attachment was successful or already exists

Example response

{
  "status": "success"
}