analytics.management.segments.list

GET {{baseUrl}}/management/segments?max-results=<integer>&start-index=<integer>&alt=<string>&fields=<string>&key=<string>&oauth_token=<string>&prettyPrint=<boolean>&quotaUser=<string>&userIp=<string>

Lists segments to which the user has access.

Request Params

KeyDatatypeRequiredDescription
max-resultsstringThe maximum number of segments to include in this response.
start-indexstringAn index of the first segment 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;created&quot;:&quot;1995-01-08T02:36:11.087Z&quot;,&quot;definition&quot;:&quot;id enim reprehenderit Ut&quot;,&quot;id&quot;:&quot;occaecat cillum sunt&quot;,&quot;kind&quot;:&quot;analytics#segment&quot;,&quot;name&quot;:&quot;ulla&quot;,&quot;segmentId&quot;:&quot;in ut ut non&quot;,&quot;selfLink&quot;:&quot;sint incididunt amet aute&quot;,&quot;type&quot;:&quot;ut in incididunt&quot;,&quot;updated&quot;:&quot;1995-05-18T01:34:08.443Z&quot;},{&quot;created&quot;:&quot;1981-04-03T04:16:00.150Z&quot;,&quot;definition&quot;:&quot;labore velit occaecat ea&quot;,&quot;id&quot;:&quot;in tempor&quot;,&quot;kind&quot;:&quot;analytics#segment&quot;,&quot;name&quot;:&quot;esse tempor deserunt eiusmod&quot;,&quot;segmentId&quot;:&quot;velit sunt dolor&quot;,&quot;selfLink&quot;:&quot;nostrud minim&quot;,&quot;type&quot;:&quot;pariatur est nisi consequat aliquip&quot;,&quot;updated&quot;:&quot;1953-12-31T07:25:09.843Z&quot;}],&quot;itemsPerPage&quot;:-86165235,&quot;kind&quot;:&quot;analytics#segments&quot;,&quot;nextLink&quot;:&quot;irure eu quis&quot;,&quot;previousLink&quot;:&quot;Ut occaecat aliquip proident&quot;,&quot;startIndex&quot;:98846691,&quot;totalResults&quot;:-10298037,&quot;username&quot;:&quot;in sed&quot;}