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.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using WebService.ClientServiceModel.ResourceModels;

namespace WebService.ClientServiceModel.ResourceModels
{
    public partial class GetVideo
    {
        [ApiMember(DataType="int", IsRequired=true)]
        public virtual int Id { get; set; }

        ///<summary>
        ///Enable this to provide chunking of video data.
        ///</summary>
        [ApiMember(Description="Enable this to provide chunking of video data.")]
        public virtual bool Stream { get; set; }

        ///<summary>
        ///Request a video by it's filename.
        ///</summary>
        [ApiMember(Description="Request a video by it's filename.")]
        public virtual string FileName { get; set; }
    }

}

C# GetVideo DTOs

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

HTTP + XML

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: application/xml