POST repository/applications
Registers an RepositoryApplicationVersion in the consumer's Environment.
Remarks
HTTP Status returned.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| applicationDto | Application data as ApplicationCreationRequestDto. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"alias": "My Android App",
"packageName": "com.example.myandroidapp"
}
Response Information
Android APK's DTO.
Response body formats
application/json, text/json
Sample:
{
"versions": [
{
"id": 1,
"versionCode": 12,
"versionName": "2.0.1.1"
},
{
"id": 1,
"versionCode": 12,
"versionName": "2.0.1.1"
}
],
"alias": "My Android App",
"id": 1,
"packageName": "com.example.myandroidapp"
}
Sample:
{
"costType": 0,
"distributionChannel": 0,
"numberOfProvisionedLicenses": 1,
"numberOfPurchasedLicenses": 1,
"productId": "sample string 1",
"versions": [
{
"id": 1,
"versionCode": 12,
"versionName": "2.0.1.1"
},
{
"id": 1,
"versionCode": 12,
"versionName": "2.0.1.1"
}
],
"alias": "My Android App",
"id": 1,
"packageName": "com.example.myandroidapp"
}