View Application Recordings
get
/paas/service/apaas/api/v1.1/apps/{identityDomainId}/{appName}/recordings
Retrieves a list of downloadable recordings for all instances of an application. You must generate recordings before you can view them.
Request
Path Parameters
-
appName: string
Name of the application
-
identityDomainId: string
Name of the identity domain for the Oracle Application Container Cloud Service acount
Response
Supported Media Types
- application/json
200 Response
OK
The response body contains information about application instance recordings.
Root Schema : viewAppRecording-response
Type:
object
The response body contains information about application instance recordings.
Show Source
-
instances(optional):
array instances
Log details of the application instances
Nested Schema : instances
Type:
array
Log details of the application instances
Show Source
-
Array of:
object viewRecording-response
The response body contains information about application instance recordings.
Nested Schema : viewRecording-response
Type:
object
The response body contains information about application instance recordings.
Show Source
-
instanceName(optional):
string
Mame of the instance
-
recording(optional):
array recording
Recording details of the application instance
Nested Schema : recording
Type:
array
Recording details of the application instance
Show Source
-
Array of:
object viewRecording
The response body contains information about application instance recordings.
Nested Schema : viewRecording
Type:
object
The response body contains information about application instance recordings.
Show Source
-
contentType(optional):
string
Content type of the recordings
-
fileSize(optional):
string
File size of the recordings
-
lastModifiedTime(optional):
string
Modification time of the recordings
-
recordingName(optional):
string
Name of the recordings
-
recordingURL(optional):
string
URL of the recordings
Examples
The following example shows how to get recording details for an Oracle Application Cloud Service instance by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, including how to determine your region, see Send Requests.
curl -i -X GET -u joe@example.com:Welcome1! -H "X-ID-TENANT-NAME:ExampleIdentityDomain" https://apaas.us.oraclecloud.com/paas/service/apaas/api/v1.1/apps/ExampleIdentityDomain/ExamplAppName/instances/web.1/recordings
You must generate recordings before you can view them. See Generate Application Instance Recording.
Example of Response Header
The following shows an example of the response header.
HTTP/1.1 200 OK Date: Wed, 04 Feb 2015 21:24:33 GMT Transfer-Encoding: chunked Content-Type: application/json
Example of Response Body
The following example shows the contents of the response body in JSON format.
{ "instanceName": "web.1", "recordings": [ { "contentType": "application/octet-stream", "recordingName": "recordings/web.1/web.1_2015_06_17_20:37:59.jfr", "recordingURL": "https://storage.oraclecorp.com/v1/Storage-StorageEval02admin/9bec5db7-9f70-4886-8843-3d892e739896/recordings/web.1/web.1_2015_06_17_20:37:59.jfr", "fileSize": 142588, "lastModifiedTime": "2015-06-18T00:39:02.591-0700" } ] }