Voice

Update the calling voice server

Changed on

Changes the endpoint, draining flag, coordinates or soft connection limit of the voice server that signed the request. A new endpoint is checked before it is saved. Send Authorization: Bearer with an HS256 JWT signed with the API secret of the server, with iss set to its API key, aud set to fluxer-voice-node, method and path of the request, an exp at most 5 minutes ahead and sha256 holding the base64 SHA-256 of the body, or an empty string for a request without a body.

patch/voice/node

Request

  • Base URL
    https://web.fluxer.app/api/v1
  • Auth
    none required

Request body

endpointstring uri

New public wss endpoint

drainingboolean

Whether placement sends new calls elsewhere

latitudenumber nullable
longitudenumber nullable
soft_connection_limitinteger nullable

Response

Success

region_idstring required

Region of the server

server_idstring required

ID of the server

endpointstring required

Endpoint of the server

latitudenumber nullable required

Server latitude

longitudenumber nullable required

Server longitude

is_activeboolean required

Whether an admin keeps the server turned on

drainingboolean required

Whether placement sends new calls elsewhere

soft_connection_limitnumber nullable required

Soft connection limit, or null

public_ipv4string nullable required

Public IPv4 address the server last reported, or null

public_ipv6string nullable required

Public IPv6 address the server last reported, or null

featuresstring[] required

What this API supports for voice servers. server_addresses means it accepts public_ipv4 and public_ipv6 in updates

Changes

    • info

      added the new optional request property public_ipv4

    • info

      added the new optional request property public_ipv6

    • info

      added the required property features to the response with the status

    3 more changes in this revision