[PR #2657] [CLOSED] Added REST api #5235

Closed
opened 2026-10-31 20:45:37 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/2657
Author: @KiselevAlexander
Created: 2/6/2025
Status: ❌ Closed

Base: main ← Head: feature.rest_api


📝 Commits (7)

📊 Changes

28 files changed (+1346 additions, -166 deletions)

View changed files

➕ docs/API.cn.md (+143 -0)
➕ docs/API.en.md (+143 -0)
➕ docs/API.es.md (+143 -0)
➕ docs/API.fa.md (+143 -0)
➕ docs/API.ru.md (+143 -0)
📝 web/assets/js/util/utils.js (+14 -0)
📝 web/controller/api.go (+99 -25)
📝 web/controller/base.go (+42 -1)
📝 web/controller/inbound.go (+68 -4)
📝 web/controller/index.go (+2 -2)
📝 web/controller/setting.go (+63 -5)
📝 web/entity/entity.go (+1 -0)
📝 web/html/xui/settings.html (+182 -125)
📝 web/service/inbound.go (+50 -0)
📝 web/service/setting.go (+43 -0)
📝 web/session/session.go (+3 -3)
📝 web/translation/translate.en_US.toml (+5 -0)
📝 web/translation/translate.es_ES.toml (+5 -0)
📝 web/translation/translate.fa_IR.toml (+5 -0)
📝 web/translation/translate.id_ID.toml (+5 -0)

...and 8 more files

📄 Description

  • Added token based auth for API v2
  • Added route for get server status

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/2657 **Author:** [@KiselevAlexander](https://github.com/KiselevAlexander) **Created:** 2/6/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feature.rest_api` --- ### 📝 Commits (7) - [`14137af`](https://github.com/MHSanaei/3x-ui/commit/14137af453f184c4379ea466a273428cd034e163) - Added REST api - [`e1569e2`](https://github.com/MHSanaei/3x-ui/commit/e1569e2cad2b408a25adde981706d89a390f3dc9) - fix mixed docs - [`f79602a`](https://github.com/MHSanaei/3x-ui/commit/f79602ae74b1797c1050e8df3b6db78d80e93549) - Added persian docs - [`fb9839c`](https://github.com/MHSanaei/3x-ui/commit/fb9839cb3d53a1a9649f4c29b45fde4e49d3a407) - Fix indentation - [`8e62acc`](https://github.com/MHSanaei/3x-ui/commit/8e62acc9e5f2eafcc90da12daa57bdc406c0339a) Added token based auth - [`d1aa040`](https://github.com/MHSanaei/3x-ui/commit/d1aa040d7c134b10bc1d871e90691b6a38dbe768) Added translations - [`254e5a6`](https://github.com/MHSanaei/3x-ui/commit/254e5a6761e1ad600556956973be7c2b7c35c211) Fix ident ### 📊 Changes **28 files changed** (+1346 additions, -166 deletions) <details> <summary>View changed files</summary> ➕ `docs/API.cn.md` (+143 -0) ➕ `docs/API.en.md` (+143 -0) ➕ `docs/API.es.md` (+143 -0) ➕ `docs/API.fa.md` (+143 -0) ➕ `docs/API.ru.md` (+143 -0) 📝 `web/assets/js/util/utils.js` (+14 -0) 📝 `web/controller/api.go` (+99 -25) 📝 `web/controller/base.go` (+42 -1) 📝 `web/controller/inbound.go` (+68 -4) 📝 `web/controller/index.go` (+2 -2) 📝 `web/controller/setting.go` (+63 -5) 📝 `web/entity/entity.go` (+1 -0) 📝 `web/html/xui/settings.html` (+182 -125) 📝 `web/service/inbound.go` (+50 -0) 📝 `web/service/setting.go` (+43 -0) 📝 `web/session/session.go` (+3 -3) 📝 `web/translation/translate.en_US.toml` (+5 -0) 📝 `web/translation/translate.es_ES.toml` (+5 -0) 📝 `web/translation/translate.fa_IR.toml` (+5 -0) 📝 `web/translation/translate.id_ID.toml` (+5 -0) _...and 8 more files_ </details> ### 📄 Description - Added token based auth for API v2 - Added route for get server status --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:45:37 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5235
No description provided.