Channel Finder

ChannelFinder

ChannelFinder Objects

class ChannelFinder()

This class allow make get request to channel resource into Opengate North API.

constructor
function constructor()

Constructor

Arguments:

  • ogapi InternalOpenGateAPI - Reference to the API object.

findByDomainAndWorkgroup
function findByDomainAndWorkgroup(domain: string,workgroup: string) -> 'Promise'

Performs a get that returns channels related

Arguments:

  • domain string - domain
  • workgroup string - workgroup.

Returns:

  • Promise

findByDomainAndWorkgroupAndOrganization
function findByDomainAndWorkgroupAndOrganization(domain: string,workgroup: string,organization: string) -> 'Promise'

Performs a get that returns channels related

Arguments:

  • domain string - domain
  • workgroup string - workgroup.
  • organization string - organization.

Returns:

  • Promise

findByOrganizationAndName
function findByOrganizationAndName(organization: string,name: string) -> 'Promise'

Download a specific channel by its organization and id. This execute a GET http method

Arguments:

  • organization string - channel organization .
  • name string - channel name.

Returns:

  • Promise