GET repository/applications/{applicationId}
Gets the identified RepositoryApplicationVersion in consumer's Environment.
Remarks
C4M Error Code returned:
null Application returned successfully.
ApplicationNotFound The requested application does not exist on this environment.
403 - Forbidden The authenticated user doesn't have permission to access the resource.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| applicationId | RepositoryApplicationVersion identifier. |
Define this parameter in the request URI. |
Response Information
RepositoryApplicationVersion as ApplicationWithVersionsResponseDto registered in environment with the given Id.
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"
}