Skip to content

How to use API on Hiddify project | راهنمای چگونگی استفاده از API در پروژه هیدیفای #3209

Discussion options

You must be logged in to vote

در اینجا راهنمای استفاده از API در هیدیفای ارائه می‌‌گردد که در دو بخش کار با یوزرهای معمولی و کار با یوزرهای ادمین می‌آید.

  • برای دریافت لیست همه یوزرها
GET https://site.com/proxy_path/admin_key/api/v1/user/
  • برای گرفتن یک یوزر خاص
 GET https://site.com/proxy_path/admin_key/api/v1/user/?uuid=6ebd2ea8-4d41-48b7-8fc2-7d6570
  • برای ایجاد یا آپدیت یوزر
POST https://site.com/proxy_path/admin_key/api/v1/user/
        {
            "uuid": "6ebd2ea8-4d41-48b7-8fc2-7d6570da30a9",
            "name": "Test",
            "added_by_uuid": "abb4bdb8-732c-4fa6-92e0-6b3fd4bb8450",
            "current_usage_GB": 0,
            "usage_limit_GB": 1,
            "package_days": 900,
            "start…

Replies: 5 comments 3 replies

Comment options

lymanjre
Aug 20, 2023
Maintainer Author

You must be logged in to vote
1 reply
@xmohammad1
Comment options

Answer selected by lymanjre
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@elia07
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@v4mpir3
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants