{ "name": "diffuse/input/native-fs", "title": "Diffuse Input | Native File System", "entrypoint": "index.html", "input_properties": { "scheme": "file+local" }, "actions": { "consult": { "title": "Consult", "description": "Check if a handle is available to be used by passing in a file uri that uses that handle as the host.", "params_schema": { "type": "string", "description": "The uri with the handle to check the availability of." } }, "list": { "title": "List", "description": "List tracks.", "params_schema": { "type": "array", "description": "A list of (cached) tracks with an uri matching the scheme", "items": { "type": "object" } } }, "resolve": { "title": "Resolve", "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`. Use the `consult` action to get a more detailed answer.", "params_schema": { "type": "object", "properties": { "method": { "type": "string", "description": "The HTTP method that is going to be used on the resolved URI." }, "uri": { "type": "string", "description": "The URI to resolve." } }, "required": ["method", "uri"] } }, "mount": { "title": "Mount", "description": "Prepare for usage." }, "unmount": { "title": "Unmount", "description": "Callback after usage.", "params_schema": { "type": "string", "description": "The handle id to unmount" } } } }