Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Latest commit

 

History

History
34 lines (24 loc) · 1.09 KB

add-channel-to-user-list.md

File metadata and controls

34 lines (24 loc) · 1.09 KB

Add Channel to User List

Adds the channel back to the user's list of channels.

HTTP MethodURLRequires Auth
POST/api/v1/channels.openyes

Body Parameters

KeyExample ValueDescription
roomId*ByehQjC44FwMeiLbXThe channel ID.

Example Call

curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
     -H "X-User-Id: aobEdbYhXfu5hkeqG" \
     -H "Content-type: application/json" \
     https://localhost:3000/api/v1/channels.open \
     -d '{ 
          "roomId": "ByehQjC44FwMeiLbX" }'

Example Result

{
   "success": true
}

Change Log

Version Description
0.48.0 Added