Skip to content

Doc: update response documentation models#1392

Merged
ImMohammad20000 merged 2 commits intoGozargah:devfrom
govfvck:doc-extra-responses
Apr 17, 2025
Merged

Doc: update response documentation models#1392
ImMohammad20000 merged 2 commits intoGozargah:devfrom
govfvck:doc-extra-responses

Conversation

@govfvck
Copy link
Contributor

@govfvck govfvck commented Oct 22, 2024

  • 404 response for 'modify_admin'

@govfvck govfvck changed the title Doc: 404 response for 'modify_admin' Doc: update response documentation models Oct 22, 2024
@ImMohammad20000 ImMohammad20000 added Doc Improvements or additions to documentation API In Progress labels Oct 22, 2024
@ImMohammad20000 ImMohammad20000 marked this pull request as ready for review April 17, 2025 06:34
@ImMohammad20000 ImMohammad20000 merged commit b25fcc6 into Gozargah:dev Apr 17, 2025
M03ED pushed a commit that referenced this pull request Apr 18, 2025
* Doc: 404 response for 'modify_admin'

* Doc: fix descripton naming for extra responses
M03ED pushed a commit that referenced this pull request Apr 29, 2025
* Doc: 404 response for 'modify_admin'

* Doc: fix descripton naming for extra responses
erfjab added a commit to erfjab/Marzban that referenced this pull request Jul 9, 2025
* Add singbox-only protocols for selector and urltest (Gozargah#1597)

* add more protocols for selector and urltest

* add more protocols for selector and urltest

* fix: 404 error in active-next endpoint 

Gozargah#1568

* fix: reset_user_by_next

* +downloadSettings

* download settings and xmux should be read from extra

* hKeepAlivePeriod Should be defined inside xmux and it is client side

* clear keepalive

* we don't have to convert extra to json twice

* replace space to nothing in json string in order to prevent urlencode to
produce extra + signs

* remove: xhttp default values (Gozargah#1612)

* fix: xhttp extra in v2ray links (Gozargah#1613)

* fix: dynamically set https for VITE_BASE_API when SSL is enabled

If DEBUG is turned on and SSL mode is enabled, API requests will be
sent to the http address, which is unavailable in SSL mode, making
it impossible to reach the API.

* xhttp: add support for `scStreamUpServerSecs` (Gozargah#1627)

* fix(sing-box): sing-box 1.11 template migration (Gozargah#1629)

* fix: delete deprecates and optimize

* fix(sing-box): sing-box 1.11 template migration

* Fix issue Gozargah#1641 (Gozargah#1642)

* feat: Allow connecting from whole LAN

* fix: prevent using 0.0.0.0 as private ip

* fix: correct ip compare

* Record_node_usages hang due to lack of correct timeout handling in streaming (Gozargah#1649)

Gozargah#1550 (comment)
When the record_node_usages task is executed, a stream gRPC call to QueryStats is made. If during the stream iteration the waiting time is exceeded. grpc.RpcError exception with DEADLINE_EXCEEDED code occurs. Since this exception is not handled correctly, the generator hangs and the task does not complete in time. As a result, APScheduler cannot start a new task instance (due to max_instances=1), which leads to accumulation of ‘hung’ tasks.
SOLUTION
Add grpc.RpcError exception handling with DEADLINE_EXCEEDED code both during stream iteration and outside the loop. When such an exception occurs, the generator should terminate correctly.

* Allow hostname to be used as UVICORN_HOST (Gozargah#1647)

* update python version specified in readme (Gozargah#1654)

* add support for Haap android app and npv tunnel  (Gozargah#1665)

* Update subscription.py

* Update subscription.py

npv tunnel

* Update config.py

npv tunnel

* Update .env.example

npv tunnel

* feat: added group topics to telegram bot (Gozargah#1668)

* fix(node): add usage_coefficient when creating node (Gozargah#1674)

fixed issue Gozargah#1671

* fix: using or instead of , in a list

* fix: Disable openapi schema (Gozargah#1673)

* feat: Add dynamic variable support for user status texts (Gozargah#1689)

Updated setup_format_variables in share.py to format status texts with dynamic variables (e.g., {DATA_LEFT}, {DAYS_LEFT})
Status messages now support placeholders like {STATUS_EMOJI}, {EXPIRE_DATE}, {JALALI_EXPIRE_DATE}, etc.

* Improve Russian translations (Gozargah#1692)

* feat: Add password as an alias of publicKey (Gozargah#1693)

* Revert "feat: Add password as an alias of publicKey (Gozargah#1693)" (Gozargah#1694)

This reverts commit 10cf0b5.

* refactor: reality settings key handling (Gozargah#1695)

- Removed redundant try-except block for public key retrieval.
- remove depending on xray-core for get x25519 public key and replaced`
core.get_x25519` with `get_x25519_public_key` method

* feat(hosts): add `{USAGE_PERCENTAGE}` variable (Gozargah#1700)

* feat: support `gui for singbox` app (Gozargah#1703)

* fix: an issue where admins registered via env variables can't delete users

* fix: delete users bug

* Doc: update response documentation models (Gozargah#1392)

* Doc: 404 response for 'modify_admin'

* Doc: fix descripton naming for extra responses

* update .gitignore

* fix: TagNotFoundError

* fix: node connection errors (Gozargah#1845)

* fix: grpc connection error regex

* fix: node api detection when start failed

* fix: handle node start timeout (Gozargah#1846)

* fix: TimeoutError handling and outbound method (Gozargah#1847)

* fix(node): connectivity issue fixed

* feat: add MoreBot license and secret to env

* feat: filter admin inbounds

* Feat: add report usage

* feat: add build pr [test]

* fix: change branch

* chore: change build name

* chore: change to ghcr

* chore: change jobs intervals

* feat: add master build

---------

Co-authored-by: Alireza Habibzadeh <alirezahabib80@gmail.com>
Co-authored-by: Mohammad <imMohammad20000@ProtonMail.com>
Co-authored-by: gitea <gitea>
Co-authored-by: Joursoir <chat@joursoir.net>
Co-authored-by: WhyMan <154282687+WhyMan1@users.noreply.github.com>
Co-authored-by: Gozarman <120019621+gozarman@users.noreply.github.com>
Co-authored-by: Akiyamov <116005851+Akiyamov@users.noreply.github.com>
Co-authored-by: M03ED <50927468+M03ED@users.noreply.github.com>
Co-authored-by: fraybyl1 <fraybyl@gmail.com>
Co-authored-by: unidcml <147054065+unidcml@users.noreply.github.com>
Co-authored-by: eso <134785284+esodrevo@users.noreply.github.com>
Co-authored-by: Ilia <150121643+il-an@users.noreply.github.com>
Co-authored-by: Vladislav <117850688+7vlad7@users.noreply.github.com>
Co-authored-by: xmohammad1 <117955130+xmohammad1@users.noreply.github.com>
Co-authored-by: Vlad Shulcz <vshulcz@gmail.com>
Co-authored-by: govfvck <124025267+govfvck@users.noreply.github.com>
naymintun800 pushed a commit to naymintun800/Marzban that referenced this pull request Jul 24, 2025
* Doc: 404 response for 'modify_admin'

* Doc: fix descripton naming for extra responses
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API Doc Improvements or additions to documentation In Progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments