Versions Compared

Key

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

1. Create

POST api/v1/channels/

Create a channel

...

Code Block
{
    "data": {
        "id": "89cab0f6-47a8-4335-b217-7ec39cfcf65f"
    },
    "msg": null,
    "status": "successful"
}


2. List

GET api/v1/channels/

List channel which the organizaion_id

...

Code Block
{
    "data": {
        "total": 1,
        "data": [
            {
                "id": "89cab0f6-47a8-4335-b217-7ec39cfcf65f",
                "name": "channel1",
                "network": {
                    "id": "bfb3484d-dc5c-4cc4-8be0-0251eefd2c57",
                    "name": "test1"
                },
                "organizations": [
                    {
                        "id": "76ebf68b-019f-45ff-abef-67e3a3d1752f",
                        "name": "org1.cello.com"
                    }
                ],
                "create_ts": "2021-12-10T05:52:30.931971Z"
            }
        ]
    },
    "msg": null,
    "status": "successful"
}


3. Retrieve

GET api/v1/channels/{id}/

Get info of the channel

...