openapi: 3.0.3 info: title: dddice description: '' version: 1.0.0 servers: - url: 'https://dddice.com' paths: /api/1.0/theme: get: summary: 'List Themes' operationId: listThemes description: "Fetch a list of themes. Only the most recent version of each theme is returned\nwhere the \"most recent\" is determined by [SemVer 2.0.0](https://semver.org/spec/v2.0.0.html)" parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: '' content: application/json: schema: type: object example: type: 'theme[]' data: - meshes: d4: /mesh/d04.fbx d6: /mesh/d06.fbx d8: /mesh/d08.fbx d10: /mesh/d10.fbx d10x: /mesh/d10.fbx d12: /mesh/d12.fbx d20: /mesh/d20.fbx available_dice: - d4 - d6 - d8 - d10 - d10x - d12 - d20 physics: inertia: d4: 5 d6: 12 d8: 10 d10: 9 d10x: 9 d12: 8 d20: 6 weight: d4: 300 d6: 300 d8: 340 d10: 350 d10x: 350 d12: 350 d20: 400 sizes: d4: 1 d6: 1 d8: 1 d10: 1 d10x: 1 d12: 1 d20: 1 sounds: - src: /sounds/roll-1.mp3 'on': die.collide - src: /sounds/roll-2.mp3 'on': die.collide - src: /sounds/roll-3.mp3 'on': die.collide - src: /sounds/roll-loading-sm.mp3 'on': roll.loading value: 2 - src: /sounds/roll-loading-lg.mp3 'on': roll.loading value: '>=3' uniforms: number: type: color value: b: 0 g: 0.424 r: 0.463 diffuse: type: color value: b: 0 g: 0.929 r: 1 values: d4: - 1 - 2 - 3 - 4 d6: - 1 - 2 - 3 - 4 - 5 - 6 d8: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 d10: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 d12: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 d20: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 d10x: - 10 - 20 - 30 - 40 - 50 - 60 - 70 - 80 - 90 - 0 id: exercitationem-facere-et name: Prof. label: color: '#000000' background_color: '#e3d12d' version: 1.0.0 textures: - src: d4: u_numberMap.png d6: u_numberMap.png d8: u_numberMap.png d10: u_numberMap.png d12: u_numberMap.png d20: u_numberMap.png d10x: u_numberMap_d10x.png binding: u_numberMap api_version: '1.0' description: 'Veritatis sed dolore ab officia consectetur dolor odit. Sint harum vero et aperiam. Accusamus similique ut maxime in. Dolore molestiae vitae facere consequuntur eligendi nemo nemo. Culpa rem mollitia enim quia non iure maxime.' user: username: kgislason uuid: 78440566-9650-3f30-839f-45db3d3784c0 name: 'Shanel Kohler V' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' subscription: false is_merchant: false is_registered: false created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' - meshes: d4: /mesh/d04.fbx d6: /mesh/d06.fbx d8: /mesh/d08.fbx d10: /mesh/d10.fbx d10x: /mesh/d10.fbx d12: /mesh/d12.fbx d20: /mesh/d20.fbx available_dice: - d4 - d6 - d8 - d10 - d10x - d12 - d20 physics: inertia: d4: 5 d6: 12 d8: 10 d10: 9 d10x: 9 d12: 8 d20: 6 weight: d4: 300 d6: 300 d8: 340 d10: 350 d10x: 350 d12: 350 d20: 400 sizes: d4: 1 d6: 1 d8: 1 d10: 1 d10x: 1 d12: 1 d20: 1 sounds: - src: /sounds/roll-1.mp3 'on': die.collide - src: /sounds/roll-2.mp3 'on': die.collide - src: /sounds/roll-3.mp3 'on': die.collide - src: /sounds/roll-loading-sm.mp3 'on': roll.loading value: 2 - src: /sounds/roll-loading-lg.mp3 'on': roll.loading value: '>=3' uniforms: number: type: color value: b: 0 g: 0.424 r: 0.463 diffuse: type: color value: b: 0 g: 0.929 r: 1 values: d4: - 1 - 2 - 3 - 4 d6: - 1 - 2 - 3 - 4 - 5 - 6 d8: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 d10: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 d12: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 d20: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 d10x: - 10 - 20 - 30 - 40 - 50 - 60 - 70 - 80 - 90 - 0 id: est-voluptatem name: Dr. label: color: '#000000' background_color: '#e3d12d' version: 1.0.0 textures: - src: d4: u_numberMap.png d6: u_numberMap.png d8: u_numberMap.png d10: u_numberMap.png d12: u_numberMap.png d20: u_numberMap.png d10x: u_numberMap_d10x.png binding: u_numberMap api_version: '1.0' description: 'Enim dolor voluptatem fugit omnis mollitia ex nam. Dolores pariatur itaque aut laudantium atque. Ut ab ullam vero unde qui natus omnis consectetur.' user: username: rcrist uuid: ce4866f4-2a63-353c-9b59-4e464b21c885 name: 'Prof. Dwight Christiansen' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' subscription: false is_merchant: false is_registered: false created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' properties: type: type: string example: 'theme[]' data: type: array example: - meshes: d4: /mesh/d04.fbx d6: /mesh/d06.fbx d8: /mesh/d08.fbx d10: /mesh/d10.fbx d10x: /mesh/d10.fbx d12: /mesh/d12.fbx d20: /mesh/d20.fbx available_dice: - d4 - d6 - d8 - d10 - d10x - d12 - d20 physics: inertia: d4: 5 d6: 12 d8: 10 d10: 9 d10x: 9 d12: 8 d20: 6 weight: d4: 300 d6: 300 d8: 340 d10: 350 d10x: 350 d12: 350 d20: 400 sizes: d4: 1 d6: 1 d8: 1 d10: 1 d10x: 1 d12: 1 d20: 1 sounds: - src: /sounds/roll-1.mp3 'on': die.collide - src: /sounds/roll-2.mp3 'on': die.collide - src: /sounds/roll-3.mp3 'on': die.collide - src: /sounds/roll-loading-sm.mp3 'on': roll.loading value: 2 - src: /sounds/roll-loading-lg.mp3 'on': roll.loading value: '>=3' uniforms: number: type: color value: b: 0 g: 0.424 r: 0.463 diffuse: type: color value: b: 0 g: 0.929 r: 1 values: d4: - 1 - 2 - 3 - 4 d6: - 1 - 2 - 3 - 4 - 5 - 6 d8: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 d10: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 d12: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 d20: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 d10x: - 10 - 20 - 30 - 40 - 50 - 60 - 70 - 80 - 90 - 0 id: exercitationem-facere-et name: Prof. label: color: '#000000' background_color: '#e3d12d' version: 1.0.0 textures: - src: d4: u_numberMap.png d6: u_numberMap.png d8: u_numberMap.png d10: u_numberMap.png d12: u_numberMap.png d20: u_numberMap.png d10x: u_numberMap_d10x.png binding: u_numberMap api_version: '1.0' description: 'Veritatis sed dolore ab officia consectetur dolor odit. Sint harum vero et aperiam. Accusamus similique ut maxime in. Dolore molestiae vitae facere consequuntur eligendi nemo nemo. Culpa rem mollitia enim quia non iure maxime.' user: username: kgislason uuid: 78440566-9650-3f30-839f-45db3d3784c0 name: 'Shanel Kohler V' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' subscription: false is_merchant: false is_registered: false created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' - meshes: d4: /mesh/d04.fbx d6: /mesh/d06.fbx d8: /mesh/d08.fbx d10: /mesh/d10.fbx d10x: /mesh/d10.fbx d12: /mesh/d12.fbx d20: /mesh/d20.fbx available_dice: - d4 - d6 - d8 - d10 - d10x - d12 - d20 physics: inertia: d4: 5 d6: 12 d8: 10 d10: 9 d10x: 9 d12: 8 d20: 6 weight: d4: 300 d6: 300 d8: 340 d10: 350 d10x: 350 d12: 350 d20: 400 sizes: d4: 1 d6: 1 d8: 1 d10: 1 d10x: 1 d12: 1 d20: 1 sounds: - src: /sounds/roll-1.mp3 'on': die.collide - src: /sounds/roll-2.mp3 'on': die.collide - src: /sounds/roll-3.mp3 'on': die.collide - src: /sounds/roll-loading-sm.mp3 'on': roll.loading value: 2 - src: /sounds/roll-loading-lg.mp3 'on': roll.loading value: '>=3' uniforms: number: type: color value: b: 0 g: 0.424 r: 0.463 diffuse: type: color value: b: 0 g: 0.929 r: 1 values: d4: - 1 - 2 - 3 - 4 d6: - 1 - 2 - 3 - 4 - 5 - 6 d8: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 d10: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 d12: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 d20: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 d10x: - 10 - 20 - 30 - 40 - 50 - 60 - 70 - 80 - 90 - 0 id: est-voluptatem name: Dr. label: color: '#000000' background_color: '#e3d12d' version: 1.0.0 textures: - src: d4: u_numberMap.png d6: u_numberMap.png d8: u_numberMap.png d10: u_numberMap.png d12: u_numberMap.png d20: u_numberMap.png d10x: u_numberMap_d10x.png binding: u_numberMap api_version: '1.0' description: 'Enim dolor voluptatem fugit omnis mollitia ex nam. Dolores pariatur itaque aut laudantium atque. Ut ab ullam vero unde qui natus omnis consectetur.' user: username: rcrist uuid: ce4866f4-2a63-353c-9b59-4e464b21c885 name: 'Prof. Dwight Christiansen' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' subscription: false is_merchant: false is_registered: false created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' items: type: object properties: meshes: type: object properties: d4: type: string example: /mesh/d04.fbx d6: type: string example: /mesh/d06.fbx d8: type: string example: /mesh/d08.fbx d10: type: string example: /mesh/d10.fbx d10x: type: string example: /mesh/d10.fbx d12: type: string example: /mesh/d12.fbx d20: type: string example: /mesh/d20.fbx available_dice: type: array example: - d4 - d6 - d8 - d10 - d10x - d12 - d20 items: type: string physics: type: object properties: inertia: type: object properties: d4: type: integer example: 5 d6: type: integer example: 12 d8: type: integer example: 10 d10: type: integer example: 9 d10x: type: integer example: 9 d12: type: integer example: 8 d20: type: integer example: 6 weight: type: object properties: d4: type: integer example: 300 d6: type: integer example: 300 d8: type: integer example: 340 d10: type: integer example: 350 d10x: type: integer example: 350 d12: type: integer example: 350 d20: type: integer example: 400 sizes: type: object properties: d4: type: integer example: 1 d6: type: integer example: 1 d8: type: integer example: 1 d10: type: integer example: 1 d10x: type: integer example: 1 d12: type: integer example: 1 d20: type: integer example: 1 sounds: type: array example: - src: /sounds/roll-1.mp3 'on': die.collide - src: /sounds/roll-2.mp3 'on': die.collide - src: /sounds/roll-3.mp3 'on': die.collide - src: /sounds/roll-loading-sm.mp3 'on': roll.loading value: 2 - src: /sounds/roll-loading-lg.mp3 'on': roll.loading value: '>=3' items: type: object properties: src: type: string example: /sounds/roll-1.mp3 'on': type: string example: die.collide uniforms: type: object properties: number: type: object properties: type: type: string example: color value: type: object properties: b: type: integer example: 0 g: type: number example: 0.424 r: type: number example: 0.463 diffuse: type: object properties: type: type: string example: color value: type: object properties: b: type: integer example: 0 g: type: number example: 0.929 r: type: integer example: 1 values: type: object properties: d4: type: array example: - 1 - 2 - 3 - 4 items: type: integer d6: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 items: type: integer d8: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 items: type: integer d10: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 items: type: integer d12: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 items: type: integer d20: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 items: type: integer d10x: type: array example: - 10 - 20 - 30 - 40 - 50 - 60 - 70 - 80 - 90 - 0 items: type: integer id: type: string example: exercitationem-facere-et name: type: string example: Prof. label: type: object properties: color: type: string example: '#000000' background_color: type: string example: '#e3d12d' version: type: string example: 1.0.0 textures: type: array example: - src: d4: u_numberMap.png d6: u_numberMap.png d8: u_numberMap.png d10: u_numberMap.png d12: u_numberMap.png d20: u_numberMap.png d10x: u_numberMap_d10x.png binding: u_numberMap items: type: object properties: src: type: object properties: d4: type: string example: u_numberMap.png d6: type: string example: u_numberMap.png d8: type: string example: u_numberMap.png d10: type: string example: u_numberMap.png d12: type: string example: u_numberMap.png d20: type: string example: u_numberMap.png d10x: type: string example: u_numberMap_d10x.png binding: type: string example: u_numberMap api_version: type: string example: '1.0' description: type: string example: 'Veritatis sed dolore ab officia consectetur dolor odit. Sint harum vero et aperiam. Accusamus similique ut maxime in. Dolore molestiae vitae facere consequuntur eligendi nemo nemo. Culpa rem mollitia enim quia non iure maxime.' user: type: object properties: username: type: string example: kgislason uuid: type: string example: 78440566-9650-3f30-839f-45db3d3784c0 name: type: string example: 'Shanel Kohler V' created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' subscription: type: boolean example: false is_merchant: type: boolean example: false is_registered: type: boolean example: false created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' tags: - Theme post: summary: 'Create a Theme' operationId: createATheme description: 'Create a theme using a theme manifest and save to your dddice.' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 201: description: '' content: application/json: schema: type: object example: data: meshes: d4: /mesh/d04.fbx d6: /mesh/d06.fbx d8: /mesh/d08.fbx d10: /mesh/d10.fbx d10x: /mesh/d10.fbx d12: /mesh/d12.fbx d20: /mesh/d20.fbx available_dice: - d4 - d6 - d8 - d10 - d10x - d12 - d20 physics: inertia: d4: 5 d6: 12 d8: 10 d10: 9 d10x: 9 d12: 8 d20: 6 weight: d4: 300 d6: 300 d8: 340 d10: 350 d10x: 350 d12: 350 d20: 400 sizes: d4: 1 d6: 1 d8: 1 d10: 1 d10x: 1 d12: 1 d20: 1 sounds: - src: /sounds/roll-1.mp3 'on': die.collide - src: /sounds/roll-2.mp3 'on': die.collide - src: /sounds/roll-3.mp3 'on': die.collide - src: /sounds/roll-loading-sm.mp3 'on': roll.loading value: 2 - src: /sounds/roll-loading-lg.mp3 'on': roll.loading value: '>=3' uniforms: number: type: color value: b: 0 g: 0.424 r: 0.463 diffuse: type: color value: b: 0 g: 0.929 r: 1 values: d4: - 1 - 2 - 3 - 4 d6: - 1 - 2 - 3 - 4 - 5 - 6 d8: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 d10: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 d12: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 d20: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 d10x: - 10 - 20 - 30 - 40 - 50 - 60 - 70 - 80 - 90 - 0 id: molestias-est-eveniet name: Ms. label: color: '#000000' background_color: '#e3d12d' version: 1.0.0 textures: - src: d4: u_numberMap.png d6: u_numberMap.png d8: u_numberMap.png d10: u_numberMap.png d12: u_numberMap.png d20: u_numberMap.png d10x: u_numberMap_d10x.png binding: u_numberMap api_version: '1.0' description: 'Vero provident ducimus illum possimus sit et veritatis at. Minus necessitatibus nesciunt commodi voluptas molestiae facilis quia cum. Et hic hic enim ad ex explicabo. Dolores doloribus rerum sed dolore. Consequatur aperiam earum aliquid quos quisquam.' user: username: sauer.lamont uuid: 5f43f62c-eb5a-3286-8d35-9c738918b284 name: 'Noemie Quitzon' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' subscription: false is_merchant: false is_registered: false created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' properties: data: type: object properties: meshes: type: object properties: d4: type: string example: /mesh/d04.fbx d6: type: string example: /mesh/d06.fbx d8: type: string example: /mesh/d08.fbx d10: type: string example: /mesh/d10.fbx d10x: type: string example: /mesh/d10.fbx d12: type: string example: /mesh/d12.fbx d20: type: string example: /mesh/d20.fbx available_dice: type: array example: - d4 - d6 - d8 - d10 - d10x - d12 - d20 items: type: string physics: type: object properties: inertia: type: object properties: d4: type: integer example: 5 d6: type: integer example: 12 d8: type: integer example: 10 d10: type: integer example: 9 d10x: type: integer example: 9 d12: type: integer example: 8 d20: type: integer example: 6 weight: type: object properties: d4: type: integer example: 300 d6: type: integer example: 300 d8: type: integer example: 340 d10: type: integer example: 350 d10x: type: integer example: 350 d12: type: integer example: 350 d20: type: integer example: 400 sizes: type: object properties: d4: type: integer example: 1 d6: type: integer example: 1 d8: type: integer example: 1 d10: type: integer example: 1 d10x: type: integer example: 1 d12: type: integer example: 1 d20: type: integer example: 1 sounds: type: array example: - src: /sounds/roll-1.mp3 'on': die.collide - src: /sounds/roll-2.mp3 'on': die.collide - src: /sounds/roll-3.mp3 'on': die.collide - src: /sounds/roll-loading-sm.mp3 'on': roll.loading value: 2 - src: /sounds/roll-loading-lg.mp3 'on': roll.loading value: '>=3' items: type: object properties: src: type: string example: /sounds/roll-1.mp3 'on': type: string example: die.collide uniforms: type: object properties: number: type: object properties: type: type: string example: color value: type: object properties: b: type: integer example: 0 g: type: number example: 0.424 r: type: number example: 0.463 diffuse: type: object properties: type: type: string example: color value: type: object properties: b: type: integer example: 0 g: type: number example: 0.929 r: type: integer example: 1 values: type: object properties: d4: type: array example: - 1 - 2 - 3 - 4 items: type: integer d6: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 items: type: integer d8: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 items: type: integer d10: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 items: type: integer d12: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 items: type: integer d20: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 items: type: integer d10x: type: array example: - 10 - 20 - 30 - 40 - 50 - 60 - 70 - 80 - 90 - 0 items: type: integer id: type: string example: molestias-est-eveniet name: type: string example: Ms. label: type: object properties: color: type: string example: '#000000' background_color: type: string example: '#e3d12d' version: type: string example: 1.0.0 textures: type: array example: - src: d4: u_numberMap.png d6: u_numberMap.png d8: u_numberMap.png d10: u_numberMap.png d12: u_numberMap.png d20: u_numberMap.png d10x: u_numberMap_d10x.png binding: u_numberMap items: type: object properties: src: type: object properties: d4: type: string example: u_numberMap.png d6: type: string example: u_numberMap.png d8: type: string example: u_numberMap.png d10: type: string example: u_numberMap.png d12: type: string example: u_numberMap.png d20: type: string example: u_numberMap.png d10x: type: string example: u_numberMap_d10x.png binding: type: string example: u_numberMap api_version: type: string example: '1.0' description: type: string example: 'Vero provident ducimus illum possimus sit et veritatis at. Minus necessitatibus nesciunt commodi voluptas molestiae facilis quia cum. Et hic hic enim ad ex explicabo. Dolores doloribus rerum sed dolore. Consequatur aperiam earum aliquid quos quisquam.' user: type: object properties: username: type: string example: sauer.lamont uuid: type: string example: 5f43f62c-eb5a-3286-8d35-9c738918b284 name: type: string example: 'Noemie Quitzon' created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' subscription: type: boolean example: false is_merchant: type: boolean example: false is_registered: type: boolean example: false created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' tags: - Theme requestBody: required: true content: multipart/form-data: schema: type: object properties: frag_shader: type: string description: 'Custom fragment shader' example: dolores manifest: type: string description: 'Theme manifest configuration' example: '{"meshes":{"d4":"/mesh/d04.fbx","d6":"/mesh/d06.fbx","d8":"/mesh/d08.fbx","d10":"/mesh/d10.fbx","d10x":"/mesh/d10.fbx","d12":"/mesh/d12.fbx","d20":"/mesh/d20.fbx"},"available_dice":["d4","d6","d8","d10","d10x","d12","d20"],"physics":{"inertia":{"d4":5,"d6":12,"d8":10,"d10":9,"d10x":9,"d12":8,"d20":6},"weight":{"d4":300,"d6":300,"d8":340,"d10":350,"d10x":350,"d12":350,"d20":400}},"sizes":{"d4":1,"d6":1,"d8":1,"d10":1,"d10x":1,"d12":1,"d20":1},"sounds":[{"src":"/sounds/roll-1.mp3","on":"die.collide"},{"src":"/sounds/roll-2.mp3","on":"die.collide"},{"src":"/sounds/roll-3.mp3","on":"die.collide"}],"uniforms":{"diffuse":{"type":"color","value":{"r":1,"g":0.929,"b":0}},"number":{"type":"color","value":{"r":0.463,"g":0.424,"b":0}}},"values":{"d4":[1,2,3,4],"d6":[1,2,3,4,5,6],"d8":[1,2,3,4,5,6,7,8],"d10":[1,2,3,4,5,6,7,8,9,10],"d12":[1,2,3,4,5,6,7,8,9,10,11,12],"d20":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20],"d10x":[10,20,30,40,50,60,70,80,90,0]},"id":"delectus_perferendis","version":"1.0.0","api_version":"1.0","name":"Miss","description":"Distinctio esse est dolores sit praesentium laboriosam officiis. Iure qui voluptatibus quidem atque nobis est consectetur enim. Eveniet harum quod quae optio repellat.","label":{"color":"#000000","background_color":"#e3d12d"},"textures":[{"binding":"u_numberMap","src":{"d4":"u_numberMap.png","d6":"u_numberMap.png","d8":"u_numberMap.png","d10":"u_numberMap.png","d12":"u_numberMap.png","d20":"u_numberMap.png","d10x":"u_numberMap_d10x.png"}}],"user":{"username":"ea_est","uuid":"c5de15e0-4337-11ed-abda-0242ac120003","name":"Ms. Demetris Mraz II","created_at":"2022-10-03T16:23:55.000000Z","updated_at":"2022-10-03T16:23:55.000000Z"},"created_at":"2022-10-03T16:23:55.000000Z","updated_at":"2022-10-03T16:23:55.000000Z"}' vert_shader: type: string description: 'Custom vertex shader' example: molestiae assets: type: array description: 'Associated theme assets, filenames must match manifest.json references' example: - null items: type: File required: - manifest '/api/1.0/theme/{id}': get: summary: 'Get Theme' operationId: getTheme description: 'Get information about a theme. Returns the latest version.' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: '' content: application/json: schema: type: object example: data: meshes: d4: /mesh/d04.fbx d6: /mesh/d06.fbx d8: /mesh/d08.fbx d10: /mesh/d10.fbx d10x: /mesh/d10.fbx d12: /mesh/d12.fbx d20: /mesh/d20.fbx available_dice: - d4 - d6 - d8 - d10 - d10x - d12 - d20 physics: inertia: d4: 5 d6: 12 d8: 10 d10: 9 d10x: 9 d12: 8 d20: 6 weight: d4: 300 d6: 300 d8: 340 d10: 350 d10x: 350 d12: 350 d20: 400 sizes: d4: 1 d6: 1 d8: 1 d10: 1 d10x: 1 d12: 1 d20: 1 sounds: - src: /sounds/roll-1.mp3 'on': die.collide - src: /sounds/roll-2.mp3 'on': die.collide - src: /sounds/roll-3.mp3 'on': die.collide - src: /sounds/roll-loading-sm.mp3 'on': roll.loading value: 2 - src: /sounds/roll-loading-lg.mp3 'on': roll.loading value: '>=3' uniforms: number: type: color value: b: 0 g: 0.424 r: 0.463 diffuse: type: color value: b: 0 g: 0.929 r: 1 values: d4: - 1 - 2 - 3 - 4 d6: - 1 - 2 - 3 - 4 - 5 - 6 d8: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 d10: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 d12: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 d20: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 d10x: - 10 - 20 - 30 - 40 - 50 - 60 - 70 - 80 - 90 - 0 id: illo-doloribus-in name: Miss label: color: '#000000' background_color: '#e3d12d' version: 1.0.0 textures: - src: d4: u_numberMap.png d6: u_numberMap.png d8: u_numberMap.png d10: u_numberMap.png d12: u_numberMap.png d20: u_numberMap.png d10x: u_numberMap_d10x.png binding: u_numberMap api_version: '1.0' description: 'Perspiciatis quos minima molestiae omnis voluptates dolores voluptatibus. Modi fuga omnis non quo repudiandae.' user: username: ohara.destiney uuid: ceeef2dd-03cd-3c25-82d2-752a76b47883 name: 'Ms. Orie Hayes V' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' subscription: false is_merchant: false is_registered: false created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' properties: data: type: object properties: meshes: type: object properties: d4: type: string example: /mesh/d04.fbx d6: type: string example: /mesh/d06.fbx d8: type: string example: /mesh/d08.fbx d10: type: string example: /mesh/d10.fbx d10x: type: string example: /mesh/d10.fbx d12: type: string example: /mesh/d12.fbx d20: type: string example: /mesh/d20.fbx available_dice: type: array example: - d4 - d6 - d8 - d10 - d10x - d12 - d20 items: type: string physics: type: object properties: inertia: type: object properties: d4: type: integer example: 5 d6: type: integer example: 12 d8: type: integer example: 10 d10: type: integer example: 9 d10x: type: integer example: 9 d12: type: integer example: 8 d20: type: integer example: 6 weight: type: object properties: d4: type: integer example: 300 d6: type: integer example: 300 d8: type: integer example: 340 d10: type: integer example: 350 d10x: type: integer example: 350 d12: type: integer example: 350 d20: type: integer example: 400 sizes: type: object properties: d4: type: integer example: 1 d6: type: integer example: 1 d8: type: integer example: 1 d10: type: integer example: 1 d10x: type: integer example: 1 d12: type: integer example: 1 d20: type: integer example: 1 sounds: type: array example: - src: /sounds/roll-1.mp3 'on': die.collide - src: /sounds/roll-2.mp3 'on': die.collide - src: /sounds/roll-3.mp3 'on': die.collide - src: /sounds/roll-loading-sm.mp3 'on': roll.loading value: 2 - src: /sounds/roll-loading-lg.mp3 'on': roll.loading value: '>=3' items: type: object properties: src: type: string example: /sounds/roll-1.mp3 'on': type: string example: die.collide uniforms: type: object properties: number: type: object properties: type: type: string example: color value: type: object properties: b: type: integer example: 0 g: type: number example: 0.424 r: type: number example: 0.463 diffuse: type: object properties: type: type: string example: color value: type: object properties: b: type: integer example: 0 g: type: number example: 0.929 r: type: integer example: 1 values: type: object properties: d4: type: array example: - 1 - 2 - 3 - 4 items: type: integer d6: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 items: type: integer d8: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 items: type: integer d10: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 items: type: integer d12: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 items: type: integer d20: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 items: type: integer d10x: type: array example: - 10 - 20 - 30 - 40 - 50 - 60 - 70 - 80 - 90 - 0 items: type: integer id: type: string example: illo-doloribus-in name: type: string example: Miss label: type: object properties: color: type: string example: '#000000' background_color: type: string example: '#e3d12d' version: type: string example: 1.0.0 textures: type: array example: - src: d4: u_numberMap.png d6: u_numberMap.png d8: u_numberMap.png d10: u_numberMap.png d12: u_numberMap.png d20: u_numberMap.png d10x: u_numberMap_d10x.png binding: u_numberMap items: type: object properties: src: type: object properties: d4: type: string example: u_numberMap.png d6: type: string example: u_numberMap.png d8: type: string example: u_numberMap.png d10: type: string example: u_numberMap.png d12: type: string example: u_numberMap.png d20: type: string example: u_numberMap.png d10x: type: string example: u_numberMap_d10x.png binding: type: string example: u_numberMap api_version: type: string example: '1.0' description: type: string example: 'Perspiciatis quos minima molestiae omnis voluptates dolores voluptatibus. Modi fuga omnis non quo repudiandae.' user: type: object properties: username: type: string example: ohara.destiney uuid: type: string example: ceeef2dd-03cd-3c25-82d2-752a76b47883 name: type: string example: 'Ms. Orie Hayes V' created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' subscription: type: boolean example: false is_merchant: type: boolean example: false is_registered: type: boolean example: false created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' tags: - Theme delete: summary: 'Delete Theme' operationId: deleteTheme description: 'Delete all versions of a given theme.' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 204: description: '' tags: - Theme parameters: - in: path name: id description: 'The ID of the theme.' example: dddice-bees required: true schema: type: string '/api/1.0/theme/{id}/version': get: summary: 'Get All Theme Versions' operationId: getAllThemeVersions description: 'List all versions of a given theme.' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: '' content: application/json: schema: type: object example: type: 'theme[]' data: - meshes: d4: /mesh/d04.fbx d6: /mesh/d06.fbx d8: /mesh/d08.fbx d10: /mesh/d10.fbx d10x: /mesh/d10.fbx d12: /mesh/d12.fbx d20: /mesh/d20.fbx available_dice: - d4 - d6 - d8 - d10 - d10x - d12 - d20 physics: inertia: d4: 5 d6: 12 d8: 10 d10: 9 d10x: 9 d12: 8 d20: 6 weight: d4: 300 d6: 300 d8: 340 d10: 350 d10x: 350 d12: 350 d20: 400 sizes: d4: 1 d6: 1 d8: 1 d10: 1 d10x: 1 d12: 1 d20: 1 sounds: - src: /sounds/roll-1.mp3 'on': die.collide - src: /sounds/roll-2.mp3 'on': die.collide - src: /sounds/roll-3.mp3 'on': die.collide - src: /sounds/roll-loading-sm.mp3 'on': roll.loading value: 2 - src: /sounds/roll-loading-lg.mp3 'on': roll.loading value: '>=3' uniforms: number: type: color value: b: 0 g: 0.424 r: 0.463 diffuse: type: color value: b: 0 g: 0.929 r: 1 values: d4: - 1 - 2 - 3 - 4 d6: - 1 - 2 - 3 - 4 - 5 - 6 d8: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 d10: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 d12: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 d20: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 d10x: - 10 - 20 - 30 - 40 - 50 - 60 - 70 - 80 - 90 - 0 id: cumque-in name: Mr. label: color: '#000000' background_color: '#e3d12d' version: 1.0.0 textures: - src: d4: u_numberMap.png d6: u_numberMap.png d8: u_numberMap.png d10: u_numberMap.png d12: u_numberMap.png d20: u_numberMap.png d10x: u_numberMap_d10x.png binding: u_numberMap api_version: '1.0' description: 'Et aut totam ut. Est non est porro ipsam. Dolor ullam omnis fuga rem. Autem quia adipisci ut est explicabo sed alias.' user: username: vtowne uuid: 10838228-ecc0-3006-9f62-a1bc422625c7 name: 'Ms. Iva Bashirian I' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' subscription: false is_merchant: false is_registered: false created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' - meshes: d4: /mesh/d04.fbx d6: /mesh/d06.fbx d8: /mesh/d08.fbx d10: /mesh/d10.fbx d10x: /mesh/d10.fbx d12: /mesh/d12.fbx d20: /mesh/d20.fbx available_dice: - d4 - d6 - d8 - d10 - d10x - d12 - d20 physics: inertia: d4: 5 d6: 12 d8: 10 d10: 9 d10x: 9 d12: 8 d20: 6 weight: d4: 300 d6: 300 d8: 340 d10: 350 d10x: 350 d12: 350 d20: 400 sizes: d4: 1 d6: 1 d8: 1 d10: 1 d10x: 1 d12: 1 d20: 1 sounds: - src: /sounds/roll-1.mp3 'on': die.collide - src: /sounds/roll-2.mp3 'on': die.collide - src: /sounds/roll-3.mp3 'on': die.collide - src: /sounds/roll-loading-sm.mp3 'on': roll.loading value: 2 - src: /sounds/roll-loading-lg.mp3 'on': roll.loading value: '>=3' uniforms: number: type: color value: b: 0 g: 0.424 r: 0.463 diffuse: type: color value: b: 0 g: 0.929 r: 1 values: d4: - 1 - 2 - 3 - 4 d6: - 1 - 2 - 3 - 4 - 5 - 6 d8: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 d10: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 d12: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 d20: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 d10x: - 10 - 20 - 30 - 40 - 50 - 60 - 70 - 80 - 90 - 0 id: qui-beatae-nihil name: Prof. label: color: '#000000' background_color: '#e3d12d' version: 1.0.0 textures: - src: d4: u_numberMap.png d6: u_numberMap.png d8: u_numberMap.png d10: u_numberMap.png d12: u_numberMap.png d20: u_numberMap.png d10x: u_numberMap_d10x.png binding: u_numberMap api_version: '1.0' description: 'Est ex aut libero non. Incidunt omnis quod quidem blanditiis rerum corrupti ut. Expedita nobis quaerat qui ex voluptatem laboriosam. Ut delectus qui nisi minima ducimus repellendus ea.' user: username: mohr.chaz uuid: 55f44c16-92ce-31a4-b11e-455df7e518ab name: 'Mrs. Raegan White I' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' subscription: false is_merchant: false is_registered: false created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' properties: type: type: string example: 'theme[]' data: type: array example: - meshes: d4: /mesh/d04.fbx d6: /mesh/d06.fbx d8: /mesh/d08.fbx d10: /mesh/d10.fbx d10x: /mesh/d10.fbx d12: /mesh/d12.fbx d20: /mesh/d20.fbx available_dice: - d4 - d6 - d8 - d10 - d10x - d12 - d20 physics: inertia: d4: 5 d6: 12 d8: 10 d10: 9 d10x: 9 d12: 8 d20: 6 weight: d4: 300 d6: 300 d8: 340 d10: 350 d10x: 350 d12: 350 d20: 400 sizes: d4: 1 d6: 1 d8: 1 d10: 1 d10x: 1 d12: 1 d20: 1 sounds: - src: /sounds/roll-1.mp3 'on': die.collide - src: /sounds/roll-2.mp3 'on': die.collide - src: /sounds/roll-3.mp3 'on': die.collide - src: /sounds/roll-loading-sm.mp3 'on': roll.loading value: 2 - src: /sounds/roll-loading-lg.mp3 'on': roll.loading value: '>=3' uniforms: number: type: color value: b: 0 g: 0.424 r: 0.463 diffuse: type: color value: b: 0 g: 0.929 r: 1 values: d4: - 1 - 2 - 3 - 4 d6: - 1 - 2 - 3 - 4 - 5 - 6 d8: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 d10: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 d12: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 d20: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 d10x: - 10 - 20 - 30 - 40 - 50 - 60 - 70 - 80 - 90 - 0 id: cumque-in name: Mr. label: color: '#000000' background_color: '#e3d12d' version: 1.0.0 textures: - src: d4: u_numberMap.png d6: u_numberMap.png d8: u_numberMap.png d10: u_numberMap.png d12: u_numberMap.png d20: u_numberMap.png d10x: u_numberMap_d10x.png binding: u_numberMap api_version: '1.0' description: 'Et aut totam ut. Est non est porro ipsam. Dolor ullam omnis fuga rem. Autem quia adipisci ut est explicabo sed alias.' user: username: vtowne uuid: 10838228-ecc0-3006-9f62-a1bc422625c7 name: 'Ms. Iva Bashirian I' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' subscription: false is_merchant: false is_registered: false created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' - meshes: d4: /mesh/d04.fbx d6: /mesh/d06.fbx d8: /mesh/d08.fbx d10: /mesh/d10.fbx d10x: /mesh/d10.fbx d12: /mesh/d12.fbx d20: /mesh/d20.fbx available_dice: - d4 - d6 - d8 - d10 - d10x - d12 - d20 physics: inertia: d4: 5 d6: 12 d8: 10 d10: 9 d10x: 9 d12: 8 d20: 6 weight: d4: 300 d6: 300 d8: 340 d10: 350 d10x: 350 d12: 350 d20: 400 sizes: d4: 1 d6: 1 d8: 1 d10: 1 d10x: 1 d12: 1 d20: 1 sounds: - src: /sounds/roll-1.mp3 'on': die.collide - src: /sounds/roll-2.mp3 'on': die.collide - src: /sounds/roll-3.mp3 'on': die.collide - src: /sounds/roll-loading-sm.mp3 'on': roll.loading value: 2 - src: /sounds/roll-loading-lg.mp3 'on': roll.loading value: '>=3' uniforms: number: type: color value: b: 0 g: 0.424 r: 0.463 diffuse: type: color value: b: 0 g: 0.929 r: 1 values: d4: - 1 - 2 - 3 - 4 d6: - 1 - 2 - 3 - 4 - 5 - 6 d8: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 d10: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 d12: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 d20: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 d10x: - 10 - 20 - 30 - 40 - 50 - 60 - 70 - 80 - 90 - 0 id: qui-beatae-nihil name: Prof. label: color: '#000000' background_color: '#e3d12d' version: 1.0.0 textures: - src: d4: u_numberMap.png d6: u_numberMap.png d8: u_numberMap.png d10: u_numberMap.png d12: u_numberMap.png d20: u_numberMap.png d10x: u_numberMap_d10x.png binding: u_numberMap api_version: '1.0' description: 'Est ex aut libero non. Incidunt omnis quod quidem blanditiis rerum corrupti ut. Expedita nobis quaerat qui ex voluptatem laboriosam. Ut delectus qui nisi minima ducimus repellendus ea.' user: username: mohr.chaz uuid: 55f44c16-92ce-31a4-b11e-455df7e518ab name: 'Mrs. Raegan White I' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' subscription: false is_merchant: false is_registered: false created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' items: type: object properties: meshes: type: object properties: d4: type: string example: /mesh/d04.fbx d6: type: string example: /mesh/d06.fbx d8: type: string example: /mesh/d08.fbx d10: type: string example: /mesh/d10.fbx d10x: type: string example: /mesh/d10.fbx d12: type: string example: /mesh/d12.fbx d20: type: string example: /mesh/d20.fbx available_dice: type: array example: - d4 - d6 - d8 - d10 - d10x - d12 - d20 items: type: string physics: type: object properties: inertia: type: object properties: d4: type: integer example: 5 d6: type: integer example: 12 d8: type: integer example: 10 d10: type: integer example: 9 d10x: type: integer example: 9 d12: type: integer example: 8 d20: type: integer example: 6 weight: type: object properties: d4: type: integer example: 300 d6: type: integer example: 300 d8: type: integer example: 340 d10: type: integer example: 350 d10x: type: integer example: 350 d12: type: integer example: 350 d20: type: integer example: 400 sizes: type: object properties: d4: type: integer example: 1 d6: type: integer example: 1 d8: type: integer example: 1 d10: type: integer example: 1 d10x: type: integer example: 1 d12: type: integer example: 1 d20: type: integer example: 1 sounds: type: array example: - src: /sounds/roll-1.mp3 'on': die.collide - src: /sounds/roll-2.mp3 'on': die.collide - src: /sounds/roll-3.mp3 'on': die.collide - src: /sounds/roll-loading-sm.mp3 'on': roll.loading value: 2 - src: /sounds/roll-loading-lg.mp3 'on': roll.loading value: '>=3' items: type: object properties: src: type: string example: /sounds/roll-1.mp3 'on': type: string example: die.collide uniforms: type: object properties: number: type: object properties: type: type: string example: color value: type: object properties: b: type: integer example: 0 g: type: number example: 0.424 r: type: number example: 0.463 diffuse: type: object properties: type: type: string example: color value: type: object properties: b: type: integer example: 0 g: type: number example: 0.929 r: type: integer example: 1 values: type: object properties: d4: type: array example: - 1 - 2 - 3 - 4 items: type: integer d6: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 items: type: integer d8: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 items: type: integer d10: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 items: type: integer d12: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 items: type: integer d20: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 items: type: integer d10x: type: array example: - 10 - 20 - 30 - 40 - 50 - 60 - 70 - 80 - 90 - 0 items: type: integer id: type: string example: cumque-in name: type: string example: Mr. label: type: object properties: color: type: string example: '#000000' background_color: type: string example: '#e3d12d' version: type: string example: 1.0.0 textures: type: array example: - src: d4: u_numberMap.png d6: u_numberMap.png d8: u_numberMap.png d10: u_numberMap.png d12: u_numberMap.png d20: u_numberMap.png d10x: u_numberMap_d10x.png binding: u_numberMap items: type: object properties: src: type: object properties: d4: type: string example: u_numberMap.png d6: type: string example: u_numberMap.png d8: type: string example: u_numberMap.png d10: type: string example: u_numberMap.png d12: type: string example: u_numberMap.png d20: type: string example: u_numberMap.png d10x: type: string example: u_numberMap_d10x.png binding: type: string example: u_numberMap api_version: type: string example: '1.0' description: type: string example: 'Et aut totam ut. Est non est porro ipsam. Dolor ullam omnis fuga rem. Autem quia adipisci ut est explicabo sed alias.' user: type: object properties: username: type: string example: vtowne uuid: type: string example: 10838228-ecc0-3006-9f62-a1bc422625c7 name: type: string example: 'Ms. Iva Bashirian I' created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' subscription: type: boolean example: false is_merchant: type: boolean example: false is_registered: type: boolean example: false created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' tags: - Theme parameters: - in: path name: id description: 'The ID of the theme.' example: dddice-bees required: true schema: type: string '/api/1.0/theme/{id}/version/{version}': get: summary: 'Get a Theme Version' operationId: getAThemeVersion description: 'Get a specific version of a given theme.' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 201: description: '' content: application/json: schema: type: object example: data: meshes: d4: /mesh/d04.fbx d6: /mesh/d06.fbx d8: /mesh/d08.fbx d10: /mesh/d10.fbx d10x: /mesh/d10.fbx d12: /mesh/d12.fbx d20: /mesh/d20.fbx available_dice: - d4 - d6 - d8 - d10 - d10x - d12 - d20 physics: inertia: d4: 5 d6: 12 d8: 10 d10: 9 d10x: 9 d12: 8 d20: 6 weight: d4: 300 d6: 300 d8: 340 d10: 350 d10x: 350 d12: 350 d20: 400 sizes: d4: 1 d6: 1 d8: 1 d10: 1 d10x: 1 d12: 1 d20: 1 sounds: - src: /sounds/roll-1.mp3 'on': die.collide - src: /sounds/roll-2.mp3 'on': die.collide - src: /sounds/roll-3.mp3 'on': die.collide - src: /sounds/roll-loading-sm.mp3 'on': roll.loading value: 2 - src: /sounds/roll-loading-lg.mp3 'on': roll.loading value: '>=3' uniforms: number: type: color value: b: 0 g: 0.424 r: 0.463 diffuse: type: color value: b: 0 g: 0.929 r: 1 values: d4: - 1 - 2 - 3 - 4 d6: - 1 - 2 - 3 - 4 - 5 - 6 d8: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 d10: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 d12: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 d20: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 d10x: - 10 - 20 - 30 - 40 - 50 - 60 - 70 - 80 - 90 - 0 id: molestias-quibusdam-placeat name: Prof. label: color: '#000000' background_color: '#e3d12d' version: 1.0.0 textures: - src: d4: u_numberMap.png d6: u_numberMap.png d8: u_numberMap.png d10: u_numberMap.png d12: u_numberMap.png d20: u_numberMap.png d10x: u_numberMap_d10x.png binding: u_numberMap api_version: '1.0' description: 'Voluptas sit voluptates nam pariatur laborum. Est asperiores esse dignissimos suscipit sunt neque blanditiis tenetur. Quasi accusamus deserunt rerum et voluptatem.' user: username: mlegros uuid: 413d4100-0c14-300d-9fce-802a07708797 name: 'Tito Bauch' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' subscription: false is_merchant: false is_registered: false created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' properties: data: type: object properties: meshes: type: object properties: d4: type: string example: /mesh/d04.fbx d6: type: string example: /mesh/d06.fbx d8: type: string example: /mesh/d08.fbx d10: type: string example: /mesh/d10.fbx d10x: type: string example: /mesh/d10.fbx d12: type: string example: /mesh/d12.fbx d20: type: string example: /mesh/d20.fbx available_dice: type: array example: - d4 - d6 - d8 - d10 - d10x - d12 - d20 items: type: string physics: type: object properties: inertia: type: object properties: d4: type: integer example: 5 d6: type: integer example: 12 d8: type: integer example: 10 d10: type: integer example: 9 d10x: type: integer example: 9 d12: type: integer example: 8 d20: type: integer example: 6 weight: type: object properties: d4: type: integer example: 300 d6: type: integer example: 300 d8: type: integer example: 340 d10: type: integer example: 350 d10x: type: integer example: 350 d12: type: integer example: 350 d20: type: integer example: 400 sizes: type: object properties: d4: type: integer example: 1 d6: type: integer example: 1 d8: type: integer example: 1 d10: type: integer example: 1 d10x: type: integer example: 1 d12: type: integer example: 1 d20: type: integer example: 1 sounds: type: array example: - src: /sounds/roll-1.mp3 'on': die.collide - src: /sounds/roll-2.mp3 'on': die.collide - src: /sounds/roll-3.mp3 'on': die.collide - src: /sounds/roll-loading-sm.mp3 'on': roll.loading value: 2 - src: /sounds/roll-loading-lg.mp3 'on': roll.loading value: '>=3' items: type: object properties: src: type: string example: /sounds/roll-1.mp3 'on': type: string example: die.collide uniforms: type: object properties: number: type: object properties: type: type: string example: color value: type: object properties: b: type: integer example: 0 g: type: number example: 0.424 r: type: number example: 0.463 diffuse: type: object properties: type: type: string example: color value: type: object properties: b: type: integer example: 0 g: type: number example: 0.929 r: type: integer example: 1 values: type: object properties: d4: type: array example: - 1 - 2 - 3 - 4 items: type: integer d6: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 items: type: integer d8: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 items: type: integer d10: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 items: type: integer d12: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 items: type: integer d20: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 items: type: integer d10x: type: array example: - 10 - 20 - 30 - 40 - 50 - 60 - 70 - 80 - 90 - 0 items: type: integer id: type: string example: molestias-quibusdam-placeat name: type: string example: Prof. label: type: object properties: color: type: string example: '#000000' background_color: type: string example: '#e3d12d' version: type: string example: 1.0.0 textures: type: array example: - src: d4: u_numberMap.png d6: u_numberMap.png d8: u_numberMap.png d10: u_numberMap.png d12: u_numberMap.png d20: u_numberMap.png d10x: u_numberMap_d10x.png binding: u_numberMap items: type: object properties: src: type: object properties: d4: type: string example: u_numberMap.png d6: type: string example: u_numberMap.png d8: type: string example: u_numberMap.png d10: type: string example: u_numberMap.png d12: type: string example: u_numberMap.png d20: type: string example: u_numberMap.png d10x: type: string example: u_numberMap_d10x.png binding: type: string example: u_numberMap api_version: type: string example: '1.0' description: type: string example: 'Voluptas sit voluptates nam pariatur laborum. Est asperiores esse dignissimos suscipit sunt neque blanditiis tenetur. Quasi accusamus deserunt rerum et voluptatem.' user: type: object properties: username: type: string example: mlegros uuid: type: string example: 413d4100-0c14-300d-9fce-802a07708797 name: type: string example: 'Tito Bauch' created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' subscription: type: boolean example: false is_merchant: type: boolean example: false is_registered: type: boolean example: false created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' tags: - Theme delete: summary: 'Delete Theme Version' operationId: deleteThemeVersion description: 'Delete a specific version of a given theme.' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 204: description: '' tags: - Theme parameters: - in: path name: id description: 'The ID of the theme.' example: dddice-bees required: true schema: type: string - in: path name: version description: 'Theme Version.' example: 1.0.0 required: true schema: type: string '/api/1.0/theme/{id}/report': post: summary: 'Report Theme' operationId: reportTheme description: 'Report a theme for abuse or spam.' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 204: description: '' tags: - Theme parameters: - in: path name: id description: 'The ID of the theme.' example: dddice-bees required: true schema: type: string '/api/1.0/theme/{id}/statistic/histogram/values': get: summary: 'Chart: Frequency of roll values' operationId: chartFrequencyOfRollValues description: 'Get statistical information about a theme.' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: '' content: text/plain: schema: type: string example: "{\n \"data\": {\n \"labels\": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20],\n \"datasets\": [{\n \"label\": \"d4\",\n \"data\": [12, 12, 12, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]\n }, {\n \"label\": \"d6\",\n \"data\": [5, 5, 5, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]\n }, {\n \"label\": \"d8\",\n \"data\": [8, 8, 8, 8, 8, 8, 8, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]\n }, {\n \"label\": \"d20\",\n \"data\": [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10]\n }],\n \"processed_at\": \"2023-10-06T21:36:22.462064Z\"\n \"updated_at\": \"2023-10-06T21:37:11.221642Z\"\n }\n}" tags: - Theme parameters: - in: path name: id description: 'The ID of the theme.' example: dddice-bees required: true schema: type: string '/api/1.0/theme/{id}/statistic/timeseries/rolls': get: summary: 'Chart: Total rolls over time' operationId: chartTotalRollsOverTime description: 'Get statistical information about a theme.' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: '' content: text/plain: schema: type: string example: "{\n \"data\": {\n \"labels\": [\"2023-01-01\", \"2023-01-02\", \"2023-01-03\"],\n \"datasets\": [{\n \"label\": \"Rolls over time\",\n \"data\": [1000, 1100, 1200]\n }],\n \"processed_at\": \"2023-10-06T21:36:22.462064Z\"\n \"updated_at\": \"2023-10-06T21:37:11.221642Z\"\n }\n}" tags: - Theme parameters: - in: path name: id description: 'The ID of the theme.' example: dddice-bees required: true schema: type: string /api/1.0/room: get: summary: 'List Rooms' operationId: listRooms description: 'List all rooms created or joined by a user' parameters: - in: query name: created description: 'Only return rooms where you are the owner' example: true required: false schema: type: boolean description: 'Only return rooms where you are the owner' example: true - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: '' content: application/json: schema: type: object example: type: 'room[]' data: - name: 'Untitled Room' is_public: true bg_file_path: //images/environment/bg-1.webp slug: OYwvj6Z passcode: qui custom_slug: KpWYdmx settings: chat: backgroundColor: 0 deleteAfter: 30 fadeAfter: 10 isDiceExpanded: false isDiceSorted: false isUsernameVisible: true isVisible: true textColor: 16777215 textSize: sm lighting: ambientColor: 16777215 ambientIntensity: 0.5 spotlightColor: 16777215 spotlightIntensity: 0.33 participant: defaultDiceTrayToGM: false physics: gravity: 9.82 throwSpeed: 30 roll: allowPlayerRollUpdates: false allowPlayerMoveDice: false autoClear: 10 defaultClickBehavior: reroll diceSize: 1 diceLimit: 25 diceTrayColor: 0 disableDiceOutline: false disableDiceShadows: false disableShakingSound: false pickUp: 1 updated_at: '2024-07-17T23:50:57.000000Z' created_at: '2024-07-17T23:50:57.000000Z' user: username: durgan.jessyca uuid: f1112efb-96a1-388c-9213-557df2b0e417 name: 'Burley Murazik' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' participants: - id: 2 username: id_et color: '#a23961' position: 0 settings: null created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' deleted_at: null user: username: qbotsford uuid: df043249-8a7d-360c-8701-91066cdc920a name: 'Theron Fadel' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' - id: 3 username: sit_illo color: '#89aa74' position: 0 settings: null created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' deleted_at: null user: username: fhackett uuid: 949bb6bf-a110-3dcd-9d6c-02cd761e05f1 name: 'Mrs. Ashlee McCullough' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' - name: 'Untitled Room' is_public: true bg_file_path: //images/environment/bg-3.webp slug: AdPpCZy passcode: dolores custom_slug: J4PGcIB settings: chat: backgroundColor: 0 deleteAfter: 30 fadeAfter: 10 isDiceExpanded: false isDiceSorted: false isUsernameVisible: true isVisible: true textColor: 16777215 textSize: sm lighting: ambientColor: 16777215 ambientIntensity: 0.5 spotlightColor: 16777215 spotlightIntensity: 0.33 participant: defaultDiceTrayToGM: false physics: gravity: 9.82 throwSpeed: 30 roll: allowPlayerRollUpdates: false allowPlayerMoveDice: false autoClear: 10 defaultClickBehavior: reroll diceSize: 1 diceLimit: 25 diceTrayColor: 0 disableDiceOutline: false disableDiceShadows: false disableShakingSound: false pickUp: 1 updated_at: '2024-07-17T23:50:57.000000Z' created_at: '2024-07-17T23:50:57.000000Z' user: username: amina49 uuid: 6e266933-b38a-30fa-9822-cea823a4a8ac name: 'Katlynn Weber' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' participants: - id: 4 username: fuga_possimus color: '#bd5cc5' position: 0 settings: null created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' deleted_at: null user: username: bahringer.maymie uuid: f7961185-547e-3b87-83cd-4bb08fa47b39 name: 'Dr. Marilyne Goldner' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' - id: 5 username: occaecati_quaerat color: '#f78586' position: 0 settings: null created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' deleted_at: null user: username: marks.rhianna uuid: 2df1c1c2-74de-35b1-9b65-a1e031f71eac name: 'Mrs. Shaina Gerlach I' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' properties: type: type: string example: 'room[]' data: type: array example: - name: 'Untitled Room' is_public: true bg_file_path: //images/environment/bg-1.webp slug: OYwvj6Z passcode: qui custom_slug: KpWYdmx settings: chat: backgroundColor: 0 deleteAfter: 30 fadeAfter: 10 isDiceExpanded: false isDiceSorted: false isUsernameVisible: true isVisible: true textColor: 16777215 textSize: sm lighting: ambientColor: 16777215 ambientIntensity: 0.5 spotlightColor: 16777215 spotlightIntensity: 0.33 participant: defaultDiceTrayToGM: false physics: gravity: 9.82 throwSpeed: 30 roll: allowPlayerRollUpdates: false allowPlayerMoveDice: false autoClear: 10 defaultClickBehavior: reroll diceSize: 1 diceLimit: 25 diceTrayColor: 0 disableDiceOutline: false disableDiceShadows: false disableShakingSound: false pickUp: 1 updated_at: '2024-07-17T23:50:57.000000Z' created_at: '2024-07-17T23:50:57.000000Z' user: username: durgan.jessyca uuid: f1112efb-96a1-388c-9213-557df2b0e417 name: 'Burley Murazik' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' participants: - id: 2 username: id_et color: '#a23961' position: 0 settings: null created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' deleted_at: null user: username: qbotsford uuid: df043249-8a7d-360c-8701-91066cdc920a name: 'Theron Fadel' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' - id: 3 username: sit_illo color: '#89aa74' position: 0 settings: null created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' deleted_at: null user: username: fhackett uuid: 949bb6bf-a110-3dcd-9d6c-02cd761e05f1 name: 'Mrs. Ashlee McCullough' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' - name: 'Untitled Room' is_public: true bg_file_path: //images/environment/bg-3.webp slug: AdPpCZy passcode: dolores custom_slug: J4PGcIB settings: chat: backgroundColor: 0 deleteAfter: 30 fadeAfter: 10 isDiceExpanded: false isDiceSorted: false isUsernameVisible: true isVisible: true textColor: 16777215 textSize: sm lighting: ambientColor: 16777215 ambientIntensity: 0.5 spotlightColor: 16777215 spotlightIntensity: 0.33 participant: defaultDiceTrayToGM: false physics: gravity: 9.82 throwSpeed: 30 roll: allowPlayerRollUpdates: false allowPlayerMoveDice: false autoClear: 10 defaultClickBehavior: reroll diceSize: 1 diceLimit: 25 diceTrayColor: 0 disableDiceOutline: false disableDiceShadows: false disableShakingSound: false pickUp: 1 updated_at: '2024-07-17T23:50:57.000000Z' created_at: '2024-07-17T23:50:57.000000Z' user: username: amina49 uuid: 6e266933-b38a-30fa-9822-cea823a4a8ac name: 'Katlynn Weber' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' participants: - id: 4 username: fuga_possimus color: '#bd5cc5' position: 0 settings: null created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' deleted_at: null user: username: bahringer.maymie uuid: f7961185-547e-3b87-83cd-4bb08fa47b39 name: 'Dr. Marilyne Goldner' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' - id: 5 username: occaecati_quaerat color: '#f78586' position: 0 settings: null created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' deleted_at: null user: username: marks.rhianna uuid: 2df1c1c2-74de-35b1-9b65-a1e031f71eac name: 'Mrs. Shaina Gerlach I' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' items: type: object properties: name: type: string example: 'Untitled Room' is_public: type: boolean example: true bg_file_path: type: string example: //images/environment/bg-1.webp slug: type: string example: OYwvj6Z passcode: type: string example: qui custom_slug: type: string example: KpWYdmx settings: type: object properties: chat: type: object properties: backgroundColor: type: integer example: 0 deleteAfter: type: integer example: 30 fadeAfter: type: integer example: 10 isDiceExpanded: type: boolean example: false isDiceSorted: type: boolean example: false isUsernameVisible: type: boolean example: true isVisible: type: boolean example: true textColor: type: integer example: 16777215 textSize: type: string example: sm lighting: type: object properties: ambientColor: type: integer example: 16777215 ambientIntensity: type: number example: 0.5 spotlightColor: type: integer example: 16777215 spotlightIntensity: type: number example: 0.33 participant: type: object properties: defaultDiceTrayToGM: type: boolean example: false physics: type: object properties: gravity: type: number example: 9.82 throwSpeed: type: integer example: 30 roll: type: object properties: allowPlayerRollUpdates: type: boolean example: false allowPlayerMoveDice: type: boolean example: false autoClear: type: integer example: 10 defaultClickBehavior: type: string example: reroll diceSize: type: integer example: 1 diceLimit: type: integer example: 25 diceTrayColor: type: integer example: 0 disableDiceOutline: type: boolean example: false disableDiceShadows: type: boolean example: false disableShakingSound: type: boolean example: false pickUp: type: integer example: 1 updated_at: type: string example: '2024-07-17T23:50:57.000000Z' created_at: type: string example: '2024-07-17T23:50:57.000000Z' user: type: object properties: username: type: string example: durgan.jessyca uuid: type: string example: f1112efb-96a1-388c-9213-557df2b0e417 name: type: string example: 'Burley Murazik' created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' participants: type: array example: - id: 2 username: id_et color: '#a23961' position: 0 settings: null created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' deleted_at: null user: username: qbotsford uuid: df043249-8a7d-360c-8701-91066cdc920a name: 'Theron Fadel' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' - id: 3 username: sit_illo color: '#89aa74' position: 0 settings: null created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' deleted_at: null user: username: fhackett uuid: 949bb6bf-a110-3dcd-9d6c-02cd761e05f1 name: 'Mrs. Ashlee McCullough' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' items: type: object properties: id: type: integer example: 2 username: type: string example: id_et color: type: string example: '#a23961' position: type: integer example: 0 settings: type: string example: null created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' deleted_at: type: string example: null user: type: object properties: username: type: string example: qbotsford uuid: type: string example: df043249-8a7d-360c-8701-91066cdc920a name: type: string example: 'Theron Fadel' created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' tags: - Room post: summary: 'Create a Room' operationId: createARoom description: "Create a room and use the slug to perform actions in that room.\n\nIf `is_public` is set to `false`, the returned `passcode` will be required\nfor future requests to perform actions in this room.\n\nYou may optionally pass a valid `passcode` to generate your own code." parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 201: description: '' content: application/json: schema: type: object example: data: name: 'Untitled Room' is_public: true bg_file_path: //images/environment/bg-6.webp slug: w4Wsqfv passcode: aperiam custom_slug: nhuY8eq settings: chat: backgroundColor: 0 deleteAfter: 30 fadeAfter: 10 isDiceExpanded: false isDiceSorted: false isUsernameVisible: true isVisible: true textColor: 16777215 textSize: sm lighting: ambientColor: 16777215 ambientIntensity: 0.5 spotlightColor: 16777215 spotlightIntensity: 0.33 participant: defaultDiceTrayToGM: false physics: gravity: 9.82 throwSpeed: 30 roll: allowPlayerRollUpdates: false allowPlayerMoveDice: false autoClear: 10 defaultClickBehavior: reroll diceSize: 1 diceLimit: 25 diceTrayColor: 0 disableDiceOutline: false disableDiceShadows: false disableShakingSound: false pickUp: 1 updated_at: '2024-07-17T23:50:57.000000Z' created_at: '2024-07-17T23:50:57.000000Z' user: username: yparisian uuid: 4910aece-cbc0-32a1-a8ca-72ca837917e2 name: 'Hoyt Kuphal' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' participants: [] properties: data: type: object properties: name: type: string example: 'Untitled Room' is_public: type: boolean example: true bg_file_path: type: string example: //images/environment/bg-6.webp slug: type: string example: w4Wsqfv passcode: type: string example: aperiam custom_slug: type: string example: nhuY8eq settings: type: object properties: chat: type: object properties: backgroundColor: type: integer example: 0 deleteAfter: type: integer example: 30 fadeAfter: type: integer example: 10 isDiceExpanded: type: boolean example: false isDiceSorted: type: boolean example: false isUsernameVisible: type: boolean example: true isVisible: type: boolean example: true textColor: type: integer example: 16777215 textSize: type: string example: sm lighting: type: object properties: ambientColor: type: integer example: 16777215 ambientIntensity: type: number example: 0.5 spotlightColor: type: integer example: 16777215 spotlightIntensity: type: number example: 0.33 participant: type: object properties: defaultDiceTrayToGM: type: boolean example: false physics: type: object properties: gravity: type: number example: 9.82 throwSpeed: type: integer example: 30 roll: type: object properties: allowPlayerRollUpdates: type: boolean example: false allowPlayerMoveDice: type: boolean example: false autoClear: type: integer example: 10 defaultClickBehavior: type: string example: reroll diceSize: type: integer example: 1 diceLimit: type: integer example: 25 diceTrayColor: type: integer example: 0 disableDiceOutline: type: boolean example: false disableDiceShadows: type: boolean example: false disableShakingSound: type: boolean example: false pickUp: type: integer example: 1 updated_at: type: string example: '2024-07-17T23:50:57.000000Z' created_at: type: string example: '2024-07-17T23:50:57.000000Z' user: type: object properties: username: type: string example: yparisian uuid: type: string example: 4910aece-cbc0-32a1-a8ca-72ca837917e2 name: type: string example: 'Hoyt Kuphal' created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' participants: type: array example: [] tags: - Room requestBody: required: false content: application/json: schema: type: object properties: is_public: type: boolean description: 'Public or private' example: false name: type: string description: Name example: aut passcode: type: string description: 'Passcode required for private rooms.' example: null '/api/1.0/room/{room_slug}': get: summary: 'Get a Room' operationId: getARoom description: 'Get information about a room and active participants.' parameters: - in: query name: passcode description: 'Passcode required for private room' example: eum required: false schema: type: string description: 'Passcode required for private room' example: eum - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: '' content: application/json: schema: type: object example: data: name: 'Untitled Room' is_public: true bg_file_path: //images/environment/bg-5.webp slug: y_muzl3 passcode: quaerat custom_slug: MoIS6zl settings: chat: backgroundColor: 0 deleteAfter: 30 fadeAfter: 10 isDiceExpanded: false isDiceSorted: false isUsernameVisible: true isVisible: true textColor: 16777215 textSize: sm lighting: ambientColor: 16777215 ambientIntensity: 0.5 spotlightColor: 16777215 spotlightIntensity: 0.33 participant: defaultDiceTrayToGM: false physics: gravity: 9.82 throwSpeed: 30 roll: allowPlayerRollUpdates: false allowPlayerMoveDice: false autoClear: 10 defaultClickBehavior: reroll diceSize: 1 diceLimit: 25 diceTrayColor: 0 disableDiceOutline: false disableDiceShadows: false disableShakingSound: false pickUp: 1 updated_at: '2024-07-17T23:50:57.000000Z' created_at: '2024-07-17T23:50:57.000000Z' user: username: waino.cartwright uuid: 258432b0-f4c6-3530-bc09-05f0e7c74df1 name: 'Willow Keeling' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' participants: [] properties: data: type: object properties: name: type: string example: 'Untitled Room' is_public: type: boolean example: true bg_file_path: type: string example: //images/environment/bg-5.webp slug: type: string example: y_muzl3 passcode: type: string example: quaerat custom_slug: type: string example: MoIS6zl settings: type: object properties: chat: type: object properties: backgroundColor: type: integer example: 0 deleteAfter: type: integer example: 30 fadeAfter: type: integer example: 10 isDiceExpanded: type: boolean example: false isDiceSorted: type: boolean example: false isUsernameVisible: type: boolean example: true isVisible: type: boolean example: true textColor: type: integer example: 16777215 textSize: type: string example: sm lighting: type: object properties: ambientColor: type: integer example: 16777215 ambientIntensity: type: number example: 0.5 spotlightColor: type: integer example: 16777215 spotlightIntensity: type: number example: 0.33 participant: type: object properties: defaultDiceTrayToGM: type: boolean example: false physics: type: object properties: gravity: type: number example: 9.82 throwSpeed: type: integer example: 30 roll: type: object properties: allowPlayerRollUpdates: type: boolean example: false allowPlayerMoveDice: type: boolean example: false autoClear: type: integer example: 10 defaultClickBehavior: type: string example: reroll diceSize: type: integer example: 1 diceLimit: type: integer example: 25 diceTrayColor: type: integer example: 0 disableDiceOutline: type: boolean example: false disableDiceShadows: type: boolean example: false disableShakingSound: type: boolean example: false pickUp: type: integer example: 1 updated_at: type: string example: '2024-07-17T23:50:57.000000Z' created_at: type: string example: '2024-07-17T23:50:57.000000Z' user: type: object properties: username: type: string example: waino.cartwright uuid: type: string example: 258432b0-f4c6-3530-bc09-05f0e7c74df1 name: type: string example: 'Willow Keeling' created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' participants: type: array example: [] tags: - Room patch: summary: 'Update a Room' operationId: updateARoom description: 'Update the name of a room' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: '' content: application/json: schema: type: object example: data: name: 'Untitled Room' is_public: true bg_file_path: //images/environment/bg-4.webp slug: VVmx4M3 passcode: laboriosam custom_slug: E1BO7aO settings: chat: backgroundColor: 0 deleteAfter: 30 fadeAfter: 10 isDiceExpanded: false isDiceSorted: false isUsernameVisible: true isVisible: true textColor: 16777215 textSize: sm lighting: ambientColor: 16777215 ambientIntensity: 0.5 spotlightColor: 16777215 spotlightIntensity: 0.33 participant: defaultDiceTrayToGM: false physics: gravity: 9.82 throwSpeed: 30 roll: allowPlayerRollUpdates: false allowPlayerMoveDice: false autoClear: 10 defaultClickBehavior: reroll diceSize: 1 diceLimit: 25 diceTrayColor: 0 disableDiceOutline: false disableDiceShadows: false disableShakingSound: false pickUp: 1 updated_at: '2024-07-17T23:50:57.000000Z' created_at: '2024-07-17T23:50:57.000000Z' user: username: mbuckridge uuid: 74a1efc5-f060-3df5-8d37-e3a4250b6e6d name: 'Frederic Jaskolski' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' participants: [] properties: data: type: object properties: name: type: string example: 'Untitled Room' is_public: type: boolean example: true bg_file_path: type: string example: //images/environment/bg-4.webp slug: type: string example: VVmx4M3 passcode: type: string example: laboriosam custom_slug: type: string example: E1BO7aO settings: type: object properties: chat: type: object properties: backgroundColor: type: integer example: 0 deleteAfter: type: integer example: 30 fadeAfter: type: integer example: 10 isDiceExpanded: type: boolean example: false isDiceSorted: type: boolean example: false isUsernameVisible: type: boolean example: true isVisible: type: boolean example: true textColor: type: integer example: 16777215 textSize: type: string example: sm lighting: type: object properties: ambientColor: type: integer example: 16777215 ambientIntensity: type: number example: 0.5 spotlightColor: type: integer example: 16777215 spotlightIntensity: type: number example: 0.33 participant: type: object properties: defaultDiceTrayToGM: type: boolean example: false physics: type: object properties: gravity: type: number example: 9.82 throwSpeed: type: integer example: 30 roll: type: object properties: allowPlayerRollUpdates: type: boolean example: false allowPlayerMoveDice: type: boolean example: false autoClear: type: integer example: 10 defaultClickBehavior: type: string example: reroll diceSize: type: integer example: 1 diceLimit: type: integer example: 25 diceTrayColor: type: integer example: 0 disableDiceOutline: type: boolean example: false disableDiceShadows: type: boolean example: false disableShakingSound: type: boolean example: false pickUp: type: integer example: 1 updated_at: type: string example: '2024-07-17T23:50:57.000000Z' created_at: type: string example: '2024-07-17T23:50:57.000000Z' user: type: object properties: username: type: string example: mbuckridge uuid: type: string example: 74a1efc5-f060-3df5-8d37-e3a4250b6e6d name: type: string example: 'Frederic Jaskolski' created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' participants: type: array example: [] tags: - Room requestBody: required: false content: multipart/form-data: schema: type: object properties: is_public: type: boolean description: 'Public or private' example: true name: type: string description: Name example: fuga passcode: type: boolean description: 'Passcode required for private rooms.' example: null bg_file_path: type: string format: binary description: 'Must be a file.' custom_slug: type: string description: 'Must not be greater than 32 characters.' example: mchoknxxusukgczhbjkpejs settings: type: string description: '' example: null delete: summary: 'Delete a Room' operationId: deleteARoom description: 'Delete a room you own.' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 204: description: '' tags: - Room parameters: - in: path name: room_slug description: 'The slug of the room.' example: j82tr4 required: true schema: type: string '/api/1.0/room/{room_slug}/roll': patch: summary: 'Update Room Rolls' operationId: updateRoomRolls description: 'Automatically pickup dice from the board or unhide dice to players for all rolls in a room and for the current player.' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: '' content: application/json: schema: type: object nullable: true tags: - Room requestBody: required: true content: application/json: schema: type: object properties: dice: type: object description: 'Partial dice roll.' example: is_hidden: true properties: is_visible: type: boolean description: '' example: true is_cleared: type: boolean description: 'Roll value cleared' example: true is_hidden: type: boolean description: 'Roll value hidden' example: true required: - dice parameters: - in: path name: room_slug description: 'The slug of the room.' example: 1 required: true schema: type: integer '/api/1.0/room/{room_slug}/participant': post: summary: 'Join a Room' operationId: joinARoom description: 'Join a room as a participant' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: '' content: application/json: schema: type: object example: data: name: 'Untitled Room' is_public: true bg_file_path: //images/environment/bg-6.webp slug: 5Dt4TzF passcode: praesentium custom_slug: m8CLIFw settings: chat: backgroundColor: 0 deleteAfter: 30 fadeAfter: 10 isDiceExpanded: false isDiceSorted: false isUsernameVisible: true isVisible: true textColor: 16777215 textSize: sm lighting: ambientColor: 16777215 ambientIntensity: 0.5 spotlightColor: 16777215 spotlightIntensity: 0.33 participant: defaultDiceTrayToGM: false physics: gravity: 9.82 throwSpeed: 30 roll: allowPlayerRollUpdates: false allowPlayerMoveDice: false autoClear: 10 defaultClickBehavior: reroll diceSize: 1 diceLimit: 25 diceTrayColor: 0 disableDiceOutline: false disableDiceShadows: false disableShakingSound: false pickUp: 1 updated_at: '2024-07-17T23:50:57.000000Z' created_at: '2024-07-17T23:50:57.000000Z' user: username: vkohler uuid: 1e408472-1663-3c60-95a3-3e537f6f866b name: 'Tamia Dare' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' participants: [] properties: data: type: object properties: name: type: string example: 'Untitled Room' is_public: type: boolean example: true bg_file_path: type: string example: //images/environment/bg-6.webp slug: type: string example: 5Dt4TzF passcode: type: string example: praesentium custom_slug: type: string example: m8CLIFw settings: type: object properties: chat: type: object properties: backgroundColor: type: integer example: 0 deleteAfter: type: integer example: 30 fadeAfter: type: integer example: 10 isDiceExpanded: type: boolean example: false isDiceSorted: type: boolean example: false isUsernameVisible: type: boolean example: true isVisible: type: boolean example: true textColor: type: integer example: 16777215 textSize: type: string example: sm lighting: type: object properties: ambientColor: type: integer example: 16777215 ambientIntensity: type: number example: 0.5 spotlightColor: type: integer example: 16777215 spotlightIntensity: type: number example: 0.33 participant: type: object properties: defaultDiceTrayToGM: type: boolean example: false physics: type: object properties: gravity: type: number example: 9.82 throwSpeed: type: integer example: 30 roll: type: object properties: allowPlayerRollUpdates: type: boolean example: false allowPlayerMoveDice: type: boolean example: false autoClear: type: integer example: 10 defaultClickBehavior: type: string example: reroll diceSize: type: integer example: 1 diceLimit: type: integer example: 25 diceTrayColor: type: integer example: 0 disableDiceOutline: type: boolean example: false disableDiceShadows: type: boolean example: false disableShakingSound: type: boolean example: false pickUp: type: integer example: 1 updated_at: type: string example: '2024-07-17T23:50:57.000000Z' created_at: type: string example: '2024-07-17T23:50:57.000000Z' user: type: object properties: username: type: string example: vkohler uuid: type: string example: 1e408472-1663-3c60-95a3-3e537f6f866b name: type: string example: 'Tamia Dare' created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' participants: type: array example: [] tags: - Room requestBody: required: false content: application/json: schema: type: object properties: passcode: type: string description: 'Passcode required for private room.' example: null parameters: - in: path name: room_slug description: 'The slug of the room.' example: j82tr4 required: true schema: type: string '/api/1.0/room/{room_slug}/participant/{id}': patch: summary: 'Update a Participant' operationId: updateAParticipant description: 'Update the username or color of the room participant.' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: '' content: application/json: schema: type: object example: data: name: 'Untitled Room' is_public: true bg_file_path: //images/environment/bg-1.webp slug: 9-bLGaX passcode: voluptatem custom_slug: KAZppnV settings: chat: backgroundColor: 0 deleteAfter: 30 fadeAfter: 10 isDiceExpanded: false isDiceSorted: false isUsernameVisible: true isVisible: true textColor: 16777215 textSize: sm lighting: ambientColor: 16777215 ambientIntensity: 0.5 spotlightColor: 16777215 spotlightIntensity: 0.33 participant: defaultDiceTrayToGM: false physics: gravity: 9.82 throwSpeed: 30 roll: allowPlayerRollUpdates: false allowPlayerMoveDice: false autoClear: 10 defaultClickBehavior: reroll diceSize: 1 diceLimit: 25 diceTrayColor: 0 disableDiceOutline: false disableDiceShadows: false disableShakingSound: false pickUp: 1 updated_at: '2024-07-17T23:50:57.000000Z' created_at: '2024-07-17T23:50:57.000000Z' user: username: hailee.bruen uuid: ae1f63c6-5877-330e-a54e-c4476a7f2183 name: 'Rafael Miller' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' participants: [] properties: data: type: object properties: name: type: string example: 'Untitled Room' is_public: type: boolean example: true bg_file_path: type: string example: //images/environment/bg-1.webp slug: type: string example: 9-bLGaX passcode: type: string example: voluptatem custom_slug: type: string example: KAZppnV settings: type: object properties: chat: type: object properties: backgroundColor: type: integer example: 0 deleteAfter: type: integer example: 30 fadeAfter: type: integer example: 10 isDiceExpanded: type: boolean example: false isDiceSorted: type: boolean example: false isUsernameVisible: type: boolean example: true isVisible: type: boolean example: true textColor: type: integer example: 16777215 textSize: type: string example: sm lighting: type: object properties: ambientColor: type: integer example: 16777215 ambientIntensity: type: number example: 0.5 spotlightColor: type: integer example: 16777215 spotlightIntensity: type: number example: 0.33 participant: type: object properties: defaultDiceTrayToGM: type: boolean example: false physics: type: object properties: gravity: type: number example: 9.82 throwSpeed: type: integer example: 30 roll: type: object properties: allowPlayerRollUpdates: type: boolean example: false allowPlayerMoveDice: type: boolean example: false autoClear: type: integer example: 10 defaultClickBehavior: type: string example: reroll diceSize: type: integer example: 1 diceLimit: type: integer example: 25 diceTrayColor: type: integer example: 0 disableDiceOutline: type: boolean example: false disableDiceShadows: type: boolean example: false disableShakingSound: type: boolean example: false pickUp: type: integer example: 1 updated_at: type: string example: '2024-07-17T23:50:57.000000Z' created_at: type: string example: '2024-07-17T23:50:57.000000Z' user: type: object properties: username: type: string example: hailee.bruen uuid: type: string example: ae1f63c6-5877-330e-a54e-c4476a7f2183 name: type: string example: 'Rafael Miller' created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' participants: type: array example: [] tags: - Room requestBody: required: false content: application/json: schema: type: object properties: username: type: string description: "Update a participant's username." example: 'Galstaff Sorcerer of Light' color: type: string description: "Update a participant's color." example: '#FF0000' settings: type: string description: '' example: null dice_tray: type: object description: "Save a participant's dice tray on the server" example: [] properties: [] passcode: type: string description: 'Passcode required for private room.' example: null delete: summary: 'Leave a Room' operationId: leaveARoom description: "Remove a participant from a room. Participants can choose to leave a room\nusing this endpoint. Room owners have permission to remove any participant." parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 204: description: '' tags: - Room parameters: - in: path name: room_slug description: 'The slug of the room.' example: j82tr4 required: true schema: type: string - in: path name: id description: 'Participant ID.' example: 1 required: true schema: type: integer /api/1.0/roll: post: summary: 'Create a Roll' operationId: createARoll description: "Perform a dice roll and optionally send the result to a public or private room.\n\nDice roll values are calculated using the API but can optionally receive a\n`value` and/or `value_to_display` attribute to pass a predetermined value (i.e. when integrating with VTTs).\n\n**Operators**\nOperators allow one to manipulate the outcome of the dice roll. The syntax of operators is based on [Avrae](https://avrae.io/commands#roll) which\nimplements [d20 dice syntax](https://d20.readthedocs.io/en/latest/start.html#dice-syntax)." parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 201: description: '' content: application/json: schema: type: object nullable: true tags: - Roll requestBody: required: true content: application/json: schema: type: object properties: dice: type: array description: 'List of dice rolls.' example: - type: d20 theme: dddice-red - type: d20 theme: dddice-red items: type: object properties: is_hidden: type: boolean description: '' example: true type: type: string description: 'Type of dice. Standard types are d20, d12, d10, d10x, d8, d6, and d4. Some themes have custom types and should be looked up in the available_themes.' example: d20 theme: type: string description: 'Theme ID.' example: dddice-bees label: type: string description: 'A human-readable string to label this dice of the roll with some meaning (ex fire damage vs slashing damage).' example: null value: type: number description: 'Dice value. If no value is provided, dddice will generate a value using our balanced random number generator.' example: null value_to_display: type: string|object description: 'This can be used to replace the numeric value. This is useful in cases where a d20 might contain letters instead of numbers or if a player is speaking in tongues or hieroglyphs.' example: null meta: type: object description: 'Optional data that is not critical to the functionality of a die roll but could be useful to store for display or informational purposes.' example: null properties: [] required: - type - theme external_id: type: Used description: 'to associate rolls in dddice with 3rd party integrated systems like VTTs.' example: null operator: type: object description: 'Optional operators to manipulate the final value of the dice.' example: null properties: k: type: string description: 'Keep all matched values.' example: null d: type: string description: 'Drop all matched values.' example: null '*': type: integer description: 'Multiply the result by an integer.' example: null /: type: integer description: 'Divide the result by a integer.' example: null room: type: string description: 'Room slug.' example: j82tr4 whisper: type: array description: 'Participant IDs to whisper this roll to. Only participants specified will see this roll.' example: null items: type: number label: type: string description: 'Optional label for this roll.' example: "Longbow damage with Hunter's Mark" required: - dice get: summary: 'List rolls' operationId: listRolls description: 'Fetch rolls from a given room' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: '' content: application/json: schema: type: object nullable: true tags: - Roll patch: summary: 'Bulk Update Rolls' operationId: bulkUpdateRolls description: "Pickup dice from the board or unhide dice to players for multiple rolls.\n\nAccepts an array of objects with the same parameters as `PATCH /api/1.0/roll/{id}`." parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: '' content: application/json: schema: type: object nullable: true tags: - Roll requestBody: required: true content: application/json: schema: type: object properties: rolls: type: array description: 'List of rolls.' example: - uuid: '1' dice: - uuid: '1' is_hidden: true items: type: object properties: uuid: type: required description: 'Roll ID' example: dbea8b9d-9d62-3498-95a0-640f5430fc52 dice: type: array description: 'List of partial dice rolls.' example: - uuid: '1' is_hidden: true items: type: object properties: is_hidden: type: boolean description: 'Roll value hidden' example: true is_cleared: type: boolean description: 'Roll value cleared' example: false required: - dice required: - rolls delete: summary: 'Delete rolls' operationId: deleteRolls description: 'Delete rolls from a given room' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 204: description: '' tags: - Roll '/api/1.0/roll/{uuid}': get: summary: 'Get a Roll' operationId: getARoll description: 'Fetch roll information including the user and optional room information' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: '' content: application/json: schema: type: object nullable: true tags: - Roll patch: summary: 'Update a Roll' operationId: updateARoll description: 'Pickup dice from the board or unhide dice to players' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: '' content: application/json: schema: type: object nullable: true tags: - Roll requestBody: required: true content: application/json: schema: type: object properties: dice: type: array description: 'List of partial dice rolls.' example: - uuid: '1' is_hidden: true items: type: object properties: uuid: type: string description: '' example: f66fb6e1-deca-32d7-968f-5ef6ed9bb5d9 is_cleared: type: boolean description: 'Roll value cleared' example: true is_dropped: type: boolean description: '' example: true is_hidden: type: boolean description: 'Roll value hidden' example: true meta: type: object description: 'Optional data that is not critical to the functionality of a die roll but could be useful to store for display or informational purposes.' example: [] properties: [] required: - dice parameters: - in: path name: uuid description: 'Roll ID.' example: c568e41c-ab77-3a2b-bc9a-7aa19972f929 required: true schema: type: string /api/1.0/share: post: summary: 'Create Share Request' operationId: createShareRequest description: 'Create a share request for a given theme.' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 201: description: '' content: application/json: schema: type: object example: data: limit: 5 expires_at: '2024-07-17T23:50:57.000000Z' uuid: 0ccedd72-edb3-3304-8230-35dc13b9b007 updated_at: '2024-07-17T23:50:57.000000Z' created_at: '2024-07-17T23:50:57.000000Z' user: username: bode.enos uuid: 8ac6e8cf-0391-389c-96b3-faa97b3dd1c4 name: 'Percival Goodwin DVM' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' theme: slug: laborum-sed is_available: true is_extendable: true is_discoverable: true name: Dr. description: 'Dolorem et eligendi nisi esse explicabo ullam sit velit. Nihil molestias sunt corporis. Sunt ipsa in nostrum hic omnis consequatur. Sunt consequatur a reiciendis quaerat ex vitae.' form_state: null deleted_at: null created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' properties: data: type: object properties: limit: type: integer example: 5 expires_at: type: string example: '2024-07-17T23:50:57.000000Z' uuid: type: string example: 0ccedd72-edb3-3304-8230-35dc13b9b007 updated_at: type: string example: '2024-07-17T23:50:57.000000Z' created_at: type: string example: '2024-07-17T23:50:57.000000Z' user: type: object properties: username: type: string example: bode.enos uuid: type: string example: 8ac6e8cf-0391-389c-96b3-faa97b3dd1c4 name: type: string example: 'Percival Goodwin DVM' created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' theme: type: object properties: slug: type: string example: laborum-sed is_available: type: boolean example: true is_extendable: type: boolean example: true is_discoverable: type: boolean example: true name: type: string example: Dr. description: type: string example: 'Dolorem et eligendi nisi esse explicabo ullam sit velit. Nihil molestias sunt corporis. Sunt ipsa in nostrum hic omnis consequatur. Sunt consequatur a reiciendis quaerat ex vitae.' form_state: type: string example: null deleted_at: type: string example: null created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' tags: - 'Share Dice' requestBody: required: true content: application/json: schema: type: object properties: slug: type: string description: 'Theme slug.' example: dddice-bees limit: type: integer description: 'Number of times this share request can be accepted' example: 6 expires_at: type: string description: 'Expiration date or datetime' example: sapiente required: - slug '/api/1.0/share/{id}': post: summary: 'Accept Share Request' operationId: acceptShareRequest description: "Accept a user's share request which will add the specified theme to your **Digital Dice Box**.\n\nYou can retrieve and modify this theme from your **Digitial Dice Box** by using the [DiceBox](#dice-box) endpoints." parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: '' content: application/json: schema: type: object example: data: limit: 5 expires_at: '2024-07-17T23:50:57.000000Z' uuid: 63b667d8-4c8e-350d-a850-c31786bcb717 updated_at: '2024-07-17T23:50:57.000000Z' created_at: '2024-07-17T23:50:57.000000Z' user: username: vbreitenberg uuid: c77d0c38-a76d-3b20-b6de-c8fa4b48c55d name: 'Asha Vandervort' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' theme: slug: non-in-omnis is_available: true is_extendable: true is_discoverable: true name: Dr. description: 'Ipsam maiores exercitationem saepe reprehenderit reprehenderit. Quis dolores ipsa non cum mollitia impedit amet.' form_state: null deleted_at: null created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' properties: data: type: object properties: limit: type: integer example: 5 expires_at: type: string example: '2024-07-17T23:50:57.000000Z' uuid: type: string example: 63b667d8-4c8e-350d-a850-c31786bcb717 updated_at: type: string example: '2024-07-17T23:50:57.000000Z' created_at: type: string example: '2024-07-17T23:50:57.000000Z' user: type: object properties: username: type: string example: vbreitenberg uuid: type: string example: c77d0c38-a76d-3b20-b6de-c8fa4b48c55d name: type: string example: 'Asha Vandervort' created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' theme: type: object properties: slug: type: string example: non-in-omnis is_available: type: boolean example: true is_extendable: type: boolean example: true is_discoverable: type: boolean example: true name: type: string example: Dr. description: type: string example: 'Ipsam maiores exercitationem saepe reprehenderit reprehenderit. Quis dolores ipsa non cum mollitia impedit amet.' form_state: type: string example: null deleted_at: type: string example: null created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' tags: - 'Share Dice' parameters: - in: path name: id description: 'The ID of the share request' example: facere required: true schema: type: string /api/1.0/user: get: summary: 'Get Authenticated User' operationId: getAuthenticatedUser description: 'Get the current authenticated user.' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: '' content: application/json: schema: type: object example: type: user data: name: 'Jarod Runolfsson' username: zoe.vandervort uuid: 45472af2-33be-386e-9f71-512c97e7fa9c updated_at: '2024-07-17T23:50:58.000000Z' created_at: '2024-07-17T23:50:58.000000Z' rooms: - is_public: true name: 'Untitled Room' bg_file_path: /images/environment/bg-3.webp passcode: non slug: XXvB8Z4 custom_slug: 7ht63MU settings: chat: textSize: sm fadeAfter: 10 isVisible: true textColor: 16777215 deleteAfter: 30 isDiceSorted: false isDiceExpanded: false backgroundColor: 0 isUsernameVisible: true roll: pickUp: 1 diceSize: 1 autoClear: 10 diceLimit: 25 diceTrayColor: 0 disableDiceOutline: false disableDiceShadows: false allowPlayerMoveDice: false disableShakingSound: false defaultClickBehavior: reroll allowPlayerRollUpdates: false physics: gravity: 9.82 throwSpeed: 30 lighting: ambientColor: 16777215 spotlightColor: 16777215 ambientIntensity: 0.5 spotlightIntensity: 0.33 participant: defaultDiceTrayToGM: false created_at: '2024-07-17T23:50:58.000000Z' updated_at: '2024-07-17T23:50:58.000000Z' deleted_at: null subscription: false is_merchant: false is_registered: false properties: type: type: string example: user data: type: object properties: name: type: string example: 'Jarod Runolfsson' username: type: string example: zoe.vandervort uuid: type: string example: 45472af2-33be-386e-9f71-512c97e7fa9c updated_at: type: string example: '2024-07-17T23:50:58.000000Z' created_at: type: string example: '2024-07-17T23:50:58.000000Z' rooms: type: array example: - is_public: true name: 'Untitled Room' bg_file_path: /images/environment/bg-3.webp passcode: non slug: XXvB8Z4 custom_slug: 7ht63MU settings: chat: textSize: sm fadeAfter: 10 isVisible: true textColor: 16777215 deleteAfter: 30 isDiceSorted: false isDiceExpanded: false backgroundColor: 0 isUsernameVisible: true roll: pickUp: 1 diceSize: 1 autoClear: 10 diceLimit: 25 diceTrayColor: 0 disableDiceOutline: false disableDiceShadows: false allowPlayerMoveDice: false disableShakingSound: false defaultClickBehavior: reroll allowPlayerRollUpdates: false physics: gravity: 9.82 throwSpeed: 30 lighting: ambientColor: 16777215 spotlightColor: 16777215 ambientIntensity: 0.5 spotlightIntensity: 0.33 participant: defaultDiceTrayToGM: false created_at: '2024-07-17T23:50:58.000000Z' updated_at: '2024-07-17T23:50:58.000000Z' deleted_at: null items: type: object properties: is_public: type: boolean example: true name: type: string example: 'Untitled Room' bg_file_path: type: string example: /images/environment/bg-3.webp passcode: type: string example: non slug: type: string example: XXvB8Z4 custom_slug: type: string example: 7ht63MU settings: type: object properties: chat: type: object properties: textSize: type: string example: sm fadeAfter: type: integer example: 10 isVisible: type: boolean example: true textColor: type: integer example: 16777215 deleteAfter: type: integer example: 30 isDiceSorted: type: boolean example: false isDiceExpanded: type: boolean example: false backgroundColor: type: integer example: 0 isUsernameVisible: type: boolean example: true roll: type: object properties: pickUp: type: integer example: 1 diceSize: type: integer example: 1 autoClear: type: integer example: 10 diceLimit: type: integer example: 25 diceTrayColor: type: integer example: 0 disableDiceOutline: type: boolean example: false disableDiceShadows: type: boolean example: false allowPlayerMoveDice: type: boolean example: false disableShakingSound: type: boolean example: false defaultClickBehavior: type: string example: reroll allowPlayerRollUpdates: type: boolean example: false physics: type: object properties: gravity: type: number example: 9.82 throwSpeed: type: integer example: 30 lighting: type: object properties: ambientColor: type: integer example: 16777215 spotlightColor: type: integer example: 16777215 ambientIntensity: type: number example: 0.5 spotlightIntensity: type: number example: 0.33 participant: type: object properties: defaultDiceTrayToGM: type: boolean example: false created_at: type: string example: '2024-07-17T23:50:58.000000Z' updated_at: type: string example: '2024-07-17T23:50:58.000000Z' deleted_at: type: string example: null subscription: type: boolean example: false is_merchant: type: boolean example: false is_registered: type: boolean example: false tags: - User post: summary: 'Create Guest User' operationId: createGuestUser description: "Create a guest user to communicate with other API endpoints. Returns a token that can be used to fetch a user.\n\nThis route is rate-limited to 3 accounts/per minute per IP." parameters: [] responses: 201: description: '' content: application/json: schema: type: object example: type: user data: name: 'Maureen Kuhic' username: luella93 uuid: 5bd4874b-b7a8-3fcd-9201-c0bc751a3a3b updated_at: '2024-07-17T23:50:58.000000Z' created_at: '2024-07-17T23:50:58.000000Z' rooms: - is_public: true name: 'Untitled Room' bg_file_path: /images/environment/bg-5.webp passcode: dolorem slug: X_iVNBf custom_slug: 5f8LnW8 settings: chat: textSize: sm fadeAfter: 10 isVisible: true textColor: 16777215 deleteAfter: 30 isDiceSorted: false isDiceExpanded: false backgroundColor: 0 isUsernameVisible: true roll: pickUp: 1 diceSize: 1 autoClear: 10 diceLimit: 25 diceTrayColor: 0 disableDiceOutline: false disableDiceShadows: false allowPlayerMoveDice: false disableShakingSound: false defaultClickBehavior: reroll allowPlayerRollUpdates: false physics: gravity: 9.82 throwSpeed: 30 lighting: ambientColor: 16777215 spotlightColor: 16777215 ambientIntensity: 0.5 spotlightIntensity: 0.33 participant: defaultDiceTrayToGM: false created_at: '2024-07-17T23:50:58.000000Z' updated_at: '2024-07-17T23:50:58.000000Z' deleted_at: null subscription: false is_merchant: false is_registered: false properties: type: type: string example: user data: type: object properties: name: type: string example: 'Maureen Kuhic' username: type: string example: luella93 uuid: type: string example: 5bd4874b-b7a8-3fcd-9201-c0bc751a3a3b updated_at: type: string example: '2024-07-17T23:50:58.000000Z' created_at: type: string example: '2024-07-17T23:50:58.000000Z' rooms: type: array example: - is_public: true name: 'Untitled Room' bg_file_path: /images/environment/bg-5.webp passcode: dolorem slug: X_iVNBf custom_slug: 5f8LnW8 settings: chat: textSize: sm fadeAfter: 10 isVisible: true textColor: 16777215 deleteAfter: 30 isDiceSorted: false isDiceExpanded: false backgroundColor: 0 isUsernameVisible: true roll: pickUp: 1 diceSize: 1 autoClear: 10 diceLimit: 25 diceTrayColor: 0 disableDiceOutline: false disableDiceShadows: false allowPlayerMoveDice: false disableShakingSound: false defaultClickBehavior: reroll allowPlayerRollUpdates: false physics: gravity: 9.82 throwSpeed: 30 lighting: ambientColor: 16777215 spotlightColor: 16777215 ambientIntensity: 0.5 spotlightIntensity: 0.33 participant: defaultDiceTrayToGM: false created_at: '2024-07-17T23:50:58.000000Z' updated_at: '2024-07-17T23:50:58.000000Z' deleted_at: null items: type: object properties: is_public: type: boolean example: true name: type: string example: 'Untitled Room' bg_file_path: type: string example: /images/environment/bg-5.webp passcode: type: string example: dolorem slug: type: string example: X_iVNBf custom_slug: type: string example: 5f8LnW8 settings: type: object properties: chat: type: object properties: textSize: type: string example: sm fadeAfter: type: integer example: 10 isVisible: type: boolean example: true textColor: type: integer example: 16777215 deleteAfter: type: integer example: 30 isDiceSorted: type: boolean example: false isDiceExpanded: type: boolean example: false backgroundColor: type: integer example: 0 isUsernameVisible: type: boolean example: true roll: type: object properties: pickUp: type: integer example: 1 diceSize: type: integer example: 1 autoClear: type: integer example: 10 diceLimit: type: integer example: 25 diceTrayColor: type: integer example: 0 disableDiceOutline: type: boolean example: false disableDiceShadows: type: boolean example: false allowPlayerMoveDice: type: boolean example: false disableShakingSound: type: boolean example: false defaultClickBehavior: type: string example: reroll allowPlayerRollUpdates: type: boolean example: false physics: type: object properties: gravity: type: number example: 9.82 throwSpeed: type: integer example: 30 lighting: type: object properties: ambientColor: type: integer example: 16777215 spotlightColor: type: integer example: 16777215 ambientIntensity: type: number example: 0.5 spotlightIntensity: type: number example: 0.33 participant: type: object properties: defaultDiceTrayToGM: type: boolean example: false created_at: type: string example: '2024-07-17T23:50:58.000000Z' updated_at: type: string example: '2024-07-17T23:50:58.000000Z' deleted_at: type: string example: null subscription: type: boolean example: false is_merchant: type: boolean example: false is_registered: type: boolean example: false tags: - User security: [] /api/1.0/user/token: post: summary: 'Create API Token' operationId: createAPIToken description: 'Returns a new API token for the authenticated user.' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 201: description: '' content: application/json: schema: type: object example: type: token data: '' properties: type: type: string example: token data: type: string example: '' tags: - User requestBody: required: false content: application/json: schema: type: object properties: name: type: string description: '' example: libero '/api/1.0/user/token/{token}': delete: summary: 'Delete API Key' operationId: deleteAPIKey description: '' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 204: description: '' tags: - User parameters: - in: path name: token description: Token example: velit required: true schema: type: string /api/1.0/dice-box: get: summary: 'List Dice Box Collection' operationId: listDiceBoxCollection description: 'Fetch a list of all dice in your **Digital Dice Box**.' parameters: - in: query name: filter description: 'Filter themes by name' example: ipsa required: false schema: type: string description: 'Filter themes by name' example: ipsa - in: query name: ids description: 'Comma seperated list of themes IDs to get' example: sed required: false schema: type: string description: 'Comma seperated list of themes IDs to get' example: sed - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: '' content: application/json: schema: type: object example: type: 'theme[]' data: - meshes: d4: /mesh/d04.fbx d6: /mesh/d06.fbx d8: /mesh/d08.fbx d10: /mesh/d10.fbx d10x: /mesh/d10.fbx d12: /mesh/d12.fbx d20: /mesh/d20.fbx available_dice: - d4 - d6 - d8 - d10 - d10x - d12 - d20 physics: inertia: d4: 5 d6: 12 d8: 10 d10: 9 d10x: 9 d12: 8 d20: 6 weight: d4: 300 d6: 300 d8: 340 d10: 350 d10x: 350 d12: 350 d20: 400 sizes: d4: 1 d6: 1 d8: 1 d10: 1 d10x: 1 d12: 1 d20: 1 sounds: - src: /sounds/roll-1.mp3 'on': die.collide - src: /sounds/roll-2.mp3 'on': die.collide - src: /sounds/roll-3.mp3 'on': die.collide - src: /sounds/roll-loading-sm.mp3 'on': roll.loading value: 2 - src: /sounds/roll-loading-lg.mp3 'on': roll.loading value: '>=3' uniforms: number: type: color value: b: 0 g: 0.424 r: 0.463 diffuse: type: color value: b: 0 g: 0.929 r: 1 values: d4: - 1 - 2 - 3 - 4 d6: - 1 - 2 - 3 - 4 - 5 - 6 d8: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 d10: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 d12: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 d20: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 d10x: - 10 - 20 - 30 - 40 - 50 - 60 - 70 - 80 - 90 - 0 id: error-reprehenderit name: Prof. label: color: '#000000' background_color: '#e3d12d' version: 1.0.0 textures: - src: d4: u_numberMap.png d6: u_numberMap.png d8: u_numberMap.png d10: u_numberMap.png d12: u_numberMap.png d20: u_numberMap.png d10x: u_numberMap_d10x.png binding: u_numberMap api_version: '1.0' description: 'Cupiditate maiores veniam maxime saepe ab qui. Architecto error natus facere omnis. Nisi sed aut sit quisquam. Modi quis corrupti quas et iste corporis exercitationem.' user: username: ludie34 uuid: 4af1002f-da8d-364c-ba66-51182c05588b name: 'Dr. Torey Schimmel' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' subscription: false is_merchant: false is_registered: false created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' - meshes: d4: /mesh/d04.fbx d6: /mesh/d06.fbx d8: /mesh/d08.fbx d10: /mesh/d10.fbx d10x: /mesh/d10.fbx d12: /mesh/d12.fbx d20: /mesh/d20.fbx available_dice: - d4 - d6 - d8 - d10 - d10x - d12 - d20 physics: inertia: d4: 5 d6: 12 d8: 10 d10: 9 d10x: 9 d12: 8 d20: 6 weight: d4: 300 d6: 300 d8: 340 d10: 350 d10x: 350 d12: 350 d20: 400 sizes: d4: 1 d6: 1 d8: 1 d10: 1 d10x: 1 d12: 1 d20: 1 sounds: - src: /sounds/roll-1.mp3 'on': die.collide - src: /sounds/roll-2.mp3 'on': die.collide - src: /sounds/roll-3.mp3 'on': die.collide - src: /sounds/roll-loading-sm.mp3 'on': roll.loading value: 2 - src: /sounds/roll-loading-lg.mp3 'on': roll.loading value: '>=3' uniforms: number: type: color value: b: 0 g: 0.424 r: 0.463 diffuse: type: color value: b: 0 g: 0.929 r: 1 values: d4: - 1 - 2 - 3 - 4 d6: - 1 - 2 - 3 - 4 - 5 - 6 d8: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 d10: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 d12: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 d20: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 d10x: - 10 - 20 - 30 - 40 - 50 - 60 - 70 - 80 - 90 - 0 id: molestiae-quaerat-iure name: Mr. label: color: '#000000' background_color: '#e3d12d' version: 1.0.0 textures: - src: d4: u_numberMap.png d6: u_numberMap.png d8: u_numberMap.png d10: u_numberMap.png d12: u_numberMap.png d20: u_numberMap.png d10x: u_numberMap_d10x.png binding: u_numberMap api_version: '1.0' description: 'Dolorem suscipit autem libero voluptatem quia culpa modi omnis. Et iusto nulla fugiat odit velit minima. Deserunt omnis nostrum dolorem cumque perspiciatis asperiores animi voluptatem. Reprehenderit repellendus sed sit.' user: username: norwood.skiles uuid: 5a6517ac-7fda-37c6-9861-4d8e3be64063 name: 'Maud Prohaska III' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' subscription: false is_merchant: false is_registered: false created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' properties: type: type: string example: 'theme[]' data: type: array example: - meshes: d4: /mesh/d04.fbx d6: /mesh/d06.fbx d8: /mesh/d08.fbx d10: /mesh/d10.fbx d10x: /mesh/d10.fbx d12: /mesh/d12.fbx d20: /mesh/d20.fbx available_dice: - d4 - d6 - d8 - d10 - d10x - d12 - d20 physics: inertia: d4: 5 d6: 12 d8: 10 d10: 9 d10x: 9 d12: 8 d20: 6 weight: d4: 300 d6: 300 d8: 340 d10: 350 d10x: 350 d12: 350 d20: 400 sizes: d4: 1 d6: 1 d8: 1 d10: 1 d10x: 1 d12: 1 d20: 1 sounds: - src: /sounds/roll-1.mp3 'on': die.collide - src: /sounds/roll-2.mp3 'on': die.collide - src: /sounds/roll-3.mp3 'on': die.collide - src: /sounds/roll-loading-sm.mp3 'on': roll.loading value: 2 - src: /sounds/roll-loading-lg.mp3 'on': roll.loading value: '>=3' uniforms: number: type: color value: b: 0 g: 0.424 r: 0.463 diffuse: type: color value: b: 0 g: 0.929 r: 1 values: d4: - 1 - 2 - 3 - 4 d6: - 1 - 2 - 3 - 4 - 5 - 6 d8: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 d10: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 d12: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 d20: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 d10x: - 10 - 20 - 30 - 40 - 50 - 60 - 70 - 80 - 90 - 0 id: error-reprehenderit name: Prof. label: color: '#000000' background_color: '#e3d12d' version: 1.0.0 textures: - src: d4: u_numberMap.png d6: u_numberMap.png d8: u_numberMap.png d10: u_numberMap.png d12: u_numberMap.png d20: u_numberMap.png d10x: u_numberMap_d10x.png binding: u_numberMap api_version: '1.0' description: 'Cupiditate maiores veniam maxime saepe ab qui. Architecto error natus facere omnis. Nisi sed aut sit quisquam. Modi quis corrupti quas et iste corporis exercitationem.' user: username: ludie34 uuid: 4af1002f-da8d-364c-ba66-51182c05588b name: 'Dr. Torey Schimmel' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' subscription: false is_merchant: false is_registered: false created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' - meshes: d4: /mesh/d04.fbx d6: /mesh/d06.fbx d8: /mesh/d08.fbx d10: /mesh/d10.fbx d10x: /mesh/d10.fbx d12: /mesh/d12.fbx d20: /mesh/d20.fbx available_dice: - d4 - d6 - d8 - d10 - d10x - d12 - d20 physics: inertia: d4: 5 d6: 12 d8: 10 d10: 9 d10x: 9 d12: 8 d20: 6 weight: d4: 300 d6: 300 d8: 340 d10: 350 d10x: 350 d12: 350 d20: 400 sizes: d4: 1 d6: 1 d8: 1 d10: 1 d10x: 1 d12: 1 d20: 1 sounds: - src: /sounds/roll-1.mp3 'on': die.collide - src: /sounds/roll-2.mp3 'on': die.collide - src: /sounds/roll-3.mp3 'on': die.collide - src: /sounds/roll-loading-sm.mp3 'on': roll.loading value: 2 - src: /sounds/roll-loading-lg.mp3 'on': roll.loading value: '>=3' uniforms: number: type: color value: b: 0 g: 0.424 r: 0.463 diffuse: type: color value: b: 0 g: 0.929 r: 1 values: d4: - 1 - 2 - 3 - 4 d6: - 1 - 2 - 3 - 4 - 5 - 6 d8: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 d10: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 d12: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 d20: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 d10x: - 10 - 20 - 30 - 40 - 50 - 60 - 70 - 80 - 90 - 0 id: molestiae-quaerat-iure name: Mr. label: color: '#000000' background_color: '#e3d12d' version: 1.0.0 textures: - src: d4: u_numberMap.png d6: u_numberMap.png d8: u_numberMap.png d10: u_numberMap.png d12: u_numberMap.png d20: u_numberMap.png d10x: u_numberMap_d10x.png binding: u_numberMap api_version: '1.0' description: 'Dolorem suscipit autem libero voluptatem quia culpa modi omnis. Et iusto nulla fugiat odit velit minima. Deserunt omnis nostrum dolorem cumque perspiciatis asperiores animi voluptatem. Reprehenderit repellendus sed sit.' user: username: norwood.skiles uuid: 5a6517ac-7fda-37c6-9861-4d8e3be64063 name: 'Maud Prohaska III' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' subscription: false is_merchant: false is_registered: false created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' items: type: object properties: meshes: type: object properties: d4: type: string example: /mesh/d04.fbx d6: type: string example: /mesh/d06.fbx d8: type: string example: /mesh/d08.fbx d10: type: string example: /mesh/d10.fbx d10x: type: string example: /mesh/d10.fbx d12: type: string example: /mesh/d12.fbx d20: type: string example: /mesh/d20.fbx available_dice: type: array example: - d4 - d6 - d8 - d10 - d10x - d12 - d20 items: type: string physics: type: object properties: inertia: type: object properties: d4: type: integer example: 5 d6: type: integer example: 12 d8: type: integer example: 10 d10: type: integer example: 9 d10x: type: integer example: 9 d12: type: integer example: 8 d20: type: integer example: 6 weight: type: object properties: d4: type: integer example: 300 d6: type: integer example: 300 d8: type: integer example: 340 d10: type: integer example: 350 d10x: type: integer example: 350 d12: type: integer example: 350 d20: type: integer example: 400 sizes: type: object properties: d4: type: integer example: 1 d6: type: integer example: 1 d8: type: integer example: 1 d10: type: integer example: 1 d10x: type: integer example: 1 d12: type: integer example: 1 d20: type: integer example: 1 sounds: type: array example: - src: /sounds/roll-1.mp3 'on': die.collide - src: /sounds/roll-2.mp3 'on': die.collide - src: /sounds/roll-3.mp3 'on': die.collide - src: /sounds/roll-loading-sm.mp3 'on': roll.loading value: 2 - src: /sounds/roll-loading-lg.mp3 'on': roll.loading value: '>=3' items: type: object properties: src: type: string example: /sounds/roll-1.mp3 'on': type: string example: die.collide uniforms: type: object properties: number: type: object properties: type: type: string example: color value: type: object properties: b: type: integer example: 0 g: type: number example: 0.424 r: type: number example: 0.463 diffuse: type: object properties: type: type: string example: color value: type: object properties: b: type: integer example: 0 g: type: number example: 0.929 r: type: integer example: 1 values: type: object properties: d4: type: array example: - 1 - 2 - 3 - 4 items: type: integer d6: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 items: type: integer d8: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 items: type: integer d10: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 items: type: integer d12: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 items: type: integer d20: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 items: type: integer d10x: type: array example: - 10 - 20 - 30 - 40 - 50 - 60 - 70 - 80 - 90 - 0 items: type: integer id: type: string example: error-reprehenderit name: type: string example: Prof. label: type: object properties: color: type: string example: '#000000' background_color: type: string example: '#e3d12d' version: type: string example: 1.0.0 textures: type: array example: - src: d4: u_numberMap.png d6: u_numberMap.png d8: u_numberMap.png d10: u_numberMap.png d12: u_numberMap.png d20: u_numberMap.png d10x: u_numberMap_d10x.png binding: u_numberMap items: type: object properties: src: type: object properties: d4: type: string example: u_numberMap.png d6: type: string example: u_numberMap.png d8: type: string example: u_numberMap.png d10: type: string example: u_numberMap.png d12: type: string example: u_numberMap.png d20: type: string example: u_numberMap.png d10x: type: string example: u_numberMap_d10x.png binding: type: string example: u_numberMap api_version: type: string example: '1.0' description: type: string example: 'Cupiditate maiores veniam maxime saepe ab qui. Architecto error natus facere omnis. Nisi sed aut sit quisquam. Modi quis corrupti quas et iste corporis exercitationem.' user: type: object properties: username: type: string example: ludie34 uuid: type: string example: 4af1002f-da8d-364c-ba66-51182c05588b name: type: string example: 'Dr. Torey Schimmel' created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' subscription: type: boolean example: false is_merchant: type: boolean example: false is_registered: type: boolean example: false created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' tags: - 'Dice Box' requestBody: required: false content: application/json: schema: type: object properties: limit: type: number description: '' example: 282801.34175566 filter: type: string description: '' example: aliquid post: summary: 'Add Theme to Dice Box' operationId: addThemeToDiceBox description: 'Add a theme to your **Digital Dice Box**.' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 201: description: '' content: application/json: schema: type: object example: data: meshes: d4: /mesh/d04.fbx d6: /mesh/d06.fbx d8: /mesh/d08.fbx d10: /mesh/d10.fbx d10x: /mesh/d10.fbx d12: /mesh/d12.fbx d20: /mesh/d20.fbx available_dice: - d4 - d6 - d8 - d10 - d10x - d12 - d20 physics: inertia: d4: 5 d6: 12 d8: 10 d10: 9 d10x: 9 d12: 8 d20: 6 weight: d4: 300 d6: 300 d8: 340 d10: 350 d10x: 350 d12: 350 d20: 400 sizes: d4: 1 d6: 1 d8: 1 d10: 1 d10x: 1 d12: 1 d20: 1 sounds: - src: /sounds/roll-1.mp3 'on': die.collide - src: /sounds/roll-2.mp3 'on': die.collide - src: /sounds/roll-3.mp3 'on': die.collide - src: /sounds/roll-loading-sm.mp3 'on': roll.loading value: 2 - src: /sounds/roll-loading-lg.mp3 'on': roll.loading value: '>=3' uniforms: number: type: color value: b: 0 g: 0.424 r: 0.463 diffuse: type: color value: b: 0 g: 0.929 r: 1 values: d4: - 1 - 2 - 3 - 4 d6: - 1 - 2 - 3 - 4 - 5 - 6 d8: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 d10: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 d12: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 d20: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 d10x: - 10 - 20 - 30 - 40 - 50 - 60 - 70 - 80 - 90 - 0 id: voluptas-repudiandae-repellat name: Dr. label: color: '#000000' background_color: '#e3d12d' version: 1.0.0 textures: - src: d4: u_numberMap.png d6: u_numberMap.png d8: u_numberMap.png d10: u_numberMap.png d12: u_numberMap.png d20: u_numberMap.png d10x: u_numberMap_d10x.png binding: u_numberMap api_version: '1.0' description: 'Repudiandae praesentium ut qui quo illo. Iste maiores quidem tempore beatae velit. Rerum possimus dolorum libero. Est itaque aliquam provident illum.' user: username: lgottlieb uuid: 4dfd5b31-648e-3f58-bdd3-94032158cf54 name: 'Miss Hannah Daniel' created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' subscription: false is_merchant: false is_registered: false created_at: '2024-07-17T23:50:57.000000Z' updated_at: '2024-07-17T23:50:57.000000Z' properties: data: type: object properties: meshes: type: object properties: d4: type: string example: /mesh/d04.fbx d6: type: string example: /mesh/d06.fbx d8: type: string example: /mesh/d08.fbx d10: type: string example: /mesh/d10.fbx d10x: type: string example: /mesh/d10.fbx d12: type: string example: /mesh/d12.fbx d20: type: string example: /mesh/d20.fbx available_dice: type: array example: - d4 - d6 - d8 - d10 - d10x - d12 - d20 items: type: string physics: type: object properties: inertia: type: object properties: d4: type: integer example: 5 d6: type: integer example: 12 d8: type: integer example: 10 d10: type: integer example: 9 d10x: type: integer example: 9 d12: type: integer example: 8 d20: type: integer example: 6 weight: type: object properties: d4: type: integer example: 300 d6: type: integer example: 300 d8: type: integer example: 340 d10: type: integer example: 350 d10x: type: integer example: 350 d12: type: integer example: 350 d20: type: integer example: 400 sizes: type: object properties: d4: type: integer example: 1 d6: type: integer example: 1 d8: type: integer example: 1 d10: type: integer example: 1 d10x: type: integer example: 1 d12: type: integer example: 1 d20: type: integer example: 1 sounds: type: array example: - src: /sounds/roll-1.mp3 'on': die.collide - src: /sounds/roll-2.mp3 'on': die.collide - src: /sounds/roll-3.mp3 'on': die.collide - src: /sounds/roll-loading-sm.mp3 'on': roll.loading value: 2 - src: /sounds/roll-loading-lg.mp3 'on': roll.loading value: '>=3' items: type: object properties: src: type: string example: /sounds/roll-1.mp3 'on': type: string example: die.collide uniforms: type: object properties: number: type: object properties: type: type: string example: color value: type: object properties: b: type: integer example: 0 g: type: number example: 0.424 r: type: number example: 0.463 diffuse: type: object properties: type: type: string example: color value: type: object properties: b: type: integer example: 0 g: type: number example: 0.929 r: type: integer example: 1 values: type: object properties: d4: type: array example: - 1 - 2 - 3 - 4 items: type: integer d6: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 items: type: integer d8: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 items: type: integer d10: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 items: type: integer d12: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 items: type: integer d20: type: array example: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 items: type: integer d10x: type: array example: - 10 - 20 - 30 - 40 - 50 - 60 - 70 - 80 - 90 - 0 items: type: integer id: type: string example: voluptas-repudiandae-repellat name: type: string example: Dr. label: type: object properties: color: type: string example: '#000000' background_color: type: string example: '#e3d12d' version: type: string example: 1.0.0 textures: type: array example: - src: d4: u_numberMap.png d6: u_numberMap.png d8: u_numberMap.png d10: u_numberMap.png d12: u_numberMap.png d20: u_numberMap.png d10x: u_numberMap_d10x.png binding: u_numberMap items: type: object properties: src: type: object properties: d4: type: string example: u_numberMap.png d6: type: string example: u_numberMap.png d8: type: string example: u_numberMap.png d10: type: string example: u_numberMap.png d12: type: string example: u_numberMap.png d20: type: string example: u_numberMap.png d10x: type: string example: u_numberMap_d10x.png binding: type: string example: u_numberMap api_version: type: string example: '1.0' description: type: string example: 'Repudiandae praesentium ut qui quo illo. Iste maiores quidem tempore beatae velit. Rerum possimus dolorum libero. Est itaque aliquam provident illum.' user: type: object properties: username: type: string example: lgottlieb uuid: type: string example: 4dfd5b31-648e-3f58-bdd3-94032158cf54 name: type: string example: 'Miss Hannah Daniel' created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' subscription: type: boolean example: false is_merchant: type: boolean example: false is_registered: type: boolean example: false created_at: type: string example: '2024-07-17T23:50:57.000000Z' updated_at: type: string example: '2024-07-17T23:50:57.000000Z' tags: - 'Dice Box' requestBody: required: false content: application/json: schema: type: object properties: id: type: Theme description: ID example: optio '/api/1.0/dice-box/{slug}': delete: summary: 'Delete Dice Box Theme' operationId: deleteDiceBoxTheme description: 'Delete a share request which will invalidate any shared URLs' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 204: description: '' tags: - 'Dice Box' parameters: - in: path name: slug description: 'The slug of the dice box.' example: fugiat required: true schema: type: string - in: path name: id description: 'The ID of the theme.' example: dddice-bees required: true schema: type: string /api/1.0/activate: post: summary: 'Create activation code' operationId: createActivationCode description: "When setting up an integration, it is advised to present a potential user with a \"code\"\nand then have the user enter that code on the official dddice website.\n\nThis is not only easy for the user to interact with, it also helps prevent odd handshakes\nand security barriers when trying to authenticate with cookies and/or other mechanisms,\nespecially when trying to authenticate inside an `