TBS Apps API

<back to all web services

LiveStreamRequest

Requires Authentication
The following routes are available for this service:
POST/LiveStreamGet Live Stream UrlGet Live Stream Url
LiveStreamRequest Parameters:
NameParameterData TypeRequiredDescription
ProviderbodystringNoProvider name
LiveStreamResponse Parameters:
NameParameterData TypeRequiredDescription
StreamsformList<LiveStreamInfo>No
ResponseDataBase Parameters:
NameParameterData TypeRequiredDescription
ErrorNoformintNo
MessageformstringNo
Identityformlong?No
LiveStreamInfo Parameters:
NameParameterData TypeRequiredDescription
ChannelformstringNo
UrlformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /LiveStream HTTP/1.1 
Host: tstextweb20.np.bluebet.com.au 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Provider: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Streams: 
	[
		{
			Channel: String,
			Url: String
		}
	],
	ErrorNo: 0,
	Message: String,
	Identity: 0
}