{ "opencollection": "1.0.0", "info": { "name": "Teachworks Availabilities Lessons API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Lessons", "type": "folder" }, "items": [ { "info": { "name": "List all Lessons", "type": "http" }, "http": { "method": "GET", "url": "https://api.teachworks.com/v1/lessons", "params": [ { "name": "page", "value": "", "type": "query", "description": "1-based page number for pagination. Defaults to 1." }, { "name": "per_page", "value": "", "type": "query", "description": "Number of records per page. Defaults to 20, maximum 80." } ] }, "docs": "List all Lessons" }, { "info": { "name": "Create a Lesson", "type": "http" }, "http": { "method": "POST", "url": "https://api.teachworks.com/v1/lessons", "body": { "type": "json", "data": "{}" } }, "docs": "Create a Lesson" }, { "info": { "name": "Retrieve a Lesson", "type": "http" }, "http": { "method": "GET", "url": "https://api.teachworks.com/v1/lessons/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the resource." } ] }, "docs": "Retrieve a Lesson" }, { "info": { "name": "Add Student to Lesson", "type": "http" }, "http": { "method": "PUT", "url": "https://api.teachworks.com/v1/lessons/:id/add_student", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the resource." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Add Student to Lesson" }, { "info": { "name": "Complete a Lesson", "type": "http" }, "http": { "method": "PUT", "url": "https://api.teachworks.com/v1/lessons/:id/complete", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the resource." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Complete a Lesson" } ] } ], "bundled": true }