API call to retrieve segment image.
The user must be authenticated and have read permissions to the siteGroup.
Request
The request object has the following fields:
|
Name |
Type |
Required |
Description |
|---|---|---|---|
|
|
String |
Yes |
Site group related to the requested segment. |
|
|
String |
Yes |
Segment ids requested segment images. |
The read request will return all segment images specified in request.
Response
An segment image object has the following fields:
|
Name |
Type |
Description |
|---|---|---|
|
|
String |
The identifier for the segment |
|
|
String |
Public url of the uploaded image |
Examples
Bash
$ python cx.py /segment/image/read '{"siteGroupId":"1135172335968227720", "segmentId":"8nop087ng0iq"}'
{
"segmentId": "8nop087ng0iq",
"image": "https://dmp-test.eu-central-1.amazonaws.com/cus/ea11a032-f0fe-11ea-adc1-0242ac120002",
}