My Oracle Support Banner

Correct END POINT for MONITORING Cloud Account (Doc ID 2567584.1)

Last updated on JULY 30, 2019

Applies to:

Identity Cloud Service (IDCS) - Version N/A and later
Information in this document applies to any platform.

Goal

In order to get metric types, the syntax provided is
https://docs.oracle.com/en/cloud/get-started/subscriptions-cloud/ramoc/rest-endpoints.html
-----------
Retrieve Details of All Available Metric Types
Method: GET
Path: /monitoring/monitoring/{idDomainName}/.customer/api/v1/metricTypes
-----------
But the example shows:
https://docs.oracle.com/en/cloud/get-started/subscriptions-cloud/ramoc/op-monitoring-iddomainname-customer-api-v1-metrictypes-get.html
-----------
curl -X GET -H "Authorization: Basic d2VibG9naWM6V2VsY29tZTE=" -H "X-ID-TENANT-NAME:mydomain" https://monitoring.us.oraclecloud.com/monitoring/mydomain/.customer/api/v1/metricTypes
-----------

What is the correct syntax?
monitoring/mydomain/.customer/api/v1/metricTypes
or
monitoring/monitoring/mydomain/.customer/api/v1/metricTypes

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.