Issue with colibri conference REST API

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

4 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?