curl --location --request GET 'https://api.synap.ac/v3/courses/'
{
"data": {
"id": "FID001",
"type": "Course",
"attributes": {
"createdAt": "string",
"updatedAt": "string",
"name": "string",
"description": "string",
"isArchived": true,
"shortDescription": "string",
"versionNumber": 0,
"publishedAt": "string"
},
"relationships": {
"owner": {
"data": {
"id": "FID001",
"type": "User"
}
},
"subPortal": {
"data": {
"id": "FID001",
"type": "SubPortal"
}
},
"items": {
"data": [
{
"id": "FID001",
"type": "CourseItem"
}
]
},
"folders": {
"data": [
{
"id": "FID001",
"type": "CourseFolder"
}
]
},
"coverImage": {
"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": {}
}
}
}
]
}