-
Notifications
You must be signed in to change notification settings - Fork 52
API Endpoints
holema edited this page Jan 19, 2021
·
4 revisions
Mit der API ist es möglich Konferenzen durch eine andere Anwendung erzeugen zu lassen.
Es muss in die Datenbank ap_key manuel eine client_iD und ein client_secret eingeben werden. Bei jedem request an die API muss der der API Secret über den parameter clientSecret mitgegeben werden. Es sollten nur Zugriffe von einem Backend-Server auf den Jitsi-Admin durchgeführt werden.
http://localhost:8000/api/v1/57d4d52d3c1f38c28e9f101f031a631f
{
"error": false,
"teilnehmer": [
"[email protected]"
],
"start": "2021-02-02CET13:00:00",
"end": "2021-02-02CET13:45:00",
"duration": 45,
"name": "testAPINEW",
"moderator": "[email protected]",
"server": "serverurl",
"joinBrowser": "http://localhost:8000/room/join/b/84",
"joinApp": "http://localhost:8000/room/join/a/84"
}
http://localhost:8000/api/v1/room
[email protected]
&name=testAPINEW
&duration=70
&server=serverURL
&start=2021-02-01T13:00
&clientSecret=secret
&keycloakId=id des Users
{
"error": false,
"uid": "57d4d52d3c1f38c28e9f101f031a631f",
"text": "Meeting erfolgreich angelegt"
}
http://localhost:8000/api/v1/room
?name=testAPINEW
&duration=45
&server=serverURL
&start=2021-02-02T13:00
&clientSecret=secret
&uid=57d4d52d3c1f38c28e9f101f031a631f
{
"error": false,
"uid": "57d4d52d3c1f38c28e9f101f031a631f",
"text": "Meeting erfolgreich geändert"
}
http://localhost:8000/api/v1/room
?uid=57d4d52d3c1f38c28e9f101f031a631f
&clientSecret=secret
{
"error": false,
"text": "Erfolgreich gelöscht"
}
http://localhost:8000/api/v1/user
?uid=57d4d52d3c1f38c28e9f101f031a631f
&[email protected]
&clientSecret=secret
{
"uid": "57d4d52d3c1f38c28e9f101f031a631f",
"user": "[email protected]",
"error": false,
"text": "Teilnehmer [email protected] erfolgreich hinzugefügt"
}
http://localhost:8000/api/v1/user
?uid=57d4d52d3c1f38c28e9f101f031a631f
&[email protected]
&clientSecret=secret
{
"uid": "57d4d52d3c1f38c28e9f101f031a631f",
"user": "[email protected]",
"error": false,
"text": "Teilnehmer [email protected] erfolgreich gelöscht"
}
http://localhost:8000/api/v1/serverInfo
[email protected]
&keycloakId=id
&clientSecret=secret
{
"server": [
"url1",
"url2",
"url3"
],
"email": "[email protected]",
"error": false
}