Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Channel Functions

FunctionUse
channelList a set of channels depending on what parameters are past.
channelAttributesLists a channels attributes
channelPolicyLists a channels policy
channelTypeLists a channels type

...

On success

keyvalue
channels

[{

"last_active":<number>,

"policy":<null>, //not implemented yet


"name":<string>,


"type":<string>,


"cid"(will be eci soon):<eci as string>,


"attributes":{


"channel_attributes":<string>

},

},..{}n]

 

uses example
Code Block
languagejavascript
themeConfluence
response = v1_wrangler:channel("flipper"null,null,null){"channels"}; // all channels
response = v1_wrangler:channel("flipper",null,null){"channels"}; // single "flipper" channel
response = v1_wrangler:channel(null,"type",null){"channels"}; // collection of channels by type
response = v1_wrangler:channel(null,"type","OAUTH"){"channels"}; // collection of channels with "OAUTH" as type 

...