{ "opencollection": "1.0.0", "info": { "name": "Open edX agreements API", "version": "v1" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "agreements", "type": "folder" }, "items": [ { "info": { "name": "In order to check whether the user has signed the integrity agreement for a given course.", "type": "http" }, "http": { "method": "GET", "url": "https://open.kaznu.kz/api/agreements/v1/integrity_signature/:course_id", "params": [ { "name": "course_id", "value": "", "type": "path" } ] }, "docs": "Should return the following:\n username (str)\n course_id (str)\n created_at (str)\n\nIf a username is not given, it should default to the requesting user (or masqueraded user).\nOnly staff should be able to access this endpoint for other users." }, { "info": { "name": "agreements_v1_integrity_signature_create", "type": "http" }, "http": { "method": "POST", "url": "https://open.kaznu.kz/api/agreements/v1/integrity_signature/:course_id", "params": [ { "name": "course_id", "value": "", "type": "path" } ] }, "docs": "Create an integrity signature for the requesting user and course. If a signature\nalready exists, returns the existing signature instead of creating a new one.\n\n/api/agreements/v1/integrity_signature/{course_id}\n\nExample response:\n {\n username: \"janedoe\",\n course_id: \"org.2/course_2/Run_2\",\n created_at: \"2021-04-23T18:25:43.511Z\"\n }" }, { "info": { "name": "agreements_v1_lti_pii_signature_create", "type": "http" }, "http": { "method": "POST", "url": "https://open.kaznu.kz/api/agreements/v1/lti_pii_signature/:course_id", "params": [ { "name": "course_id", "value": "", "type": "path" } ] }, "docs": "Create an LTI PII signature for the requesting user and course. If a signature\nalready exists, returns the existing signature instead of creating a new one.\n\n/api/agreements/v1/lti_pii_signature/{course_id}\n\nExample response:\n {\n username: \"janedoe\",\n course_id: \"org.2/course_2/Run_2\",\n created_at: \"2021-04-23T18:25:43.511Z\"\n }" } ] } ], "bundled": true }