XOMNI: Experience Omni-Channel

Last Updated: February 23, 2016

The youtube video management systems provides APIs to search a particular channel in youtube.

Request

HTTP Method Resource URI
GET https://{tenantName}.api.xomni.com/private/youtube/channelsearch?channelName={channelName}&nextPageToken={nextPageToken}&take={takenumber}

URI Parameters

Parameter Name Description Type Conditions
ChannelName The name of the channel String
nextPageToken Continuation key for getting further items String
take The number of items that should be fetched from the collection. Number

Request Headers

Header Field Name Description
Accept
Includes minor version header.
Sample: application/vnd.xomni.api-v4-0, */*
Authorization
Access or identity token taken from oauth APIs.
Sample: Bearer dc8f1dcdbe454da8a25621839a93569337522968019e4bd7becd6e01285444da

Response

{
    "TotalItemCount":"10",
    "NextPageToken":"=CAAQR",
    "Items":
    [
      {
          "Id": "UC7oYHShBoL7srrAVGMXWK0A",
          "Title": "Daron Yondem",
          "Summary": "CTO @ XOMNI, Microsoft Regional Director, Windows Azure MVP, Nokia Developer Champion.",
          "Link": "https://www.youtube.com/channel/UC7oYHShBoL7srrAVGMXWK0A",
          "ChannelImage": "https://lh3.googleusercontent.com/-BD4ztjBsD28/AAAAAAAAAAI/AAAAAAAAAAA/LQ7FrFfzdP4/photo.jpg"
      },
      {
          "Id": "UCvGbOv8mWqRY7YnTrsTt0GA",
          "Title": "Daron Yöndem",
          "Summary": "",
          "Link": "https://www.youtube.com/channel/UCvGbOv8mWqRY7YnTrsTt0GA",
          "ChannelImage": "https://lh4.googleusercontent.com/-nsw1402wMdg/AAAAAAAAAAI/AAAAAAAAAAA/dyAijLkAVXg/photo.jpg"
      },
      {
          "Id": "UCSXfUQf1LVEU2aWO-435Lfg",
          "Title": "XOMNI Cloud",
          "Summary": "",
          "Link": "https://www.youtube.com/channel/UCSXfUQf1LVEU2aWO-435Lfg",
          "ChannelImage": "https://lh4.googleusercontent.com/-d5tLf58fllk/AAAAAAAAAAI/AAAAAAAAAAA/yNZaqxTVzdc/photo.jpg"
      }
    ]
}

Response Body Description

Parameter Name Description Type
TotalItemCount Total count of the items in filtered collection without paging. Number
NextPageToken Continuation key for getting further items. String
Id This is the unique ID for a channel. String
Title The title of the channel. String
Summary The summary of the channel. String
Link The public link of the channel. String
ChannelImage The profile image of the channel. String

Response Headers

Header Field Name Description
Content-Type
Content type of the response entity. The value of this header is always application/json.

Status Codes

A successful operation returns status code 200 (OK) for GET operations. Possible response status codes are as listed below:

Status Code Description
400 (Bad Request) Take parameter is malformed.
404 (Not Found) No channel found.