analytics.management.custom Metrics.get

GET {{baseUrl}}/management/accounts/:accountId/webproperties/:webPropertyId/customMetrics/:customMetricId?alt=<string>&fields=<string>&key=<string>&oauth_token=<string>&prettyPrint=<boolean>&quotaUser=<string>&userIp=<string>

Get a custom metric to which the user has access.

Request Params

KeyDatatypeRequiredDescription
altstringData format for the response.
fieldsstringSelector specifying which fields to include in a partial response.
keystringAPI key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
oauth_tokenstringOAuth 2.0 token for the current user.
prettyPrintstringReturns response with indentations and line breaks.
quotaUserstringAn opaque string that represents a user for quota purposes. Must not exceed 40 characters.
userIpstringDeprecated. Please use quotaUser instead.

RESPONSES

status: OK

{&quot;accountId&quot;:&quot;\u003cstring\u003e&quot;,&quot;active&quot;:&quot;\u003cboolean\u003e&quot;,&quot;created&quot;:&quot;1957-12-12T23:34:50.176Z&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;index&quot;:-27884243,&quot;kind&quot;:&quot;analytics#customMetric&quot;,&quot;max_value&quot;:&quot;\u003cstring\u003e&quot;,&quot;min_value&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;parentLink&quot;:{&quot;href&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:&quot;analytics#webproperty&quot;},&quot;scope&quot;:&quot;\u003cstring\u003e&quot;,&quot;selfLink&quot;:&quot;laborum labore enim ex amet&quot;,&quot;type&quot;:&quot;\u003cstring\u003e&quot;,&quot;updated&quot;:&quot;1975-09-12T02:47:05.399Z&quot;,&quot;webPropertyId&quot;:&quot;\u003cstring\u003e&quot;}