Sessions
Active sessions with summary
curl http://127.0.0.1:8080/api/v3/session?collectors=hls,rtmp \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-X GETfrom core_client import Client
client = Client(
base_url="http://127.0.0.1:8080"
)
client.login()
core_sessions = client.v3_session_get(
collectors="hls,rtmp"
)
print(core_sessions)import (
"fmt"
"github.com/datarhei/core-client-go/v16"
)
client, _ := coreclient.New(coreclient.Config{
Address: "https://127.0.0.1:8080",
})
sessions, err := client.Sessions([]string{"hls", "rtmp"})
fmt.Printf("%+v\n", sessions)Get a summary of all active and past sessions of the given collector.
Authorizations
AuthorizationstringRequired
Query parameters
collectorsstringOptional
Comma separated list of collectors
Responses
200
Sessions summary
application/json
get
/api/v3/session200
Sessions summary
Active sessions
Get a minimal summary of all active sessions (i.e. number of sessions, bandwidth).
Authorizations
AuthorizationstringRequired
Query parameters
collectorsstringOptional
Comma separated list of collectors
Responses
200
Active sessions listing
application/json
get
/api/v3/session/active200
Active sessions listing
Last updated
Was this helpful?
