Action URL
This URL is fetched from a certain Repository index. XPath expression: /html/body/form[@id='packageSubmitForm']/@action/text().
Request Arguments
Argument name |
Description |
Type |
Required |
|
|
Package bits |
file |
yes(*) |
|
|
Package meta |
file |
yes(*) |
|
|
Package bits URL |
text |
yes(*) |
|
|
Package commercial name |
text |
no |
|
|
Package type (APS for standard APS package, PVT for container template packaged as APS) |
enum. Allowed values: APS | PVT |
yes |
|
* - Either package or both meta and url are required.
Response Codes
Code |
Description |
|
201 Created |
The package has been successfully uploaded to the repository. The Location header indicates the URL of the newly created Package index document (see Package Index). |
|
400 Bad request |
The submitted package did not pass validation and cannot be accepted. The body of the response may contain detailed reason of failure. |
|
401 Unauthorized |
Authorization required. The WWW-Authenticate header will specify the expected authentication scheme. |
|
403 Forbidden |
The credentials specified are not valid for this operation. |
|
405 Method not allowed |
The handler does not accept the request method. Only GET and POST methods are accepted. |
|