dudubroering Hello, it has been repaired. Thank you for your support and feedback
API interface tutorial
good evening, please help. How to make the function of creating a subdomain and a database through the api, then set an expiration date for it and enter the subdomain entry into the dns manager.
the api instruction is not complete.
- Edited
@aaPanel_Jose
How to add CNAME record in DNS Manager plugin by API ?
Please share "Parameter name" and "Parameter value" for add CNAME in DNS Manager pluginn.
Could I request API by javascript?
any option to manage the Email accounts (Create, Update, Delete, Quota manage) by API?
- Edited
You can test the options by running in the dashboard, with the console open, watching the data pass and testing the API to see if it works.
aaP_rogeriossilva1, thanks i do it already, i read the community on bt.cn i found it
I just read the api.pdf, pretty amaze to use it, I can create small panel for client just for memory status and load stats.. I downloaded the PHP sample and got this error, even I just set my token api and host.. and got this error
"status":false,"msg":"20 consecutive verification failures, prohibited for 1 hour[49.145.5.35]"}
I wonder how can I achieve this using HTTP format, anyone knows its endpoints and parameters just to run this /system?action=GetSystemTotal
is there an example of a collection export from postman?
i tried the example and getting return null
Nice work with the documentation. I just read it and couldn't find anything about adding reverse proxy to a website. Is it possible to manipulate reverse proxy with the aapanel api?
aaP_johncharlie1272
please are u have your resolved this problem ?
if yes, please can your tell me how was you doing ?
I have the same problem.
thank you before
Trandx solved. You need to whitelist an IP address
hello, i just want to share aapanel api for PHP, base on api documentation and php-demo from @aaPanel_Jose .
https://github.com/skolastikarhea/api_aapanel
not complete yet, but i will add new command step by step
enjoy
aaPanel_Jose Thanks for Giving me This Golden Information,
But i'm Getting this Error
Warning: fopen(./3fe68fcd5b9460188d2c853eb0ea3aff.cookie): failed to open stream: Permission denied in /www/wwwroot/test/demo.php on line 62
Warning: fclose() expects parameter 1 to be resource, boolean given in /www/wwwroot/test/demo.php on line 63
null
- Edited
aaP_salexkorsan
Hello, please check if the directory of the website is correct? The general directory is that the permissions are 755, and the user is www
The file permissions are generally 644/www
- Edited
aaPanel_Kern yes i'm Fixed that. receiving result Given Below,
But i'm Trying to Get system info like this https://example.com/demo.php?action=GetSystemTotal
Each time i'm Receaving this ??? it's Not working Diffrent Commands
{"where":"","page":"
1<\/span>2<\/a>3<\/a>4<\/a>5<\/a>6<\/a>7<\/a>8<\/a>Next<\/a>Last<\/a>Total26876<\/span><\/div>","data":[{"id":26881,"uid":1,"username":"w3we","type":"File manager","log":"[\/www\/wwwroot\/test\/demo.php] renamed to [\/www\/wwwroot\/test\/index.php]","addtime":"2022-09-07 07:14:39"},{"id":26880,"uid":1,"username":"w3we","type":"File manager","log":"Set [\/www\/wwwroot\/test\/demo.php]'s permission to [755] and authorized user to [root]","addtime":"2022-09-07 07:12:50"},{"id":26879,"uid":1,"username":"w3we","type":"API configuration","log":"Change IP limit to [129.152.96.200]","addtime":"2022-09-07 07:08:46"},{"id":26878,"uid":1,"username":"w3we","type":"API configuration","log":"Open API interface","addtime":"2022-09-07 07:08:37"},{"id":26877,"uid":1,"username":"w3we","type":"API configuration","log":"Close API interface","addtime":"2022-09-07 07:08:34"},{"id":26876,"uid":1,"username":"w3we","type":"File manager","log":"Recycle bin emptied!","addtime":"2022-09-07 07:04:46"},{"id":26875,"uid":1,"username":"w3we","type":"API configuration","log":"Change IP limit to [124.123.188.8\n129.152.96.200]","addtime":"2022-09-07 07:03:58"},{"id":26874,"uid":1,"username":"w3we","type":"API configuration","log":"Open API interface","addtime":"2022-09-07 07:03:54"},{"id":26873,"uid":1,"username":"w3we","type":"API configuration","log":"Close API interface","addtime":"2022-09-07 07:03:53"},{"id":26872,"uid":1,"username":"w3we","type":"File manager","log":"[\/www\/wwwroot\/test\/demo.ph] renamed to [\/www\/wwwroot\/test\/demo.php]","addtime":"2022-09-07 07:03:20"}]}
aaPanel_Kern
Hey There!
I'm having trouble accessing my Node Project through the API. I was able to get access to the panel through the API key, but every time I tried to list the website, "project_type" = 'PHP' always appear in the where clause. Is there any way that I could override this?
Thank you!
aaP_anthonyprabowo
Hello, try to access the panel and press F12 to get the relevant link parameters