From 490ad6d61456b288b5ab7925f84ebf016fb9f165 Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Fri, 20 Dec 2024 21:24:18 +0100 Subject: [PATCH] [mirotalksfu] - update readme --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 387bd999..4f937d50 100644 --- a/README.md +++ b/README.md @@ -271,6 +271,9 @@ $ docker-compose down - `Rest API:` The [API documentation](https://docs.mirotalk.com/mirotalk-sfu/api/) uses [swagger](https://swagger.io/) at https://localhost:3010/api/v1/docs or check it on live [here](https://sfu.mirotalk.com/api/v1/docs). ```bash +# The response will give you the total of rooms and users. +$ curl -X GET "http://localhost:3010/api/v1/stats" -H "authorization: mirotalksfu_default_secret" -H "Content-Type: application/json" +$ curl -X GET "https://sfu.mirotalk.com/api/v1/stats" -H "authorization: mirotalksfu_default_secret" -H "Content-Type: application/json" # The response will give you the active meetings (default disabled). $ curl -X GET "http://localhost:3010/api/v1/meetings" -H "authorization: mirotalksfu_default_secret" -H "Content-Type: application/json" $ curl -X GET "https://sfu.mirotalk.com/api/v1/meetings" -H "authorization: mirotalksfu_default_secret" -H "Content-Type: application/json"