Channels

List all channels

Endpoint

GET /api/channels

Response

{
    "data": [
        {
            "id": 1,
            "name": "E-Mail",
            "handle": "[email protected]",
            "location": null
        },
        {
            "id": 2,
            "name": "Slack",
            "handle": "@Brian [arkx.io]",
            "location": "https://arkecosystem.slack.com/"
        }
    ],
    "links": {
        "first": "https://delegates.arkx.io/api/channels?page=1",
        "last": null,
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "path": "https://delegates.arkx.io/api/channels",
        "per_page": 15,
        "to": 2
    }
}

Retrieve a channel

Endpoint

GET /api/channels/{channel_id}

Response

{
    "data": {
        "id": 2,
        "name": "Slack",
        "handle": "@Brian [arkx.io]",
        "location": "https://arkecosystem.slack.com/"
    }
}