We’ve migrated our documentation to a new site, which means some URLs have changed.
Audience

/segment/group/image/read

Description

API call to retrieve segment image url.


  • The user must be authenticated and have read permissions to the segment's siteGroup.


Request

Name

Type

Required

Description

category

String

Yes

Identifier for the segment category assigned with image.

groups

Array of String

No

Identifier for the segment group assigned with image.

Response

The response array for a successful query has the following objects:

Name

Type

Description

image

String

Url of segment group image.

category

String

Segment group category of the returned image.

group

String

Segment group of the returned image.

item

String

Segment group item of the returned image.

Examples

Bash
$ python cx.py /segment/group/image/read '{"category":"Custom", "groups":["Sport", "Auto"]}'
[
{
 "image": "https://dmp-test.eu-central-1.amazonaws.com/cus/ea11a032-f0fe-11ea-adc1-0242ac120002", 
 "category":"Custom",
 "group":"Sport",
 "item":"Footbal"
},
{
 "image": "https://dmp-test.eu-central-1.amazonaws.com/cus/ea11a032-f0fe-11ea-adc1-0242ac120003", 
 "category":"Custom",
 "group":"Auto"
}
]

Last updated: