|
|
@ -13,6 +13,32 @@ API or there was a problem while JSON encoding. |
|
|
|
|
|
|
|
|
|
|
|
Available end points with request methods and content-type: |
|
|
|
Available end points with request methods and content-type: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/api/v1/config |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The config end points returns the server configuration. As it is available |
|
|
|
|
|
|
|
to the Web client. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GET application/x-www-form-urlencoded |
|
|
|
|
|
|
|
No parameters. |
|
|
|
|
|
|
|
Response 200: |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
"Title": "Spreed WebRTC", |
|
|
|
|
|
|
|
"S": "static/ver=1399302670", |
|
|
|
|
|
|
|
"B": "/", |
|
|
|
|
|
|
|
"Token": "i-did-not-change-the-public-token-boo", |
|
|
|
|
|
|
|
"StunURIs": [], |
|
|
|
|
|
|
|
"TurnURIs": [ |
|
|
|
|
|
|
|
"turn:myturnserver:443?transport=udp", |
|
|
|
|
|
|
|
"turn:myturnserver:443?transport=tcp" |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
"Tokens": false, |
|
|
|
|
|
|
|
"Version": "0.17.5", |
|
|
|
|
|
|
|
"UsersEnabled": true, |
|
|
|
|
|
|
|
"UsersAllowRegistration": true, |
|
|
|
|
|
|
|
"UsersMode": "certificate", |
|
|
|
|
|
|
|
"Plugin": "" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/api/v1/tokens |
|
|
|
/api/v1/tokens |
|
|
|
|
|
|
|
|
|
|
@ -53,7 +79,8 @@ Available end points with request methods and content-type: |
|
|
|
|
|
|
|
|
|
|
|
/api/v1/sessions/{id}/ |
|
|
|
/api/v1/sessions/{id}/ |
|
|
|
|
|
|
|
|
|
|
|
A session id is passed in as subpath. Make sure to add the trailing slash (/). |
|
|
|
A session id is passed in as subpath. Make sure to add the trailing |
|
|
|
|
|
|
|
slash (/). |
|
|
|
|
|
|
|
|
|
|
|
PATCH application/json |
|
|
|
PATCH application/json |
|
|
|
{ |
|
|
|
{ |
|
|
|