Skip to content

Instantly share code, notes, and snippets.

@danlopez
Last active March 14, 2016 15:01
Show Gist options
  • Save danlopez/a2cd68876b595737a4be to your computer and use it in GitHub Desktop.
Save danlopez/a2cd68876b595737a4be to your computer and use it in GitHub Desktop.
/*
GET /sections/<sectionId>
*/
// Headers
Authentication: Bearer <accessToken> // Required for all OAuth Requests
// Response
{
"id": 1234, // Numeric
"name": "0517",
"organization": {
"id": 123
},
"bundles": [
{
"id": 1
}
],
"creator": {
"id": 123,
},
"status": "PUBLISHED",
"isExerciseDiscussionBoardDisabled": true,
"isExerciseLeaderboardDisabled": true,
"arePeerAssessorsDisclosed": false,
"description": "A Description",
"exercises": [ // an array of sectionExercises
{
"id": 123,
"exercise": { // Exercise the SectionExercise is using
"id": 1234,
"name": "Nursing Concepts",
}
"scheduleMoments": [
{
"id": 1,
"type": "RESPONSE_START",
"time": 1457789535
},
{
"id": 2,
"type": "RESPONSE_END",
"time": 1457889535
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment