curl --location --request GET 'https://api.synap.ac/v3/assignments/'
{
"data": {
"id": "FID001",
"type": "Assignment",
"attributes": {
"createdAt": "string",
"name": "string",
"description": "string",
"shortDescription": "string",
"image": {
"url": "string"
},
"deadline": "string",
"status": "Not started",
"progress": 0,
"startDate": "string",
"endDate": "string",
"setDate": "string",
"timeSpentInMinutes": 0,
"totalItems": 0,
"itemsCompleted": 0,
"attemptNumber": 0
},
"relationships": {
"owner": {
"data": {
"id": "FID001",
"type": "User"
}
},
"course": {
"data": {
"id": "FID001",
"type": "Course"
}
},
"coverImage": {
"data": {
"id": "FID001",
"type": "File"
}
},
"items": {
"data": [
{
"id": "FID001",
"type": "AssignmentItemAudio"
}
]
},
"folders": {
"data": [
{
"id": "FID001",
"type": "AssignmentFolder"
}
]
},
"certificate": {
"data": {
"id": "FID001",
"type": "Certificate"
}
},
"certificateFile": {
"data": {
"id": "FID001",
"type": "File"
}
}
}
},
"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": {}
}
}
}
]
}