Giter Site home page Giter Site logo

Comments (1)

erfjab avatar erfjab commented on September 23, 2024

Hello Marzban
There are so many SQL queries that are quite practical, and since you're planning for the next update of Marzban, I was wondering if you could integrate them into the panel or API. I'll list the queries down below in case you wanna check them out.
Thanks in advance!

  • Changing the admin for a specific user (sudo & non-sudo)
  • Checking out the GB limits that have been set by admins (sudo & non-sudo)
  • Calculation of all GBs that have been set by the admins
  • Node usage of each admin (each node specifically)
  • Enabling/Disabling all users of an admins
  • Checking the traffic usage of admins
  • Checking out the users that expire on a specific date or let's say 1 day from now
  • Checking out the users that have a certain GB left
  • Checking out the users that have a disabled inbound or protocol
  • Enabling/Disabling a certain protocol for all users
  • Enabling/Disabling an inbound for all users of all admins
  • Enabling/Disabling an inbound for a specific admin
  • Deleting all the expired users
  • Deleting only the users that have been expired for a week/month
  • Adding 1 day to all users
  • Taking away 1 day from all users

You can access some of the queries in Marzban Nameh as I list the links to the posts down below, also some of the things I listed above as requests may not be in the queries below.

https://t.me/Marzban_Nameh/177
https://t.me/Marzban_Nameh/180
https://t.me/Marzban_Nameh/188
https://t.me/Marzban_Nameh/191
https://t.me/Marzban_Nameh/198
https://t.me/Marzban_Nameh/199

Thank you so much!
TED

Most of them are available in APIs, either directly or indirectly. If possible, we will add better APIs for the convenience of your work.

from marzban.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.