curl --location --request GET 'https://api.synap.ac/v3/course-item-document/'
{
"data": {
"id": "FID001",
"type": "CourseItemDocument",
"attributes": {
"title": "string",
"description": "string",
"customLabel": "string",
"type": "document",
"isReviewRequired": true,
"shouldPreview": true,
"allowDownload": true
},
"relationships": {
"course": {
"data": {
"id": "FID001",
"type": "Course"
}
},
"folder": {
"data": {
"id": "FID001",
"type": "CourseFolder"
}
},
"document": {
"data": {
"id": "FID001",
"type": "Content"
}
}
}
},
"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": {}
}
}
}
]
}