Relays
List all Relay Sessions
List all the active relay sessions.
get/v1/relays/sessions
Request
- Base URL: https://api.edgegap.com
- URL: https://api.edgegap.com/v1/relays/sessions
- Auth: API key in header authorization
Response
Success
Example response
{
"sessions": [
{
"session_id": "7349356945f1-S",
"authorization_token": 3500589645,
"status": "READY",
"error": "Session failed",
"session_users": [
{
"ip_address": "1.1.1.1",
"latitude": 45.5088,
"longitude": -73.5878,
"authorization_token": 21986334
}
],
"relay": {
"ip": "2.2.2.2",
"host": "7349356945f1.st.edgegap.net",
"ports": {
"server": {
"port": 32000,
"protocol": "UDP",
"link": "7349356945f1.st.edgegap.net:32000"
},
"client": {
"port": 32001,
"protocol": "UDP",
"link": "7349356945f1.st.edgegap.net:32001"
}
}
},
"webhook_url": "https://my-webhook.com/dump"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.