Generate Application Instance Log

post

/paas/service/apaas/api/v1.1/apps/{identityDomainId}/{appName}/instances/{instanceId}/logs

Generates a log for an instance of an application.

Request

Path Parameters
Body ()
The request body is empty.
Root Schema : schema
Type: string
Back to Top

Response

Supported Media Types

202 Response

Accepted

409 Response

Conflict. Returned if a second log generation request is sent before the first has completed.
Back to Top

Examples

The following example shows how to create logs for an Oracle Application Cloud Service instance by submitting a POST 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 POST -u joe@example.com:Welcome1! -H "X-ID-TENANT-NAME:ExampleIdentityDomain" https://apaas.us.oraclecloud.com/paas/service/apaas/api/v1.1/apps/ExampleIdentityDomain/ExampleAppName/instances/web.1/logs

Example of Response Header

The following shows an example of the response header.

Date:Thu,16Apr201508:43:38GMT
Location:https://apaas.us.oraclecloud.com/paas/service/apaas/api/v1.1/apps/apaasmaster/ExampleAppName/opStatus/157
Retry-After:5
Service-URI:https://apaas.us.oraclecloud.com/paas/service/apaas/api/v1.1/apps/apaasmaster/ExampleAppName
Transfer-Encoding:chunked
X-Frame-Options:DENY
X-Powered-By:Servlet/2.5JSP/2.1
Back to Top