| GET | /video | Returns the specified video based on the Id. | |
|---|---|---|---|
| GET | /video/{id} | Returns the specified video based on the Id. |
import java.math.*
import java.util.*
import net.servicestack.client.*
open class GetVideo
{
@ApiMember(DataType="int", IsRequired=true)
var Id:Int? = null
/**
* Enable this to provide chunking of video data.
*/
@ApiMember(Description="Enable this to provide chunking of video data.")
var Stream:Boolean? = null
/**
* Request a video by it's filename.
*/
@ApiMember(Description="Request a video by it's filename.")
var FileName:String? = null
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /video HTTP/1.1 Host: galaxymobile.api.client.prod.86degrees.com Accept: text/csv