datasets
fields

Get fields for a dataset

get/datasets/{dataset-id}/fields

Request

  • Base URL: https://api.mopinion.com
  • URL: https://api.mopinion.com/datasets/{dataset-id}/fields
  • Auth: none declared

Path parameters

dataset-idinteger required

The id for the dataset

Headers

versionstring

The API version to use

Response

Get fields for the given dataset

report_idinteger

Report identifier

dataset_idinteger

Dataset identifier

labelstring

Full field label

short_labelstring

Short version of the field label

keystring

Field identifier

typestring

Field variable type

group_keystring

Name of the question group the field belongs to

answer_optionsobject

(optional) additional properties

Example response

[
  {
    "report_id": 438,
    "dataset_id": 560,
    "label": "How would you rate your overall experience?",
    "short_label": "Overall experience",
    "key": "3.Rating.f3d142f4",
    "type": "ratio",
    "group_key": "12.CHECKBOX.GROUP.456"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.