Experiment to rebuild Diffuse using web applets.
1{
2 "name": "diffuse/configurator/input",
3 "title": "Diffuse Configurator | Input",
4 "entrypoint": "index.html",
5 "actions": {
6 "consult": {
7 "title": "Consult",
8 "params_schema": {
9 "type": "string",
10 "description": "The uri to check the availability of."
11 }
12 },
13 "contextualize": {
14 "title": "Contextualize",
15 "description": "Provide context to all inputs.",
16 "params_schema": {
17 "type": "array",
18 "description": "Array of tracks",
19 "items": { "type": "object" }
20 }
21 },
22 "list": {
23 "title": "List",
24 "description": "List tracks from all inputs.",
25 "params_schema": {
26 "type": "array",
27 "description": "A list of (cached) tracks",
28 "items": {
29 "type": "object"
30 }
31 }
32 },
33 "resolve": {
34 "title": "Resolve",
35 "description": "Potentially translates a track uri with a matching scheme into a URL pointing at the audio bytes or an audio stream. If it can be resolved that is, otherwise you'll get `undefined`.",
36 "params_schema": {
37 "type": "object",
38 "properties": {
39 "method": {
40 "type": "string",
41 "description": "The HTTP method that is going to be used on the resolved URI."
42 },
43 "uri": { "type": "string", "description": "The URI to resolve." }
44 },
45 "required": ["method", "uri"]
46 }
47 }
48 }
49}