Get an application in a loop
Request
GET https://{hostname}:{port}
/cli/application
Accept: {contentType}
| Parameter | Type | Required | Description |
|---|---|---|---|
| Accept | application/json |
true |
| Parameter | Type | Required | Description |
|---|---|---|---|
| application | string | true | Name or ID of the application in the following
format:
|
Example command to get an application by using application ID
curl -k -u username:passwd -X GET https://{hostname}:{port}/deploy/cli/application
-application "27d56999-91e1-4689-914a-e6c932a75234"
Example command to get an application by using application name in loop by ID
curl -k -u username:passwd -X GET https://{hostname}:{port}/deploy/cli/application
-application "6d076690-8a79-4fbc-990a-4852fb857d25:applicationName"
Note: When using loop ID, you do not need to specify the teamspace name
or ID. If you do, make sure that the teamspace name or ID is valid.
Example command to get an application by using application name in loop by name in teamspace by ID
curl -k -u username:passwd -X GET https://{hostname}:{port}/deploy/cli/application
-application "6d076690-8a79-4fbc-990a-4852fb857d25~loopName:applicationName"Example command to get an application by using application name in loop by name in teamspace by name
curl -k -u username:passwd -X GET https://{hostname}:{port}/deploy/cli/application
-application "teamspaceName~loopName:applicationName"
Example response
[
{
"id": "1967ea12-9651-128d-4216-0f9a23522dd0",
"securityResourceId": "1967ea12-9611-fde1-7dd3-fb62aef3d398",
"loop": {
"id": "1234bdb3-90a1-414d-88b3-1ff19e822ded",
"name": "sampleLoop3",
"teamSpace": {
"id": "d0ff4b8a-ab83-4cca-9c81-78daab66db27",
"name": "samplets3"
}
},
"name": "My Application",
"created": 1745881213285,
"enforceCompleteSnapshots": false,
"active": true,
"tags": [],
"deleted": false,
"onlyChangedVersions": true,
"useWizard": false,
"user": "demo user (admin@admin.com)"
}
]
