mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #2472] API to retrieve client's subscription URL #1702
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#1702
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?
Originally created by @da-the-dev on GitHub (Aug 11, 2024).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/2472
Is your feature request related to a problem? Please describe.
I'm missing an ability to send a subscription URL for a freshly created client. I want users to create clients and be able to retrieve their subscription URL
Describe the solution you'd like
An API route to retrieve a given client's subscription URL
Describe alternatives you've considered
I've tried looking for ways to extract the subscription URL from client data, but current API does not provide any way to do so. I also tried setting the subscription field in
/addClient, but the redundant fields are thrown away after being parsed.@da-the-dev commented on GitHub (Aug 11, 2024):
Apparrently, if you set
subIdfield in thesettingsfor/addClient, the client works and the subscription link can be constructed from it.However, if you don't set the
subIdfield, the client will be created, but won't work