{ "opencollection": "1.0.0", "info": { "name": "Open edX agreements discounts API", "version": "v1" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "discounts", "type": "folder" }, "items": [ { "info": { "name": "discounts_course_read", "type": "http" }, "http": { "method": "GET", "url": "https://open.kaznu.kz/api/discounts/course/:course_key_string", "params": [ { "name": "course_key_string", "value": "", "type": "path" } ] }, "docs": "Return the discount percent, if the user has appropriate permissions." }, { "info": { "name": "discounts_user_course_read", "type": "http" }, "http": { "method": "GET", "url": "https://open.kaznu.kz/api/discounts/user/:user_id/course/:course_key_string", "params": [ { "name": "user_id", "value": "", "type": "path" }, { "name": "course_key_string", "value": "", "type": "path" } ] }, "docs": "Return the discount percent, if the user has appropriate permissions." } ] } ], "bundled": true }