Änderungen von Dokument 06 Schnittstelle ONYX Editor
Zuletzt geändert von Carina Enke am 13.02.2024
Von Version 97.1
bearbeitet von Carina Enke
am 13.02.2024
am 13.02.2024
Änderungskommentar:
Es gibt keinen Kommentar für diese Version
Auf Version 67.1
bearbeitet von Carina Enke
am 24.02.2021
am 24.02.2021
Änderungskommentar:
Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 9.5.
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,104 @@ 1 +{{sv-translation language="de"}} 1 1 {{layout}} 3 +{{layout-section ac:type="single"}} 4 +{{layout-cell}} 5 +\\ 6 + 7 +{{details}} 8 +(% class="wrapped" %) 9 +|=((( 10 +Verantwortlicher 11 +)))|((( 12 +\\ 13 +))) 14 +|=(% colspan="1" %)(% colspan="1" %) 15 +((( 16 +Status 17 +)))|(% class="highlight-yellow" colspan="1" data-highlight-colour="yellow" %)(% class="highlight-yellow" colspan="1" data-highlight-colour="yellow" %) 18 +((( 19 +(% class="content-wrapper" %) 20 +((( 21 +{{sv-metadata type="workflow-status"/}} 22 + 23 +{{status colour="Green" title="Fertig"/}} 24 +))) 25 +))) 26 +|=(% colspan="1" %)(% colspan="1" %) 27 +((( 28 +Varianten 29 +)))|(% colspan="1" %)(% colspan="1" %) 30 +((( 31 +(% class="content-wrapper" %) 32 +((( 33 +{{sv-metadata type="variants"/}} 34 +))) 35 +))) 36 +|=(% colspan="1" %)(% colspan="1" %) 37 +((( 38 +Attribute 39 +)))|(% colspan="1" %)(% colspan="1" %) 40 +((( 41 +(% class="content-wrapper" %) 42 +((( 43 +{{sv-metadata type="attributes"/}} 44 +))) 45 +))) 46 +|=(% colspan="1" %)(% colspan="1" %) 47 +((( 48 +Pagekey 49 +)))|(% colspan="1" %)(% colspan="1" %) 50 +((( 51 +(% class="content-wrapper" %) 52 +((( 53 +{{sv-metadata type="pagekey"/}} 54 +))) 55 +))) 56 +|=(% colspan="1" %)(% colspan="1" %) 57 +((( 58 +Übersetzung 59 +)))|(% colspan="1" %)(% colspan="1" %) 60 +((( 61 +(% class="content-wrapper" %) 62 +((( 63 +Interface ONYX Editor 64 + 65 +{{status colour="Green" title="fertig"/}} 66 +))) 67 +))) 68 +|=(% colspan="1" %)(% colspan="1" %) 69 +((( 70 +TODOs 71 +)))|(% colspan="1" %)(% colspan="1" %) 72 +((( 73 +(% class="content-wrapper" %) 74 +((( 75 +Stand der Infos auf Ticket ONYX-4213 vom Aug 2018 76 + 77 +(% class="task-list" %) 78 +((( 79 +{{task reference="/Tasks/Task_1" status="Done"}} 80 +carina {{mention reference="XWiki.0a49950f5c0f19a8015c101b60e10001" style="FULL_NAME" anchor="XWiki-0a49950f5c0f19a8015c101b60e10001-nAkiJ"/}}Neue Seite bitte übersetzen 81 +{{/task}} 82 +))) 83 +))) 84 +))) 85 +{{/details}} 86 +{{/layout-cell}} 87 +{{/layout-section}} 88 + 2 2 {{layout-section ac:type="two_right_sidebar"}} 3 3 {{layout-cell}} 4 - 91 +\\ 5 5 {{/layout-cell}} 6 6 7 7 {{layout-cell}} 95 +{{scroll-ignore}} 8 8 {{panel title="Inhalt"}} 9 -{{toc depth="3" start="2"/}} 97 + 98 + 99 +{{toc/}} 10 10 {{/panel}} 101 +{{/scroll-ignore}} 11 11 {{/layout-cell}} 12 12 {{/layout-section}} 13 13 ... ... @@ -25,6 +25,7 @@ 25 25 @RestParam(name = "params") final Map<String, String> params) {} 26 26 {{/code}} 27 27 119 +\\ 28 28 29 29 === Parameter saveResult2 === 30 30 ... ... @@ -45,6 +45,8 @@ 45 45 Generische Parameter. Diese werden aktuell ohne weitere Verarbeitung einfach nur gespeichert. 46 46 ))) 47 47 140 +\\ 141 + 48 48 === returnValue saveResult2 === 49 49 50 50 (% class="wrapped" %) ... ... @@ -56,6 +56,8 @@ 56 56 57 57 == Ergebnisse speichern (Legacy) == 58 58 153 +\\ 154 + 59 59 {{code title="Ergebnisse speichern (Legacy)"}} 60 60 @RestMethod(name = "saveResult") 61 61 public Boolean saveResult( ... ... @@ -63,6 +63,7 @@ 63 63 @RestParam(name = "resultFile") final byte[] resultFile) {} 64 64 {{/code}} 65 65 162 +\\ 66 66 67 67 === Parameter saveResult2 === 68 68 ... ... @@ -87,18 +87,24 @@ 87 87 True bei Erfolg, sonst false 88 88 ))) 89 89 187 +\\ 188 + 90 90 == Version der Schnittstelle abfragen == 91 91 191 +\\ 192 + 92 92 {{code title="Version abfragen"}} 93 93 @RestMethod(name = "version") 94 94 public String version() {} 95 95 {{/code}} 96 96 198 +\\ 97 97 98 98 === Parameter version === 99 99 100 100 keine 101 101 204 +\\ 102 102 103 103 === returnValue saveResult2 === 104 104 ... ... @@ -109,6 +109,8 @@ 109 109 Version der REST-Schnittstelle, aktuell immer "1.0 (ONYX-Editor-Version)" 110 110 ))) 111 111 215 +\\ 216 + 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. ... ... @@ -182,3 +182,202 @@ 182 182 {{/layout-cell}} 183 183 {{/layout-section}} 184 184 {{/layout}} 290 +{{/sv-translation}} 291 + 292 +{{sv-translation language="en"}} 293 +{{layout}} 294 +{{layout-section ac:type="two_right_sidebar"}} 295 +{{layout-cell}} 296 +\\ 297 +{{/layout-cell}} 298 + 299 +{{layout-cell}} 300 +{{scroll-ignore}} 301 +{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Content"}} 302 + 303 + 304 +{{toc/}} 305 +{{/panel}} 306 +{{/scroll-ignore}} 307 +{{/layout-cell}} 308 +{{/layout-section}} 309 + 310 +{{layout-section ac:type="single"}} 311 +{{layout-cell}} 312 +== Save results == 313 + 314 +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: 315 + 316 +{{code title="Save results"}} 317 +@RestMethod(name = "saveResult2") 318 +public Boolean saveResult( 319 +@RestParam(name = "uniqueId") final String uniqueId, 320 +@RestParam(name = "resultFile") final byte[] resultFile, 321 +@RestParam(name = "params") final Map<String, String> params) {} 322 +{{/code}} 323 + 324 +\\ 325 + 326 +=== Parameter saveResult2 === 327 + 328 +|((( 329 +uniqueId 330 +)))|((( 331 +Unique ID used by the ONYX WebPlayer and ONYX Editor when running the test. 332 +))) 333 +|((( 334 +resultFile 335 +)))|((( 336 +Result file as ZIP file (QTI-compliant result.xml, including any referenced files such as user uploads or user content if necessary) 337 +))) 338 +|((( 339 +params 340 +)))|((( 341 +Generic parameters. These are currently only stored without further processing. 342 +))) 343 + 344 +\\ 345 + 346 +=== returnValue saveResult2 === 347 + 348 +|((( 349 +boolean 350 +)))|((( 351 +True if successful, otherwise false 352 +))) 353 + 354 +== Save results (legacy) == 355 + 356 +\\ 357 + 358 +{{code title="Save results (legacy)"}} 359 +@RestMethod(name = "saveResult") 360 +public Boolean saveResult( 361 +@RestParam(name = "uniqueId") final String uniqueId, 362 +@RestParam(name = "resultFile") final byte[] resultFile) {} 363 +{{/code}} 364 + 365 +\\ 366 + 367 +=== Parameter saveResult2 === 368 + 369 +|((( 370 +uniqueId 371 +)))|((( 372 +Unique ID used by the ONYX WebPlayer and ONYX Editor when running the test. 373 +))) 374 +|((( 375 +resultFile 376 +)))|((( 377 +Result file as ZIP file (QTI-compliant result.xml, including any referenced files such as user uploads or user content if necessary) 378 +))) 379 + 380 +=== returnValue saveResult2 === 381 + 382 +|((( 383 +boolean 384 +)))|((( 385 +True if successful, otherwise false 386 +))) 387 + 388 +\\ 389 + 390 +== Query interface version == 391 + 392 +\\ 393 + 394 +{{code title="Query version"}} 395 +@RestMethod(name = "version") 396 +public String version() {} 397 +{{/code}} 398 + 399 +\\ 400 + 401 +=== Parameter version === 402 + 403 +None 404 + 405 +\\ 406 + 407 +=== returnValue saveResult2 === 408 + 409 +|((( 410 +String 411 +)))|((( 412 +REST interface version, currently always "1.0 (ONYX Editor version)" 413 +))) 414 + 415 +\\ 416 + 417 +== Delete user == 418 + 419 +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. 420 + 421 +{{code title="Delete user"}} 422 +@RestMethod 423 +public Map<String, String> deleteUser( 424 + @RestParam(name = "login") final String login, 425 + @RestParam(name = "password") final String password, 426 + @RestParam(name = "repo") final String repo, 427 + @RestParam(name = "property") final String property, 428 + @RestParam(name = "values") final ArrayList<String> values, 429 + @RestParam(name = "reason") final String reason, 430 + @RestParam(name = "params") final Map<String, String> params) {} 431 +{{/code}} 432 + 433 +=== Parameter deleteUser === 434 + 435 +|((( 436 +login 437 +)))|((( 438 +User name of an ONYX Editor admin user who has the right to delete other users. 439 +))) 440 +|((( 441 +password 442 +)))|((( 443 +Password of this ONYX Editor admin user. 444 +))) 445 +|((( 446 +repo 447 +)))|((( 448 +ID of the LMS repository as it is already configured in the LMS and used for communication with the ONYX Editor. 449 +))) 450 +|((( 451 +property 452 +)))|((( 453 +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. 454 +))) 455 +|((( 456 +values 457 +)))|((( 458 +List of values to filter by, for example, list of user names. 459 +))) 460 +|((( 461 +reason 462 +)))|((( 463 +Reason for deletion. Will be included in the deletion log. 464 +))) 465 +|((( 466 +params 467 +)))|((( 468 +Currently not used 469 +))) 470 + 471 +=== returnValue deleteUser === 472 + 473 +Deletion result information. 474 + 475 +|((( 476 +Key 477 +)))|((( 478 +The values as specified in the _values_ parameter 479 +))) 480 +|((( 481 +Value 482 +)))|((( 483 +Deletion result (e. g _NOT FOUND_, _ERROR:xyz_, ...) 484 +))) 485 +{{/layout-cell}} 486 +{{/layout-section}} 487 +{{/layout}} 488 +{{/sv-translation}}
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 -2 262305671 +424804749 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/2 26230567/Schnittstelle ONYX Editor1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/424804749/Schnittstelle ONYX Editor