| | 1 | = 3d Brain Atlas Reconstructor on-line service = |
| | 2 | |
| | 3 | === getAvailableDatasets === |
| | 4 | |
| | 5 | Returns an AJAX data describing CAF datasets (atlases) available to the user in the service. |
| | 6 | |
| | 7 | syntax:: |
| | 8 | {{{ |
| | 9 | getAvailableDatasets |
| | 10 | }}} |
| | 11 | |
| | 12 | ==== AJAX data type ==== |
| | 13 | {{{ |
| | 14 | { |
| | 15 | String: [String, |
| | 16 | String, |
| | 17 | String, |
| | 18 | String, |
| | 19 | { |
| | 20 | String: Boolean, |
| | 21 | ... |
| | 22 | }, |
| | 23 | String], |
| | 24 | ... |
| | 25 | } |
| | 26 | }}} |
| | 27 | |
| | 28 | ==== AJAX data description ==== |
| | 29 | |
| | 30 | The data is provided in format: |
| | 31 | {{{ |
| | 32 | { |
| | 33 | <id>: [<name>, |
| | 34 | <root>, |
| | 35 | <description>, |
| | 36 | <date>, |
| | 37 | { |
| | 38 | "cafslides": <cafslides>, |
| | 39 | "reconstructions": <reconstructions>, |
| | 40 | "thumbnails": <thumbnails>, |
| | 41 | "customreconstruction": <customreconstruction>, |
| | 42 | "hidden": <hidden>, |
| | 43 | "internal": <internal>, |
| | 44 | "enabled": true |
| | 45 | }, |
| | 46 | <unit>], |
| | 47 | ... |
| | 48 | } |
| | 49 | }}} |
| | 50 | where: |
| | 51 | |
| | 52 | <id>:: is the atlas identifier in the service, |
| | 53 | |
| | 54 | <name>:: is the atlas name, |
| | 55 | |
| | 56 | <root>:: is the name of the root element in the atlas structures hierarchy tree, |
| | 57 | |
| | 58 | <description>:: is the atlas description, |
| | 59 | |
| | 60 | <date>:: is the CAF dataset compilation date, |
| | 61 | |
| | 62 | <cafslides>:: indicates if CAF slides are available, |
| | 63 | |
| | 64 | <reconstructions>:: indicates if reconstructions of structures in the atlas are available, |
| | 65 | |
| | 66 | <thumbnails>:: indicates if thumbnail images of structures in the atlas are available, |
| | 67 | |
| | 68 | <customreconstruction>:: indicates if it is possible to submit custom reconstruction of structures in the atlas, |
| | 69 | |
| | 70 | <hidden>:: indicates if the dataset is invisible in the front-end interface, |
| | 71 | |
| | 72 | <internal>:: indicates if access to the dataset is restricted to limited group of users. |
| | 73 | |
| | 74 | |
| | 75 | ==== Example ==== |
| | 76 | * http://service.3dbar.org/getAvailableDatasets |