Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

Tutorial HOT: Complete XUI.ONE Admin API Swagger UI Documentation Released πŸŽ‰

redhat

Administrator
Staff member
Administrator
Joined
Jun 19, 2019
Messages
3,467
Reaction score
17,063
Points
134
Location
root[@]woi
πŸŽ‰ Complete XUI.ONE Admin API Documentation Released! πŸŽ‰

Professional β€’ Interactive β€’ Free & Open Source

Endpoints-111-blue
Categories-15-green
License-MIT-yellow
Status-Live-success



πŸ“’ What's New?

We're excited to announce the release of comprehensive, professional API documentation for the XUI.ONE IPTV Panel Admin API!

After extensive work, we've created a complete reference with 111 fully documented endpoints across 15 categories, available as an interactive Swagger UI with live examples.




✨ What's Included?

🎯 Interactive Swagger UI
  • Try endpoints directly in your browser
  • Real-time testing with your own API credentials
  • Automatic request/response examples
  • Professional OpenAPI 3.0 specification

πŸ“š Complete Coverage (111 Endpoints)

Category 1: Authentication
  • User authentication and API key management

Category 2: GET INFO (11 endpoints)
  • Query lines, users, streams, channels, movies, series
  • MAG devices, Enigma2 devices, packages

Category 3: Line API (8 endpoints)
  • Create, edit, delete subscription lines
  • Enable, disable, ban/unban operations

Category 4: Logs & Events (11 endpoints)
  • Activity logs, live connections, credit logs
  • Stream errors, login logs, MAG events

Category 5: User API (6 endpoints)
  • Create and manage admin, reseller, and user accounts
  • Credit management for resellers

Category 6: MAG API (9 endpoints)
  • Complete MAG device management
  • Convert MAG devices to M3U lines

Category 7: Enigma API (9 endpoints)
  • Full Enigma2 device support
  • Device conversion capabilities

Category 8: Streams API (6 endpoints)
  • Create and manage live TV streams
  • Start/stop stream encoding

Categories 9-13: Content Management
  • Channels, Radio Stations, Movies, Series, Episodes
  • Complete VOD and live content control

Category 14: Server API (8 endpoints)
  • Server installation and management
  • Load balancer configuration
  • Server statistics and monitoring

Category 15: Settings & System (14 endpoints)
  • Panel settings, categories, bouquets
  • Database backup/restore
  • Cache management, nginx reload



πŸ’» Code Examples in Multiple Languages

Every endpoint includes working examples in:
  • Python (with complete manager classes)
  • PHP (production-ready code)
  • JavaScript (Node.js and Browser)
  • cURL (command-line testing)

Example: Create a Subscription Line

Python:
Python:
manager = XUILineManager(base_url, api_key)
result = manager.create_line(
    username="customer001",
    password="secure123",
    exp_date="2025-12-31",
    max_connections=1,
    bouquets_selected=[1, 2, 3]
)

PHP:
PHP:
$manager = new XUILineManager($baseUrl, $apiKey);
$result = $manager->createLine(
    "customer001",
    "secure123",
    ["exp_date" => "2025-12-31"]
);

cURL:
Bash:
curl -X POST "http://your-server.com/access/?api_key=KEY&action=create_line" \
  -d "username=customer001" \
  -d "password=secure123" \
  -d "exp_date=2025-12-31"



🎯 Key Features

βœ…
111 Fully Documented EndpointsEvery single API action covered
βœ…
Interactive TestingTry APIs directly in your browser
βœ…
Complete Code ExamplesCopy-paste ready code
βœ…
Best PracticesSecurity, validation, error handling
βœ…
Real Use CasesPractical examples for common tasks
βœ…
Professional QualityIndustry-standard OpenAPI spec
βœ…
Always Up-to-DateVersion controlled on GitHub
βœ…
100% FreeOpen source and community-driven



πŸš€ What Can You Build?

With this documentation, you can easily:

  • πŸ€– Automate subscription management - Bulk create/edit/delete lines
  • πŸ“Š Build custom dashboards - Real-time monitoring and analytics
  • πŸ’° Create billing systems - Integrate with payment processors
  • πŸ“± Mobile apps - Native iOS/Android subscription managers
  • πŸ”” Notification systems - Alert on expirations, connection issues
  • πŸ“ˆ Business intelligence - Advanced reporting and insights
  • 🌐 Reseller portals - White-label customer management
  • βš™οΈ DevOps automation - CI/CD, monitoring, backups



πŸ“– Documentation Highlights

Comprehensive Guides for Each Category:

Each category includes:
  • πŸ“ Detailed endpoint descriptions
  • πŸ’‘ Common use cases and examples
  • ⚠️ Important notes and warnings
  • πŸ” Security best practices
  • 🎯 Batch operation examples
  • πŸ› οΈ Error handling patterns

Special Features:

  • Build real-time dashboards
  • Connection sharing detection
  • Stream health monitoring
  • Security alert systems

  • MAG and Enigma2 support
  • Device conversion tools
  • MAC address validation
  • Bulk registration scripts

  • Stream, channel, and VOD management
  • Automated content organization
  • Metadata management
  • EPG integration examples



🎁 Bonus: Reusable Code Libraries

The documentation includes complete, production-ready manager classes:

  • XUILineManager - Complete line management
  • XUIUserManager - User account control
  • XUIMAGManager - MAG device handling
  • XUIMonitor - Real-time monitoring
  • XUIStreamsManager - Stream control

Just copy, customize, and deploy! πŸš€



🌟 Community Contributions Welcome!

This is an open-source project and we'd love your help to make it even better!

Ways to Contribute:
  • πŸ› Report issues or bugs
  • πŸ’‘ Suggest improvements
  • πŸ“ Add more examples
  • 🌍 Translate to other languages
  • ⭐ Star the repo on GitHub
  • πŸ”— Share with fellow developers



πŸ”§ How to Get Started

Quick Start in 4 Steps:

STEP 1: Visit the documentation
https://worldofiptvcom.github.io/xui-one-api-docs/

STEP 2: Configure your server settings
  • Server URL/IP
  • Protocol (HTTP/HTTPS)
  • Custom Port
  • Access Code

STEP 3: Enter your API key
(Generate from XUI.ONE admin profile β†’ Management β†’ Access Control)

STEP 4: Click "Authorize" and start testing!

Need help generating your API key? said:
Check the Getting Started Guide for step-by-step instructions.



πŸ’¬ Feedback & Support

Have questions or suggestions?



πŸ“Š By the Numbers

111
Endpoints​
15
Categories​
4
Languages​
2,720+
Lines of Code​
15
Doc Files​
100%
Free​




πŸ™ Special Thanks

Big shoutout to everyone who requested this, provided feedback, and helped test the documentation. This project exists because of community demand - thank you! πŸŽ‰



πŸ”— Quick Links




πŸ“’ Spread the Word!

If you find this useful, please:
  • ⭐ Star the GitHub repository
  • πŸ”„ Share with fellow XUI.ONE users
  • πŸ’¬ Leave feedback and suggestions
  • 🀝 Contribute improvements

Let's build amazing things together! πŸš€



Happy Coding! πŸ’»

Compatible with XUI.ONE v1.5.5+ | API Version 1.5.13

xui-one-api-docs

xui-one-api-docs

xui-one-api-docs
 
I think there is a problem with 'mag convert to line' can someone check and lmk
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
I think there is a problem with 'mag convert to line' can someone check and lmk
The API has not been fully tested. There are probably still things missing or incorrect.
Contribute improvements are welcome.
 
πŸŽ‰ Complete XUI.ONE Admin API Documentation Released! πŸŽ‰

Professional β€’ Interactive β€’ Free & Open Source

Endpoints-111-blue
Categories-15-green
License-MIT-yellow
Status-Live-success



πŸ“’ What's New?

We're excited to announce the release of comprehensive, professional API documentation for the XUI.ONE IPTV Panel Admin API!

After extensive work, we've created a complete reference with 111 fully documented endpoints across 15 categories, available as an interactive Swagger UI with live examples.




✨ What's Included?

🎯 Interactive Swagger UI
  • Try endpoints directly in your browser
  • Real-time testing with your own API credentials
  • Automatic request/response examples
  • Professional OpenAPI 3.0 specification

πŸ“š Complete Coverage (111 Endpoints)

Category 1: Authentication
  • User authentication and API key management

Category 2: GET INFO (11 endpoints)
  • Query lines, users, streams, channels, movies, series
  • MAG devices, Enigma2 devices, packages

Category 3: Line API (8 endpoints)
  • Create, edit, delete subscription lines
  • Enable, disable, ban/unban operations

Category 4: Logs & Events (11 endpoints)
  • Activity logs, live connections, credit logs
  • Stream errors, login logs, MAG events

Category 5: User API (6 endpoints)
  • Create and manage admin, reseller, and user accounts
  • Credit management for resellers

Category 6: MAG API (9 endpoints)
  • Complete MAG device management
  • Convert MAG devices to M3U lines

Category 7: Enigma API (9 endpoints)
  • Full Enigma2 device support
  • Device conversion capabilities

Category 8: Streams API (6 endpoints)
  • Create and manage live TV streams
  • Start/stop stream encoding

Categories 9-13: Content Management
  • Channels, Radio Stations, Movies, Series, Episodes
  • Complete VOD and live content control

Category 14: Server API (8 endpoints)
  • Server installation and management
  • Load balancer configuration
  • Server statistics and monitoring

Category 15: Settings & System (14 endpoints)
  • Panel settings, categories, bouquets
  • Database backup/restore
  • Cache management, nginx reload



πŸ’» Code Examples in Multiple Languages

Every endpoint includes working examples in:
  • Python (with complete manager classes)
  • PHP (production-ready code)
  • JavaScript (Node.js and Browser)
  • cURL (command-line testing)

Example: Create a Subscription Line

Python:
Python:
manager = XUILineManager(base_url, api_key)
result = manager.create_line(
    username="customer001",
    password="secure123",
    exp_date="2025-12-31",
    max_connections=1,
    bouquets_selected=[1, 2, 3]
)

PHP:
PHP:
$manager = new XUILineManager($baseUrl, $apiKey);
$result = $manager->createLine(
    "customer001",
    "secure123",
    ["exp_date" => "2025-12-31"]
);

cURL:
Bash:
curl -X POST "http://your-server.com/access/?api_key=KEY&action=create_line" \
  -d "username=customer001" \
  -d "password=secure123" \
  -d "exp_date=2025-12-31"



🎯 Key Features

βœ…
111 Fully Documented EndpointsEvery single API action covered
βœ…
Interactive TestingTry APIs directly in your browser
βœ…
Complete Code ExamplesCopy-paste ready code
βœ…
Best PracticesSecurity, validation, error handling
βœ…
Real Use CasesPractical examples for common tasks
βœ…
Professional QualityIndustry-standard OpenAPI spec
βœ…
Always Up-to-DateVersion controlled on GitHub
βœ…
100% FreeOpen source and community-driven



πŸš€ What Can You Build?

With this documentation, you can easily:

  • πŸ€– Automate subscription management - Bulk create/edit/delete lines
  • πŸ“Š Build custom dashboards - Real-time monitoring and analytics
  • πŸ’° Create billing systems - Integrate with payment processors
  • πŸ“± Mobile apps - Native iOS/Android subscription managers
  • πŸ”” Notification systems - Alert on expirations, connection issues
  • πŸ“ˆ Business intelligence - Advanced reporting and insights
  • 🌐 Reseller portals - White-label customer management
  • βš™οΈ DevOps automation - CI/CD, monitoring, backups



πŸ“– Documentation Highlights

Comprehensive Guides for Each Category:

Each category includes:
  • πŸ“ Detailed endpoint descriptions
  • πŸ’‘ Common use cases and examples
  • ⚠️ Important notes and warnings
  • πŸ” Security best practices
  • 🎯 Batch operation examples
  • πŸ› οΈ Error handling patterns

Special Features:

  • Build real-time dashboards
  • Connection sharing detection
  • Stream health monitoring
  • Security alert systems

  • MAG and Enigma2 support
  • Device conversion tools
  • MAC address validation
  • Bulk registration scripts

  • Stream, channel, and VOD management
  • Automated content organization
  • Metadata management
  • EPG integration examples



🎁 Bonus: Reusable Code Libraries

The documentation includes complete, production-ready manager classes:

  • XUILineManager - Complete line management
  • XUIUserManager - User account control
  • XUIMAGManager - MAG device handling
  • XUIMonitor - Real-time monitoring
  • XUIStreamsManager - Stream control

Just copy, customize, and deploy! πŸš€



🌟 Community Contributions Welcome!

This is an open-source project and we'd love your help to make it even better!

Ways to Contribute:
  • πŸ› Report issues or bugs
  • πŸ’‘ Suggest improvements
  • πŸ“ Add more examples
  • 🌍 Translate to other languages
  • ⭐ Star the repo on GitHub
  • πŸ”— Share with fellow developers



πŸ”§ How to Get Started

Quick Start in 4 Steps:

STEP 1: Visit the documentation
https://worldofiptvcom.github.io/xui-one-api-docs/

STEP 2: Configure your server settings
  • Server URL/IP
  • Protocol (HTTP/HTTPS)
  • Custom Port
  • Access Code

STEP 3: Enter your API key
(Generate from XUI.ONE admin profile β†’ Management β†’ Access Control)

STEP 4: Click "Authorize" and start testing!





πŸ’¬ Feedback & Support

Have questions or suggestions?



πŸ“Š By the Numbers

111
Endpoints​
15
Categories​
4
Languages​
2,720+
Lines of Code​
15
Doc Files​
100%
Free​




πŸ™ Special Thanks

Big shoutout to everyone who requested this, provided feedback, and helped test the documentation. This project exists because of community demand - thank you! πŸŽ‰



πŸ”— Quick Links




πŸ“’ Spread the Word!

If you find this useful, please:
  • ⭐ Star the GitHub repository
  • πŸ”„ Share with fellow XUI.ONE users
  • πŸ’¬ Leave feedback and suggestions
  • 🀝 Contribute improvements

Let's build amazing things together! πŸš€



Happy Coding! πŸ’»

Compatible with XUI.ONE v1.5.5+ | API Version 1.5.13

xui-one-api-docs

xui-one-api-docs

xui-one-api-docs
qwe
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top