curl --location --request GET 'https://api.synap.ac/v3/survey-pages/'
{
"data": {
"id": "FID001",
"type": "SurveyPage",
"attributes": {
"title": "string",
"description": "string",
"primaryColor": "string",
"resultDescription": "string",
"headerImageUrl": "http://example.com"
},
"relationships": {
"survey": {
"data": {
"id": "FID001",
"type": "Survey"
}
},
"items": {
"data": [
{
"id": "FID001",
"type": "SurveyItem"
}
]
}
}
},
"included": [
{
"id": "FID001",
"type": "_User",
"attributes": {},
"relationships": {
"property1": {
"data": {
"id": "FID001",
"type": "_User"
},
"links": {
"self": "string",
"related": "string"
},
"meta": {}
},
"property2": {
"data": {
"id": "FID001",
"type": "_User"
},
"links": {
"self": "string",
"related": "string"
},
"meta": {}
}
}
}
]
}