Discussions
Missing event payload documentation
I've set up an event subscription for one of my users, but now I can't find any documentation on what any of the fields in the event payload stand for. There are easily 50 different fields, some with the same value. Could an explanation be added to help differentiate them?
Mapping Phone number to Domain
In the V1 API I was able to do a query like this which would return information on a phone number including the domain the number was part of if the number was on the switch.
Phone Number formats
In this method post
https://{server}/ns-api/v2/domains/{domain}/phonenumbers the comments for the parm phonenumber says "This is the main phonenumber setting. Should be a formated in a e164 format with country count and number. US domestic numbers should be similiar to 18005551234".
Typo in Search Domains method parameter?
The dialled parameter is spelled with two L's. Is that right?
check-sync option on update device
In the V1 API I could send object=device, action=update, domain=, device=, check-sync=yes. This would, I believe, send a SIP INFO message to the device. I don't see an equivalent in the V2 method PUT /v2/domains//users//devices/. What value should I send in the PUT? is it still "check-sync=yes"?
What is the best practice to impliment rate limiting api calls?
As it stands now, if there is a bug in a client code or even a malicious attempt, a single client can potentially overload the API and as such the rest of the platform which we have seen in real world settings.
I cant update the auto attendant intro greeting using the api
I get a 202 accepted but its never updated
Getting Switch version
Im trying this method that is documented in the API to get the Switch version, but I get back 404, No Route Found which suggest this endpoint does not exist.
Recording API
I am building an app that uses cdr endpoint to retrieve call log, but I'd really want to know whether the calls have associated recordings or not. Currently the only way I found of how to determine, whether a call has a recording or not is to query them individually against the recording endpoint. This is inefficient if we have hundreds of calls in cdr. Is there any way of determining whether calls from cdr have recordings in batch?
Open API 3.0 schema (not 3.1)
To preface, I am already aware that there is an OpenAPI 3.1 schema here: https://docs.ns-api.com/openapi/6553f60aff055b002ad56b38