|
Feedback reporting
|
report_db | Report invalid data in USOS database. |
status | Get the module status. |
services/feedback/report_db ¶
|
||||||
https://www.usosapi.amuz.bydgoszcz.pl/services/feedback/report_db | ||||||
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. Report feedback from the user, regarding invalid (or outdated) data in the USOS database. User's feedback will be logged, and might help to fix the errors later. This is an experimental feature. There's a big chance that this method will be either removed, or changed in a backward incompatible way (e.g. we may require captchas). Before you use this method, please make sure that the module is enabled - see the status method. | ||||||
user_form | required |
JSON-encoded list of dictionaries. These dictionaries represent user inputs present in the feedback form, that the user has submitted. The list can be empty, but usually it should contain at least element (user's comment). Each dictionary has two fields:
|
||||
meta | required |
JSON-encoded object. It may contain any data you want. The format of this object is currently left undocumented, but some of the keys are recommended. You should include at least such data which would enable the report reader to pinpoint the entity the user is reporting. Some example meta keys:/p>
|
||||
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 optional oauth_token for Token authorization. | ||||||
Returned value: If the report has been successfully stored, In case of error, you should check the user_messages field and display the proper message for the user. |
services/feedback/status ¶
|
||||||
https://www.usosapi.amuz.bydgoszcz.pl/services/feedback/status | ||||||
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. This module is in early BETA state. As such, it is not enabled by default. You should allowed the users to submit feedback only when it is enabled! | ||||||
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 the following format:
|