13 Commits

Author SHA1 Message Date
Alireza Ahmadi
b6252151f4 go package correction 2025-09-18 22:33:02 +02:00
Alireza Ahmadi
d7fd3e2109 [api] add server endpoint #1590 2025-09-17 23:23:16 +02:00
Hassan Ali Gilani
f5ce84ae68 Add getClientTrafficsById (#1347)
* Add getClientTrafficsById
Ability for API to get traffics by uuid

* bugfix GetClientTrafficByID

* bugfix
GetClientTrafficByID

* Update
GetClientTrafficByID function by Alireza0 Recomendation

* update
Replace Logger Warning with Debug for GetClientTrafficByID

* Fix: return empty array instead of error in case of gorm.ErrRecordNotFound

---------

Co-authored-by: Ali Gilani <gilani1364@gmail.com>
2024-07-14 12:08:30 +02:00
Hamidreza
b6ccb2e076 Some fixes and improvements (#1077)
* [refactor] api controller

* [update] use status code for jsonMsg and 401 to unauthorize

* [update] handle response status code via axios

* [lint] all .go files
2024-03-10 18:00:44 +01:00
Alireza Ahmadi
1daa8b8d7a [api] online users #639 2023-11-25 16:44:49 +01:00
Hamidreza Ghavami
4b3abe9cdf add createBackup api 2023-05-21 06:51:54 +04:30
Alireza Ahmadi
97d109c900 [api] support for delete depleted clients 2023-04-25 16:48:18 +02:00
Alireza Ahmadi
aab672976e update by client id #218 2023-04-24 20:30:01 +02:00
Alireza Ahmadi
7a229b27f5 Better client delete + api #218 2023-04-24 11:10:59 +02:00
Alireza Ahmadi
11bff57f23 [feature] add getClientTraffics api 2023-04-20 19:16:06 +02:00
Alireza Ahmadi
357630b077 v0.5.0 2023-04-05 00:05:16 +02:00
Alireza Ahmadi
35de896e5e Fix formats 2023-02-16 11:12:09 +01:00
Hossin Asaadi
845409f1b4 add API (#51) 2022-11-15 07:09:43 -05:00