Action URL
<ROOT_URL>/packager/upload/
Request Arguments
Argument name |
Description |
Type |
Required |
|
|
Prefix for upload parameters, could be empty |
string |
yes(*) |
|
|
Packager login |
string |
yes(*) |
|
|
Packager password |
string |
yes(*) |
|
|
Request for automatic package approvement; packager should have permission to complete automatic approvement |
boolean |
yes(*) |
|
|
Request for automatic publishing (enabling) of new package; packager should have permission to complete automatic publishing. |
boolean |
yes(*) |
|
|
Package commercial name |
string |
no |
|
|
package archive itself |
file |
yes |
|
Response Codes
Code |
Description |
|
200 Ok |
The package has been successfully uploaded to the repository. |
|
400 Bad request |
The submitted request did not pass validation and cannot be accepted. The body of the response may contain detailed reason of failure. |
|
401 Unauthorized |
Authorization failed, provided credentials are not valid. 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 POST method is accepted. |
|
500 Server Error |
The submitted package did not pass validation with APSLint and cannot be accepted; or the submitted package already exists in APS Catalog; or an internal framework error occurred. |
|