Set Server IP
Set or update a server room IP and push URL for a specific Sonoran Radio server.
Set Server IP
POST /v2/servers/:communityId/server-ip
Rate limit:
2 requests per minute
Adds or updates a room origin and push URL for the selected server.
Headers
Name
Value
Authorization
Bearer <community-api-key>
Content-Type
application/json
Examples
local response = client.radio:setServerIpV2({
communityId = "YOUR_COMMUNITY_ID",
roomId = 1,
serverPort = 30120,
pushUrl = "http://127.0.0.1:30120/sonoranradio",
nickname = "Patrol"
})const response = await instance.radio?.setServerIpV2({
communityId: "YOUR_COMMUNITY_ID",
roomId: 1,
serverPort: 30120,
pushUrl: "http://127.0.0.1:30120/sonoranradio",
nickname: "Patrol"
});response = instance.radio.setServerIpV2({
"communityId": "YOUR_COMMUNITY_ID",
"roomId": 1,
"serverPort": 30120,
"pushUrl": "http://127.0.0.1:30120/sonoranradio",
"nickname": "Patrol",
})Response
Successful requests return application/json.
Last updated
Was this helpful?

