Notify agents with new configuration

post

/serviceapi/apm.dataserver/api/v1/services/appservers/notify

Configure APM Agent

Request

Supported Media Types
Body ()
Root Schema : JSONObject
Type: object
Back to Top

Response

Supported Media Types

201 Response

Application created successfully. See Status Codes for special HTTP response status codes for operations on Applications.
Back to Top

Examples

This example configure APM agent Deepdive log level using appServerVersionKeys. Inputs to this Api are 'configuration' and 'appServerVersionKeys/agentIdentityKeys' JSON arrays. You can also pass optional 'appServerNames' array for better error reporting) (see Notify agents with new configuration or similar). For information about the returned links array see Links to Related Resources.

cURL Command

curl -i -X POST -H "Content-type:application/json" -H "X-USER-IDENTITY-DOMAIN-NAME: emaastesttenant1" -u 'emaastesttenant1.emcsadmin:myPassword' 'https://slc02ovb.us.oracle.com:4443/serviceapi/apm.dataserverslc12afr/api/v1/appservers/notify' -d '{ "appServerVersionKeys":["B4DD24BDF62C0C213BAB82882F2A3D7B65ECCCCD"], "configuration":[{"type":"trace","loggerSettings": [{"area":"DEEPDIVE","level":"INFO"} ]}]}'

JSON Response Body

HTTP/1.1 201 Created Date: Wed, 01 Feb 2017 10:38:44 GMT X-Frame-Options: SAMEORIGIN Content-Length: 0 Content-Type: application/json X-ORACLE-DMS-ECID: 005HrMbABRZBHB85RjL6id000HmS000137 APIGW: true Cache-Control: no-cache,no-store Content-Language: en

Back to Top