Upload a Java package.

Request

POST https://{hostname}:{port}
    /cli/javaPackage/addJavaPackage?{parameters}
Accept: {contentType}
Content-Type: application/octet-stream
Table 1. Request parameters
Parameter Type Required Description
name string false Custom package name (typically, the file name of the package). Limited to 100 characters from [-_.0-9a-zA-Z]. Certain names that have special meaning as file names such as ".." or "COM1" are rejected.
Table 2. Header parameters
Parameter Type Required Description
Content-Type application/octet-stream true
Accept
  • application/json
  • application/yaml
true

Related CLI command: addJavaPackage.