mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #2446] [CLOSED] API - Add Client to inbounds #5111
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#5111
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/2446
Author: @MrR4di0k4l
Created: 8/6/2024
Status: ❌ Closed
Base:
main← Head:main📝 Commits (8)
9d97866API - Add Client to inbounds22c1bbdfixedef99062Merge branch 'MHSanaei:main' into main1a24c38Fix domain validation for Nginx/CDN compatibility #24501e52d0aAPI - Update Client to inboundse3c3a5fAPI - Update Client to inbounds Readme.md3b5dde8Merge branch 'MHSanaei:main' into mainda3f6aaMerge branch 'main' of https://github.com/MrR4di0k4l/3x-ui📊 Changes
5 files changed (+354 additions, -7 deletions)
View changed files
📝
README.md(+3 -1)📝
web/controller/api.go(+2 -0)📝
web/controller/inbound.go(+80 -0)📝
web/middleware/domainValidator.go(+4 -6)📝
web/service/inbound.go(+265 -0)📄 Description
API - Add Client to inbounds
If the list of inboundIds is sent empty, a user will be created on all existing inbounds, otherwise, the inbound ID must be entered as follows:
"inboundIds": [1, 2]
Example
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.