Änderungen von Dokument 06 Schnittstelle ONYX Editor
Zuletzt geändert von Carina Enke am 24.11.2025
Von Version 98.1
bearbeitet von Carina Enke
am 24.11.2025
am 24.11.2025
Änderungskommentar:
Migrated property [stableId] from class [Confluence.Code.ConfluencePageClass]
Auf Version 76.1
bearbeitet von Carina Enke
am 07.06.2019
am 07.06.2019
Änderungskommentar:
Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 8.7.
Zusammenfassung
-
Seiteneigenschaften (3 geändert, 0 hinzugefügt, 0 gelöscht)
-
Objekte (1 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- Seiteneigenschaften
-
- Titel
-
... ... @@ -1,1 +1,1 @@ 1 - 06Schnittstelle ONYX Editor1 +Schnittstelle ONYX Editor - Übergeordnete Seite
-
... ... @@ -1,1 +1,0 @@ 1 -ONYX.Systeminformationen.WebHome - Inhalt
-
... ... @@ -1,13 +1,24 @@ 1 +{{sv-translation language="de"}} 1 1 {{layout}} 3 +{{layout-section ac:type="single"}} 4 +{{layout-cell}} 5 +\\ 6 +{{/layout-cell}} 7 +{{/layout-section}} 8 + 2 2 {{layout-section ac:type="two_right_sidebar"}} 3 3 {{layout-cell}} 4 - 11 +\\ 5 5 {{/layout-cell}} 6 6 7 7 {{layout-cell}} 15 +{{scroll-ignore}} 8 8 {{panel title="Inhalt"}} 9 -{{toc depth="3" start="2"/}} 17 + 18 + 19 +{{toc/}} 10 10 {{/panel}} 21 +{{/scroll-ignore}} 11 11 {{/layout-cell}} 12 12 {{/layout-section}} 13 13 ... ... @@ -25,10 +25,10 @@ 25 25 @RestParam(name = "params") final Map<String, String> params) {} 26 26 {{/code}} 27 27 39 +\\ 28 28 29 29 === Parameter saveResult2 === 30 30 31 -(% class="wrapped" %) 32 32 |((( 33 33 uniqueId 34 34 )))|((( ... ... @@ -45,9 +45,10 @@ 45 45 Generische Parameter. Diese werden aktuell ohne weitere Verarbeitung einfach nur gespeichert. 46 46 ))) 47 47 59 +\\ 60 + 48 48 === returnValue saveResult2 === 49 49 50 -(% class="wrapped" %) 51 51 |((( 52 52 boolean 53 53 )))|((( ... ... @@ -56,6 +56,8 @@ 56 56 57 57 == Ergebnisse speichern (Legacy) == 58 58 71 +\\ 72 + 59 59 {{code title="Ergebnisse speichern (Legacy)"}} 60 60 @RestMethod(name = "saveResult") 61 61 public Boolean saveResult( ... ... @@ -63,10 +63,10 @@ 63 63 @RestParam(name = "resultFile") final byte[] resultFile) {} 64 64 {{/code}} 65 65 80 +\\ 66 66 67 67 === Parameter saveResult2 === 68 68 69 -(% class="wrapped" %) 70 70 |((( 71 71 uniqueId 72 72 )))|((( ... ... @@ -80,7 +80,6 @@ 80 80 81 81 === returnValue saveResult2 === 82 82 83 -(% class="wrapped" %) 84 84 |((( 85 85 boolean 86 86 )))|((( ... ... @@ -87,22 +87,27 @@ 87 87 True bei Erfolg, sonst false 88 88 ))) 89 89 103 +\\ 104 + 90 90 == Version der Schnittstelle abfragen == 91 91 107 +\\ 108 + 92 92 {{code title="Version abfragen"}} 93 93 @RestMethod(name = "version") 94 94 public String version() {} 95 95 {{/code}} 96 96 114 +\\ 97 97 98 98 === Parameter version === 99 99 100 100 keine 101 101 120 +\\ 102 102 103 103 === returnValue saveResult2 === 104 104 105 -(% class="wrapped" %) 106 106 |((( 107 107 String 108 108 )))|((( ... ... @@ -109,6 +109,8 @@ 109 109 Version der REST-Schnittstelle, aktuell immer "1.0 (ONYX-Editor-Version)" 110 110 ))) 111 111 130 +\\ 131 + 112 112 == Nutzer löschen == 113 113 114 114 Der ONYX Editor kann an ein LMS gekoppelt werden, so dass das LMS das nutzerdatenführende System ist. Werden Nutzer im LMS gelöscht, so sollten alle zugehörigen Daten (bspw. die persönlichen Einstellungen des Nutzers) auch im ONYX Editor gelöscht werden. ... ... @@ -127,7 +127,6 @@ 127 127 128 128 === Parameter deleteUser === 129 129 130 -(% class="wrapped" %) 131 131 |((( 132 132 login 133 133 )))|((( ... ... @@ -168,7 +168,6 @@ 168 168 169 169 Löschresultat-Informationen. 170 170 171 -(% class="wrapped" %) 172 172 |((( 173 173 Key 174 174 )))|((( ... ... @@ -182,3 +182,202 @@ 182 182 {{/layout-cell}} 183 183 {{/layout-section}} 184 184 {{/layout}} 203 +{{/sv-translation}} 204 + 205 +{{sv-translation language="en"}} 206 +{{layout}} 207 +{{layout-section ac:type="two_right_sidebar"}} 208 +{{layout-cell}} 209 +\\ 210 +{{/layout-cell}} 211 + 212 +{{layout-cell}} 213 +{{scroll-ignore}} 214 +{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Content"}} 215 + 216 + 217 +{{toc/}} 218 +{{/panel}} 219 +{{/scroll-ignore}} 220 +{{/layout-cell}} 221 +{{/layout-section}} 222 + 223 +{{layout-section ac:type="single"}} 224 +{{layout-cell}} 225 +== Save results == 226 + 227 +With the ONYX Editor, system independent tests may be published. If users perform these tests, the result will be transferred back to the ONYX Editor, which saves it. The ONYX Editor provides the following REST interfaces: 228 + 229 +{{code title="Save results"}} 230 +@RestMethod(name = "saveResult2") 231 +public Boolean saveResult( 232 +@RestParam(name = "uniqueId") final String uniqueId, 233 +@RestParam(name = "resultFile") final byte[] resultFile, 234 +@RestParam(name = "params") final Map<String, String> params) {} 235 +{{/code}} 236 + 237 +\\ 238 + 239 +=== Parameter saveResult2 === 240 + 241 +|((( 242 +uniqueId 243 +)))|((( 244 +Unique ID used by the ONYX WebPlayer and ONYX Editor when running the test. 245 +))) 246 +|((( 247 +resultFile 248 +)))|((( 249 +Result file as ZIP file (QTI-compliant result.xml, including any referenced files such as user uploads or user content if necessary) 250 +))) 251 +|((( 252 +params 253 +)))|((( 254 +Generic parameters. These are currently only stored without further processing. 255 +))) 256 + 257 +\\ 258 + 259 +=== returnValue saveResult2 === 260 + 261 +|((( 262 +boolean 263 +)))|((( 264 +True if successful, otherwise false 265 +))) 266 + 267 +== Save results (legacy) == 268 + 269 +\\ 270 + 271 +{{code title="Save results (legacy)"}} 272 +@RestMethod(name = "saveResult") 273 +public Boolean saveResult( 274 +@RestParam(name = "uniqueId") final String uniqueId, 275 +@RestParam(name = "resultFile") final byte[] resultFile) {} 276 +{{/code}} 277 + 278 +\\ 279 + 280 +=== Parameter saveResult2 === 281 + 282 +|((( 283 +uniqueId 284 +)))|((( 285 +Unique ID used by the ONYX WebPlayer and ONYX Editor when running the test. 286 +))) 287 +|((( 288 +resultFile 289 +)))|((( 290 +Result file as ZIP file (QTI-compliant result.xml, including any referenced files such as user uploads or user content if necessary) 291 +))) 292 + 293 +=== returnValue saveResult2 === 294 + 295 +|((( 296 +boolean 297 +)))|((( 298 +True if successful, otherwise false 299 +))) 300 + 301 +\\ 302 + 303 +== Query interface version == 304 + 305 +\\ 306 + 307 +{{code title="Query version"}} 308 +@RestMethod(name = "version") 309 +public String version() {} 310 +{{/code}} 311 + 312 +\\ 313 + 314 +=== Parameter version === 315 + 316 +None 317 + 318 +\\ 319 + 320 +=== returnValue saveResult2 === 321 + 322 +|((( 323 +String 324 +)))|((( 325 +REST interface version, currently always "1.0 (ONYX Editor version)" 326 +))) 327 + 328 +\\ 329 + 330 +== Delete user == 331 + 332 +The ONYX Editor can be coupled to an LMS with the LMS being the user data management system. If users are deleted from the LMS, all related data (e. g. personal user settings) should also be deleted from the ONYX Editor. 333 + 334 +{{code title="Delete user"}} 335 +@RestMethod 336 +public Map<String, String> deleteUser( 337 + @RestParam(name = "login") final String login, 338 + @RestParam(name = "password") final String password, 339 + @RestParam(name = "repo") final String repo, 340 + @RestParam(name = "property") final String property, 341 + @RestParam(name = "values") final ArrayList<String> values, 342 + @RestParam(name = "reason") final String reason, 343 + @RestParam(name = "params") final Map<String, String> params) {} 344 +{{/code}} 345 + 346 +=== Parameter deleteUser === 347 + 348 +|((( 349 +login 350 +)))|((( 351 +User name of an ONYX Editor admin user who has the right to delete other users. 352 +))) 353 +|((( 354 +password 355 +)))|((( 356 +Password of this ONYX Editor admin user. 357 +))) 358 +|((( 359 +repo 360 +)))|((( 361 +ID of the LMS repository as it is already configured in the LMS and used for communication with the ONYX Editor. 362 +))) 363 +|((( 364 +property 365 +)))|((( 366 +Selection criterion for the users to be deleted. If "uid", filtering is done according to the globally valid user identifier (Shibboleth criterion). Otherwise, the filtering is done according to the user names used internally by the LMS in conjunction with the ONYX Editor. 367 +))) 368 +|((( 369 +values 370 +)))|((( 371 +List of values to filter by, for example, list of user names. 372 +))) 373 +|((( 374 +reason 375 +)))|((( 376 +Reason for deletion. Will be included in the deletion log. 377 +))) 378 +|((( 379 +params 380 +)))|((( 381 +Currently not used 382 +))) 383 + 384 +=== returnValue deleteUser === 385 + 386 +Deletion result information. 387 + 388 +|((( 389 +Key 390 +)))|((( 391 +The values as specified in the _values_ parameter 392 +))) 393 +|((( 394 +Value 395 +)))|((( 396 +Deletion result (e. g _NOT FOUND_, _ERROR:xyz_, ...) 397 +))) 398 +{{/layout-cell}} 399 +{{/layout-section}} 400 +{{/layout}} 401 +{{/sv-translation}}
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 - 2262305671 +301073196 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/ 226230567/Schnittstelle ONYX Editor1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/301073196/Schnittstelle ONYX Editor