Index: trunk/extensions/Survey/api/ApiQuerySurveySubmissions.php |
— | — | @@ -133,7 +133,9 @@ |
134 | 134 | */ |
135 | 135 | protected function getExamples() { |
136 | 136 | return array ( |
137 | | - 'api.php?action=query&list=surveysubmissions&', |
| 137 | + 'api.php?action=query&list=surveysubmissions&qsid=42', |
| 138 | + 'api.php?action=query&list=surveysubmissions&qssurvey_id=9001', |
| 139 | + 'api.php?action=query&list=surveysubmissions&qsuser_name=Jeroen%20De%20Dauw&qsprops=survey_id|page_id|time', |
138 | 140 | ); |
139 | 141 | } |
140 | 142 | |
Index: trunk/extensions/Survey/api/ApiQuerySurveyAnswers.php |
— | — | @@ -133,7 +133,9 @@ |
134 | 134 | */ |
135 | 135 | protected function getExamples() { |
136 | 136 | return array ( |
137 | | - 'api.php?action=query&list=surveyanswers&', |
| 137 | + 'api.php?action=query&list=surveyanswers&qaid=42', |
| 138 | + 'api.php?action=query&list=surveyanswers&qaid=42&qaprops=text|submission_id', |
| 139 | + 'api.php?action=query&list=surveyanswers&qaquestion_id=9001&qaprops=text', |
138 | 140 | ); |
139 | 141 | } |
140 | 142 | |
Index: trunk/extensions/Survey/api/ApiQuerySurveys.php |
— | — | @@ -197,7 +197,8 @@ |
198 | 198 | */ |
199 | 199 | protected function getExamples() { |
200 | 200 | return array ( |
201 | | - 'api.php?action=query&list=surveys&', |
| 201 | + 'api.php?action=query&list=surveys&suids=4|2', |
| 202 | + 'api.php?action=query&list=surveys&suenabled=1&suprops=id|name', |
202 | 203 | ); |
203 | 204 | } |
204 | 205 | |