Function uploadExtension

  • Creates a new extension. Accepts either provided file or data object. The name of the new extension must be different to any existing extensions.

    Parameters

    • body: { data?: Extension; file?: BodyInit }

      an object with the body content

      • Optionaldata?: Extension

        The extension model.

      • Optionalfile?: BodyInit

        Extension archive.

    • Optionaloptions: ApiCallOptions

    Returns Promise<UploadExtensionHttpResponse>

    UploadExtensionHttpError