List All channels
Returns a list of all Channels in Rev. Includes the Channel members and specifies the type of member they are (user or group) along with their Channel role (Channel Admin, Channel Contributor, or Channel Member).
Path Parameters
| Parameter | Type | Validations |
|---|---|---|
| size | string, optional | Number of Channels to return per page. The default is 10. |
| page | string, optional | Zero-based index of the page. This means that page number will start from 0 and contain first set of 10 Channels while Page 1 will contain the next set of 10 Channels, etc. |
Request Body
REQUEST: Get Channels
curl -X GET 'https://REVURL- MY.portal.vbrick.com/api/v2/channels?size=1000' -H 'Authorization: VBrick yqKjMfp2g7fEdy_i8G1FO4JNx2gO9CjXMzBvQXcNVzvZ1kCTsVQR_VoYUQipUdYn0rGiIrFPffxfPIwbAJWlxKJHLa9rS3yiWGTCJ_UCqRysuSGjVbqh8wmKsApBxN9zr4e1lhZqTOM-pJ-dVFcetA2' -H 'Cache-Control: no-cache' -H 'Postman-Token: 82bb6c97-a5d1-4c66-a6db-27172c09f9cf'
Response Messages
Successful response
[
{
"id": "a905511b-c684-4166-9cf3-d9ef4ca97425",
"name": "Development Channel",
"description": "Channel for sharing information with the Development Team.",
"members": [
{
"id": "ea9dd7f1-9690-4133-9f47-5c965f4b6221",
"type": "User",
"roleTypes": [
"Admin"
]
},
{
"id": "bf762e1d-4d07-40ab-a48c-4c29574da0f5",
"type": "User",
"roleTypes": [
"Contributor"
]
},
{
"id": "11027324-6885-4a9e-b899-e096d8efb01d",
"type": "User",
"roleTypes": [
"Member"
]
},
{
"id": "4dbe2fea-47b6-42c8-9892-d4131024cc55",
"type": "Group",
"roleTypes": [
"Member"
]
}
]
}
]
Unauthorized error
Internal server error