|
Exam reports
|
class_group | Get class group and grades in given group for given exam report |
examinee | Get exam reports that allows access token issuer to update grades of given student |
examrep | Get info about exam report |
examrep_session | Get info about exam report session. |
examrep_session_access | Get access token issuer to exam report |
examrep_type | Exam report type |
grade_type | Get info about grade type. |
grade_value | Get information about grade value |
grader | Get exam reports that access token issuer has access |
student_grade | Get information about single user's grade |
student_grades | Get information about all user's grade from single exam report |
update_student_grade | Update user's grade. |
user_grade | Get information about access token user's grade |
services/examrep2/class_group ¶
|
||||||
https://apps.usos.pw.edu.pl/services/examrep2/class_group | ||||||
Get class group and grades in given group for given exam report | ||||||
examrep_id | required | ID of exam report | ||||
course_unit_id | required | ID of course unit | ||||
group_number | required | group number | ||||
fields | required |
Selector of result fields you are interested in. The selector may contain any subset of fields, which are described in the returns section. |
||||
format | optional |
Default value: json Format in which to return values. See supported output formats. |
||||
callback | optional |
Required only if you've chosen jsonp as a return format. |
||||
Plus required standard OAuth Consumer signing arguments: oauth_consumer_key, oauth_nonce, oauth_timestamp, oauth_signature, oauth_signature_method, oauth_version. Plus required oauth_token for Token authorization. | ||||||
Returned value: A dictionary of selected fields and their values. Available fields:
|
services/examrep2/examinee ¶
|
||||||
https://apps.usos.pw.edu.pl/services/examrep2/examinee | ||||||
Get exam reports that allows access token issuer to update grades of given student | ||||||
user_id | required | ID of student | ||||
fields | optional |
Default value: id|description|is_general_report|sessions Selector of result fields you are interested in. The selector must contain subset of primary fields, which are described in the returns section of examrep method. |
||||
format | optional |
Default value: json Format in which to return values. See supported output formats. |
||||
callback | optional |
Required only if you've chosen jsonp as a return format. |
||||
Plus required standard OAuth Consumer signing arguments: oauth_consumer_key, oauth_nonce, oauth_timestamp, oauth_signature, oauth_signature_method, oauth_version. Plus required oauth_token for Token authorization. | ||||||
Returned value: List of exam report objects that allows access token issuer to update grade of given student |
services/examrep2/examrep ¶
|
||||||
https://apps.usos.pw.edu.pl/services/examrep2/examrep | ||||||
Get info about exam report | ||||||
examrep_id | required | identifier of exam report | ||||
fields | optional |
Default value: id|description|is_general_report|sessions Selector of result fields you are interested in. The selector may contain any subset of fields, which are described in the returns section. |
||||
format | optional |
Default value: json Format in which to return values. See supported output formats. |
||||
callback | optional |
Required only if you've chosen jsonp as a return format. |
||||
Plus optional standard OAuth Consumer signing arguments: oauth_consumer_key, oauth_nonce, oauth_timestamp, oauth_signature, oauth_signature_method, oauth_version. Plus optional oauth_token for Token authorization. | ||||||
Returned value: A dictionary of selected fields and their values. Available fields:
|
services/examrep2/examrep_session ¶
|
||||||
https://apps.usos.pw.edu.pl/services/examrep2/examrep_session | ||||||
Get info about exam report session. | ||||||
examrep_id | required | ID of an exam report | ||||
examrep_session_number | required | number of exam report session | ||||
fields | optional |
Default value: examrep_id|number|status|description|deadline|is_open Selector of result fields you are interested in. The selector may contain any subset of fields, which are described in the returns section. |
||||
format | optional |
Default value: json Format in which to return values. See supported output formats. |
||||
callback | optional |
Required only if you've chosen jsonp as a return format. |
||||
Plus optional standard OAuth Consumer signing arguments: oauth_consumer_key, oauth_nonce, oauth_timestamp, oauth_signature, oauth_signature_method, oauth_version. Plus optional oauth_token for Token authorization. | ||||||
Returned value: A dictionary of selected fields and their values. Available fields:
|
services/examrep2/examrep_session_access ¶
|
||||||
https://apps.usos.pw.edu.pl/services/examrep2/examrep_session_access | ||||||
Get access token issuer to exam report | ||||||
examrep_id | required | Id of exam report | ||||
examrep_session_number | required | Number of exam report session | ||||
type | required | type of access | ||||
fields | optional |
Default value: cause|groups|exam_groups|unassigned Selector of result fields you are interested in. The selector may contain any subset of fields, which are described in the returns section. |
||||
format | optional |
Default value: json Format in which to return values. See supported output formats. |
||||
callback | optional |
Required only if you've chosen jsonp as a return format. |
||||
Plus required standard OAuth Consumer signing arguments: oauth_consumer_key, oauth_nonce, oauth_timestamp, oauth_signature, oauth_signature_method, oauth_version. Plus required oauth_token for Token authorization. | ||||||
Returned value: List of dictionaries of selected fields will be returned. Available fields:
|
services/examrep2/examrep_type ¶
|
||||||
https://apps.usos.pw.edu.pl/services/examrep2/examrep_type | ||||||
Exam report type | ||||||
examrep_type_id | required | Identifier of exam report type | ||||
fields | optional |
Default value: id|name Selector of result fields you are interested in. The selector may contain any subset of fields, which are described in the returns section. |
||||
format | optional |
Default value: json Format in which to return values. See supported output formats. |
||||
callback | optional |
Required only if you've chosen jsonp as a return format. |
||||
No additional OAuth arguments are required. If you provide any, they will be ignored. | ||||||
Returned value: A dictionary of selected fields and their values. Available fields:
|
services/examrep2/grade_type ¶
|
||||||
https://apps.usos.pw.edu.pl/services/examrep2/grade_type | ||||||
Get info about grade type. | ||||||
grade_type_id | required | Identifier of the type. | ||||
fields | optional |
Default value: id|name Selector of result fields you are interested in. The selector may contain any subset of fields, which are described in the returns section. |
||||
format | optional |
Default value: json Format in which to return values. See supported output formats. |
||||
callback | optional |
Required only if you've chosen jsonp as a return format. |
||||
No additional OAuth arguments are required. If you provide any, they will be ignored. | ||||||
Returned value: A dictionary of selected fields and their values. Available fields:
|
services/examrep2/grade_value ¶
|
||||||
https://apps.usos.pw.edu.pl/services/examrep2/grade_value | ||||||
Get information about grade value | ||||||
grade_type_id | required | ID of grade type | ||||
order_key | required | Order key of grade value | ||||
fields | optional |
Default value: order_key|symbol|name Selector of result fields you are interested in. The selector may contain any subset of fields, which are described in the returns section. |
||||
format | optional |
Default value: json Format in which to return values. See supported output formats. |
||||
callback | optional |
Required only if you've chosen jsonp as a return format. |
||||
No additional OAuth arguments are required. If you provide any, they will be ignored. | ||||||
Returned value: A dictionary of selected fields and their values. Available fields:
|
services/examrep2/grader ¶
|
||||||
https://apps.usos.pw.edu.pl/services/examrep2/grader | ||||||
Get exam reports that access token issuer has access | ||||||
only_writable | optional |
Default value: false return only reports that can be edited by access token issuer right now |
||||
active_terms_only | optional |
Default value: true return only reports from active academic terms |
||||
fields | optional |
Default value: id|description|is_general_report|sessions Selector of result fields you are interested in. The selector may contain any subset of fields, which are described in the returns section of examrep method. |
||||
format | optional |
Default value: json Format in which to return values. See supported output formats. |
||||
callback | optional |
Required only if you've chosen jsonp as a return format. |
||||
Plus required standard OAuth Consumer signing arguments: oauth_consumer_key, oauth_nonce, oauth_timestamp, oauth_signature, oauth_signature_method, oauth_version. Plus required oauth_token for Token authorization. | ||||||
Returned value: List of objects from method examrep |
services/examrep2/student_grade ¶
|
||||||
https://apps.usos.pw.edu.pl/services/examrep2/student_grade | ||||||
Get information about single user's grade | ||||||
examrep_id | required | ID of exam report | ||||
examrep_session_number | required | Number of exam report session | ||||
student_id | required | ID of student | ||||
fields | optional |
Default value: grade_value|comment|private_comment|user Selector of result fields you are interested in. The selector may contain any subset of fields, which are described in the returns section. |
||||
format | optional |
Default value: json Format in which to return values. See supported output formats. |
||||
callback | optional |
Required only if you've chosen jsonp as a return format. |
||||
Plus required standard OAuth Consumer signing arguments: oauth_consumer_key, oauth_nonce, oauth_timestamp, oauth_signature, oauth_signature_method, oauth_version. Plus required oauth_token for Token authorization. | ||||||
Returned value: A dictionary of selected fields and their values. Available fields:
|
services/examrep2/student_grades ¶
|
||||||
https://apps.usos.pw.edu.pl/services/examrep2/student_grades | ||||||
Get information about all user's grade from single exam report | ||||||
examrep_id | required | ID of exam report | ||||
student_id | required | ID of student | ||||
fields | optional |
Default value: grade_value|comment|private_comment|user Selector of result fields you are interested in. The selector may contain any subset of fields, which are described in the returns section of student_grade method. |
||||
format | optional |
Default value: json Format in which to return values. See supported output formats. |
||||
callback | optional |
Required only if you've chosen jsonp as a return format. |
||||
Plus required standard OAuth Consumer signing arguments: oauth_consumer_key, oauth_nonce, oauth_timestamp, oauth_signature, oauth_signature_method, oauth_version. Plus required oauth_token for Token authorization. | ||||||
Returned value: List of objects |
services/examrep2/update_student_grade ¶
|
||||||
https://apps.usos.pw.edu.pl/services/examrep2/update_student_grade | ||||||
This is a BETA method. We're looking for beta-testers. Until we find them, there's a substantial probability it won't stay backwards-compatible! If you are planning on using this method, please let us know. Then, we will work with you and move it out of beta as soon as we can. Update user's grade. | ||||||
student_id | required | ID of user whoose grade will be updated | ||||
examrep_id | required | ID of an exam | ||||
examrep_session_number | required | number of exam session | ||||
value_symbol | optional | Symbolic value of a grade | ||||
comment | optional | Public comment | ||||
private_comment | optional | Private comment | ||||
date_modified | optional | Date used to avoid concurrency problems. If you expect that grade doesn't exist in database you should pass empty string. | ||||
date_acquisition | optional | Date of grade acquisition. This field is optional, however you may sometimes be forced to input the date (if the grade doesn't exist and the exam session requires this date, see is_acquisition_date_required field of examrep_session method). | ||||
format | optional |
Default value: json Format in which to return values. See supported output formats. |
||||
callback | optional |
Required only if you've chosen jsonp as a return format. |
||||
Plus required standard OAuth Consumer signing arguments: oauth_consumer_key, oauth_nonce, oauth_timestamp, oauth_signature, oauth_signature_method, oauth_version. Plus required oauth_token for Token authorization. | ||||||
Returned value: Empty dict on success | ||||||
Thrown errors:
|
services/examrep2/user_grade ¶
|
||||||
https://apps.usos.pw.edu.pl/services/examrep2/user_grade | ||||||
Get information about access token user's grade | ||||||
examrep_id | required | ID of exam report | ||||
examrep_session_number | required | Number of exam report session | ||||
fields | optional |
Default value: grade_value|comment|last_updated Selector of result fields you are interested in. The selector may contain any subset of fields, which are described in the returns section. |
||||
format | optional |
Default value: json Format in which to return values. See supported output formats. |
||||
callback | optional |
Required only if you've chosen jsonp as a return format. |
||||
Plus required standard OAuth Consumer signing arguments: oauth_consumer_key, oauth_nonce, oauth_timestamp, oauth_signature, oauth_signature_method, oauth_version. Plus required oauth_token for Token authorization. | ||||||
Returned value: A dictionary of selected fields and their values. Available fields:
|