Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Info
titleComments

Create an organization for documentation by being precise with headings and using the child display macro to see it at the start of the page. I've added it below. Note that it's not very helpful because the structure of the page isn't very precise.

Child pages (Children Display)
alltrue

 

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

All channel functions return an object with a status and an return object. Documentation will referance the return object only.

Channel Actions

Event DomainEvent TypeActionsUse
wranglerchannel_creation_requested

createChannel

Creates a new channel
wranglerchannel_deletion_requesteddeleteChannelDeletes a channel
wranglerupdate_channel_attributes_requestedupdateAttributesUpdates a channel attributes
wranglerupdate_channel_policy_requestedupdatePolicyUpdates a channel policy
wranglerupdate_channel_type_requestedupdateTypeUpdates a channel 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(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 

...