mise API - v0.0.0
    Preparing search index...

    Function client_adminPluginUpload

    • Registers one plugin through CUBE's administrative upload.

      Posted as multipart directly rather than through chrisapi: on a refusal whose body is not Collection+JSON (Django REST's field errors are plain JSON), chrisapi replaces CUBE's reason with "Bad server response!", and a sync that names why each plugin failed needs that reason.

      Parameters

      • client: Client

        Connected CUBE client whose token authorizes the upload.

      • computeNames: string[]

        Compute resources to register the plugin on.

      • source: PluginAdminSource

        The descriptor text (field fname) or a store URL (field plugin_store_url).

      Returns Promise<Record<string, unknown>>

      The registered plugin's fields, decoded from the Collection+JSON item.

      When the client has no administrative endpoint, or CUBE refuses (its reason in the message).