curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/admin/variables \
--header 'x-api-token: <api-key>'{
"totalCount": 123,
"edges": [
{
"id": "<string>",
"organisationId": "<string>",
"type": "form-short-text",
"name": "<string>",
"label": "<string>",
"useDefaultProfileValue": true,
"availableInQuestionBank": true,
"maxValueOccurrences": 2,
"isSingleOutputPerUser": true,
"isImmutable": true,
"createdAt": "<string>",
"createdBy": "<string>",
"placeholder": "<string>",
"prerequisiteVariableConfigIds": [
"<string>"
],
"options": [
{
"key": "<string>",
"value": "<string>"
}
],
"validationRegex": "<string>",
"validationEndpointConfig": {
"url": "<string>",
"method": "<string>",
"headers": {}
},
"updatedAt": "<string>",
"updatedBy": "<string>"
}
]
}Retrieve a paginated list of variable configs.
curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/admin/variables \
--header 'x-api-token: <api-key>'{
"totalCount": 123,
"edges": [
{
"id": "<string>",
"organisationId": "<string>",
"type": "form-short-text",
"name": "<string>",
"label": "<string>",
"useDefaultProfileValue": true,
"availableInQuestionBank": true,
"maxValueOccurrences": 2,
"isSingleOutputPerUser": true,
"isImmutable": true,
"createdAt": "<string>",
"createdBy": "<string>",
"placeholder": "<string>",
"prerequisiteVariableConfigIds": [
"<string>"
],
"options": [
{
"key": "<string>",
"value": "<string>"
}
],
"validationRegex": "<string>",
"validationEndpointConfig": {
"url": "<string>",
"method": "<string>",
"headers": {}
},
"updatedAt": "<string>",
"updatedBy": "<string>"
}
]
}1 <= x <= 100x >= 0Was this page helpful?