I am running docker-jitsi-meet and have enabled JVB_ENABLE_APIS=rest,colibri
.
I am able to create conference by POST /colibri/conferences
with {}
data. But when I try GET /colibri/conferences
it returns created conferences for few seconds only, after some time it returns empty data. Same with GET /colibri/conferences{id}
API it will return Error 404 Not Found after few minutes.
According to this doc https://github.com/jitsi/jitsi-videobridge/blob/master/doc/rest-colibri.md
If I POST /colibri/conferences
with
{
"contents" :
[
{
"name" : "audio",
"channels" : [ { "expire" : 60 } ]
},
{
"name" : "video",
"channels" : [ { "expire" : 60 } ]
}
]
}
it returns Error 400 Failed to create conference: Channel creation requested without endpoint ID.
Need help with GET and POST /colibri/conferences API
3 Likes
Well, documentation is very poor and i faced the same issue⌠with some trial an error this worked for me.
curl -X POST -d â{âcontentsâ:[{ânameâ:âaudioâ,âchannelsâ:[{âendpointâ: âxxxxâ, âchannel-bundle-idâ: âxxxxâ, âexpireâ:60}]},{âendpointâ: âxxxxâ,âchannel-bundle-idâ: âxxxxâ, ânameâ:âvideoâ,âchannelsâ:[{âendpointâ: âxxxxâ,âchannel-bundle-idâ: âxxxxâ, âexpireâ:60}]}]}â -H âContent-Type: application/jsonâ http://xxx.xxx.xxx.xxx:8080/colibri/conferences
1 Like
@Prasun_Bheri I tried curl 127.0.0.1:8080/colibri/conferences -X GET -v
and it return empty []
. Same with curl 127.0.0.1:8080/colibri/conferences/{id} -X GET -v
.
JVB logs
May 04, 2020 7:10:28 PM org.jitsi.utils.logging2.LoggerImpl log
INFO: create_conf, id=d5586093b39de6aa gid=null logging=false
about/health
and /colibri/stats
APIâs are working fine.
Please help
1 Like
@damencho Do you think we have some updated documentation for this?
Hi. What i should send in endpoint and channel-bundle-id?
Someone who can shed some knowlege on these questions ⌠stuck with the same problems now !