Expose API

ExposeVideo

The expose subresource video represents getting the video links to screen9 video streaming server. Links have timeout, they are not permanent.

https://rest.immobilienscout24.de/restapi/api/search/v1.0/expose/{expose_id}/video/{videoid}

 

Supported methods

ExposeVideo/GET

This service returns two urls to videos, in MP4 and RTSP. The urls are not permanent links, currently 36000 ms timeout. The service return 404 Status if either expose is not available or the video is not available. If the Screen9 service is not availble, internal server error will be returned.


https://rest.immobilienscout24.de/restapi/api/search/v1.0/expose/{expose_id}/video/{video_id}

Supported media types

  • XML (Accept: application/xml)
  • JSON (Accept: application/json)

Authorization requirements

At least a System Key is required for this operation. See Authentication via Two-legged OAuth for further details.

Request

Path Parameters

expose_id

     The Id of an expose to get the webcontent for.

video_id

     The id of video, that belongs to expose.

Query Parameters

  • None

Response

The following section includes the HTTP status code, a short description and examples for the response body content of a successful processed request.
Error responses as well as other simple message responses are described in detail within the common message responses.

Status 200 OK

The requested operation was successful.

Header

No special headers.

Body

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&amp;auth=NCXSmZTXIgRR7tuKwz9aNvibsOulBuedc2gPB_lahVFiW1V0bbvaUwjQSLMeMvJl6Qr4m0ZHQbdilaqtpIBTRjFeA52W2uwE.mp4</url>

</videoUrlList>

</expose:videoUrls>

 

 

 

JSON

 

 

{

"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"

}

] }

}