addApplication (POST)
Registers the application to the Application Center.
Method
POST
Path
/services/service/desktop/application
Example
https://www.example.com/appcenterconsole/services/service/desktop/application/
Consumes
application/json
Produces
application/json
Payload
JSON Example
{
"os":"Android",
"label":"HelloWorld",
"pkg":"com.ibm.mytest1",
"versionName":"1.0",
"version":"1",
"size":4835,
"cid":"170",
"mandatory":"N","description":"testing","remote_url":"","is_installer":"Y","is_active":"Y","is_ready_prod":"N",
"files":[{"type":"apk","cid":"170","size":4835,"filename":"HelloWorld9universal.apk"}]
}
Response
Status: 200 OKJSON Example
[
{
"os":"Android",
"label":"HelloWorld",
"pkg":"com.ibm.mytest1",
"versionName":"1.0",
"version":"1",
"size":4835,
"cid":"170",
"mandatory":"N","description":"testing","remote_url":"","is_installer":"Y","is_active":"Y","is_ready_prod":"N",
"files":[{"type":"apk","cid":"170","size":4835,"filename":"HelloWorld9universal.apk"}]
.......
.......
}
]
Errors
400The payload is invalid.409
"message": "FWLAC0101W: An application with package \"com.ibm.mytest1@Android\" version \"1\" already exists."500
An internal error occurred.