analytics.management.custom Metrics.list

GET {{baseUrl}}/management/accounts/:accountId/webproperties/:webPropertyId/customMetrics?max-results=<integer>&start-index=<integer>&alt=<string>&fields=<string>&key=<string>&oauth_token=<string>&prettyPrint=<boolean>&quotaUser=<string>&userIp=<string>

Lists custom metrics to which the user has access.

Request Params

KeyDatatypeRequiredDescription
max-resultsstringThe maximum number of custom metrics to include in this response.
start-indexstringAn index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
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;items&quot;:[{&quot;accountId&quot;:&quot;incididunt&quot;,&quot;active&quot;:false,&quot;created&quot;:&quot;1945-11-21T12:03:30.916Z&quot;,&quot;id&quot;:&quot;officia Lorem consequat anim&quot;,&quot;index&quot;:-93202731,&quot;kind&quot;:&quot;analytics#customMetric&quot;,&quot;max_value&quot;:&quot;aliquip&quot;,&quot;min_value&quot;:&quot;in id Excepteur mollit ut&quot;,&quot;name&quot;:&quot;occaecat labore id&quot;,&quot;parentLink&quot;:{&quot;href&quot;:&quot;Excepteur &quot;,&quot;type&quot;:&quot;analytics#webproperty&quot;},&quot;scope&quot;:&quot;consectetur id&quot;,&quot;selfLink&quot;:&quot;anim voluptate ame&quot;,&quot;type&quot;:&quot;do&quot;,&quot;updated&quot;:&quot;1954-09-14T08:40:23.372Z&quot;,&quot;webPropertyId&quot;:&quot;Ut in exercitation&quot;},{&quot;accountId&quot;:&quot;minim non ullamco enim deserunt&quot;,&quot;active&quot;:true,&quot;created&quot;:&quot;1981-10-28T23:52:20.060Z&quot;,&quot;id&quot;:&quot;voluptate&quot;,&quot;index&quot;:92867764,&quot;kind&quot;:&quot;analytics#customMetric&quot;,&quot;max_value&quot;:&quot;nulla eu consectetur Ut&quot;,&quot;min_value&quot;:&quot;aute nulla in sit&quot;,&quot;name&quot;:&quot;adipisicing nostrud dolor&quot;,&quot;parentLink&quot;:{&quot;href&quot;:&quot;officia occaecat aliqua&quot;,&quot;type&quot;:&quot;analytics#webproperty&quot;},&quot;scope&quot;:&quot;in tempor labore eiusmod aliquip&quot;,&quot;selfLink&quot;:&quot;Ut sint&quot;,&quot;type&quot;:&quot;labore sint fugiat&quot;,&quot;updated&quot;:&quot;1987-01-31T06:37:57.064Z&quot;,&quot;webPropertyId&quot;:&quot;sunt culpa&quot;}],&quot;itemsPerPage&quot;:22740955,&quot;kind&quot;:&quot;analytics#customMetrics&quot;,&quot;nextLink&quot;:&quot;amet sunt aliquip consectetur id&quot;,&quot;previousLink&quot;:&quot;anim cupi&quot;,&quot;startIndex&quot;:-28429458,&quot;totalResults&quot;:9738868,&quot;username&quot;:&quot;dolore Excepteur velit&quot;}