Survey data

Create a connection between two projects

  • fields: Optional. List of questions whose responses will be retrieved from the source data. If missing or empty, all responses will be retrieved. Questions must be identified by full group path separated by slashes, e.g. group/subgroup/question_name.
  • filename: Must be unique among all asset files. Only accepts letters, numbers and '-'.
post/api/v2/assets/{uid_asset}/paired-data/

Request

  • The document declares no server URL.
  • Auth: one of:
    • HTTP basic
    • API key in header Authorization

Path parameters

uid_assetstring required

UID of the parent asset

Request body

sourcestring uri required
fieldsstring[]
filenamestring required
source__namestring required

Response

sourcestring uri required
source__namestring required
fieldsstring[] required
filenamestring required
urlstring uri required

Example response

{
  "source": "https://kf.kobotoolbox.org/api/v2/assets/a3C9wWefqZVkChNLKqqXVZ/",
  "url": "https://kf.kobotoolbox.org/api/v2/assets/a5owyo85mHyFazzgsZK45c/paired-data/pd9CWSKADt4T7h5bMKwhLqq/"
}

Changes