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:
ogapiInternalOpenGateAPI - Reference to the API object.
findByDomainAndWorkgroup
function findByDomainAndWorkgroup(domain: string,workgroup: string) -> 'Promise'Performs a get that returns channels related
Arguments:
domainstring - domainworkgroupstring - workgroup.
Returns:
Promise
findByDomainAndWorkgroupAndOrganization
function findByDomainAndWorkgroupAndOrganization(domain: string,workgroup: string,organization: string) -> 'Promise'Performs a get that returns channels related
Arguments:
domainstring - domainworkgroupstring - workgroup.organizationstring - 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:
organizationstring - channel organization .namestring - channel name.
Returns:
Promise