Retrieve video URL
The expose subresource video represents the video links to screen9 video streaming server. Links have timeout, they are not permanent.
GET /search/v1.0/expose/{expose_id}/video/{videoid}
ExposeVideo/GET
This service returns two URLs to videos, in MP4 and RTSP. The URLs are not permanent links and currently have a 36000 ms timeout. The service returns 404 Status if either the expose or the video are not available. If the Screen9 service is not available an internal server error will be returned.
https://rest.immobilienscout24.de/restapi/api/search/v1.0/expose/{expose_id}/video/{video_id}
Request
Path parameters
PARAMETER |
DESCRIPTION |
expose_id |
The Id of an expose to get the webcontent for |
video_id |
The id of video, that belongs to expose |
Response
XML:
| <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<expose:videoUrls xmlns:gis="http://rest.immobilienscout24.de/schema/platform/gis/1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:common="http://rest.immobilienscout24.de/schema/common/1.0" xmlns:offer="http://rest.immobilienscout24.de/schema/offer/realestates/1.0" xmlns:expose="http://rest.immobilienscout24.de/schema/search/expose/1.0">
<videoUrlList>
<format>h264_250+32</format>
<url>rtsp://csp.picsearch.com/1gYdua4pOuYAySrRuzsz3g/tg/tgefv9eHo154fBO3qQmZ6w/_h264_250+32</url>
</videoUrlList>
<videoUrlList>
<format>MP4</format>
<url>http://csp.picsearch.com/content?format=iphone&auth=NCXSmZTXIgRR7tuKwz9aNvibsOulBuedc2gPB_lahVFiW1V0bbvaUwjQSLMeMvJl6Qr4m0ZHQbdilaqtpIBTRjFeA52W2uwE.mp4</url>
</videoUrlList>
</expose:videoUrls>
|
JSON:
1
2
3
4
5
6
7
8
9
10
11
12 | {
"expose.videoUrls": {
"videoUrlList": [ {
"format": "h264_250+32",
"url": "rtsp://csp.picsearch.com/1gYdua4pOuYAySrRuzsz3g/tg/tgefv9eHo154fBO3qQmZ6w/_h264_250+32"
},
{
"format": "MP4",
"url": "http://csp.picsearch.com/content?format=iphone&auth=0n3ihlEK2M3xkHBGUmNnHTTxA3eCzUK3P0xilFRLjsN-HJoTjruzy5-mfaVIccgdlVP-OfhlHsGNkGCaztECddsP_T9Cc7gY.mp4"
}
] }
}
|