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>"aUser=<string>&userIp=<string>
Lists segments to which the user has access.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
max-results | string | The maximum number of segments to include in this response. | |
start-index | string | An index of the first segment to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. | |
alt | string | Data format for the response. | |
fields | string | Selector specifying which fields to include in a partial response. | |
key | string | API 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_token | string | OAuth 2.0 token for the current user. | |
prettyPrint | string | Returns response with indentations and line breaks. | |
quotaUser | string | An opaque string that represents a user for quota purposes. Must not exceed 40 characters. | |
userIp | string | Deprecated. Please use quotaUser instead. |
RESPONSES
status: OK
{"items":[{"created":"1995-01-08T02:36:11.087Z","definition":"id enim reprehenderit Ut","id":"occaecat cillum sunt","kind":"analytics#segment","name":"ulla","segmentId":"in ut ut non","selfLink":"sint incididunt amet aute","type":"ut in incididunt","updated":"1995-05-18T01:34:08.443Z"},{"created":"1981-04-03T04:16:00.150Z","definition":"labore velit occaecat ea","id":"in tempor","kind":"analytics#segment","name":"esse tempor deserunt eiusmod","segmentId":"velit sunt dolor","selfLink":"nostrud minim","type":"pariatur est nisi consequat aliquip","updated":"1953-12-31T07:25:09.843Z"}],"itemsPerPage":-86165235,"kind":"analytics#segments","nextLink":"irure eu quis","previousLink":"Ut occaecat aliquip proident","startIndex":98846691,"totalResults":-10298037,"username":"in sed"}