Jump to content
Not connected, Your IP: 18.223.106.100
Sign in to follow this  
cheapsheep

ANSWERED AirVPN - API values (speed_read / speed_write)

Recommended Posts

Hi all,

is there any documentation about the API?
Specifically, i need to know what base unit is being used for the read and write speed, because the interface and api values do not match.

@Staff I thought the API returns Bytes?

image.png.495bddf33d3565515935b8bf94a705d2.png

Thanks

Share this post


Link to post
5 hours ago, Staff said:

Hello!

Brief documentation is here:
https://airvpn.org/faq/api/

Yes, in the returned sessions array speed_read and speed_write are in bytes per second.

Kind regards


 


How come the values do not match. As far as i understand the API should return what is also shown on the "Your VPN Sessions" page as "Current speed:" - at least approximately.
If so, the API should have returned ~56.000k bytes as download instead of 870k bytes.

Am i misunderstanding something?

Share this post


Link to post
@cheapsheep

Hello!

Bugs were found and fixed. Can you please try again and check whether the problem is resolved?

Also, to clarify:
speed_read (read bytes per second from client to server, upload for client)
speed_write (written bytes per second from server to client, download for client)

Last but not least, Eddie reports amounts in (multiples of) bit/s while the API in B/s.

Kind regards
 

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...