GalaxyMobile Client API

<back to all web services

GetVideo

The following routes are available for this service:
GET/videoReturns the specified video based on the Id.
GET/video/{id}Returns the specified video based on the Id.
import Foundation
import ServiceStack

public class GetVideo : Codable
{
    // @ApiMember(DataType="int", IsRequired=true)
    public var id:Int

    /**
    * Enable this to provide chunking of video data.
    */
    // @ApiMember(Description="Enable this to provide chunking of video data.")
    public var stream:Bool

    /**
    * Request a video by it's filename.
    */
    // @ApiMember(Description="Request a video by it's filename.")
    public var fileName:String

    required public init(){}
}


Swift GetVideo DTOs

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

HTTP + OTHER

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/jsonl