curl --location --request GET 'https://api.synap.ac/v3/tests/'
{
"data": {
"id": "FID001",
"type": "Test",
"attributes": {
"createdAt": "string",
"updatedAt": "string",
"title": "string",
"totalQuestions": 0,
"settings": {},
"sectionSettings": [
{}
],
"resitAllowedAttempts": 0
},
"relationships": {
"owner": {
"data": {
"id": "FID001",
"type": "User"
}
},
"subPortal": {
"data": {
"id": "FID001",
"type": "SubPortal"
}
},
"questions": {
"data": [
{
"id": "FID001",
"type": "Question"
}
]
},
"coverImage": {
"data": {
"id": "FID001",
"type": "Image"
}
}
}
},
"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": {}
}
}
}
]
}