Uploads one descriptor's text through CUBE's administrative upload.
The descriptor's JSON text.
Compute resources to register it on.
Optional
Administrator credentials; the session when absent.
The registered plugin's fields, or an error on the error stack.
const added: Result<Record<string, unknown>> = await plugin_addDescriptor(text, ['host']); Copy
const added: Result<Record<string, unknown>> = await plugin_addDescriptor(text, ['host']);
Uploads one descriptor's text through CUBE's administrative upload.