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 |
|---|---|---|---|
|
|
String |
Yes |
Identifier for the segment category assigned with image. |
|
|
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 |
|---|---|---|
|
|
String |
Url of segment group image. |
|
|
String |
Segment group category of the returned image. |
|
|
String |
Segment group of the returned image. |
|
|
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"
}
]