Cognitives

Cognitives.io Documentation

Welcome to the Cognitives developer hub. You'll find comprehensive guides and documentation to help you start working with Cognitives as quickly as possible, as well as support if you get stuck. Let's jump right in!

_Channel.getChannel()

Function to get the channel details.

{% set channel = _Channel.getChannel() %}

Example Response

{
   "title":"Cognitives",
   "baseDomain":"cognitives.com.au",
   "media":{
      "icon":{
         "id":"wswtmtrx4bqnsqf41h7u",
         "cloudName":"cognitives",
         "path":"http://res.cloudinary.com/cognitives/image/upload/v1468930494/wswtmtrx4bqnsqf41h7u.png"
      },
      "logo":{
         "id":"h7rnco2pcdwiluqavxa9",
         "cloudName":"cognitives",
         "path":"http://res.cloudinary.com/cognitives/image/upload/v1468930492/h7rnco2pcdwiluqavxa9.png"
      }
   }
}

Response Description

Attribute
Description

title

Channel title

baseDomain

Channel domain

Channel Media

Attribute
Description

Media Details

id

Cloudinary Media cloud id

cloudName

Cloudinary Cloud name

path

Cloudinary Media cloud path

_Channel.getChannel()