- 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.
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
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
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
aaPanel_Jose i tried the demo response null
Get a list of websites is only show PHP Project, not show Nodejs or Python project
aaP_RHEA Hi, i just put PR to your project, glad to help for little.
my ip has added into the whitelist and token was right,but my request just return 502: Bad Gateway
aaPanel_Jose my ip has added into the whitelist, and my bt_key is right ,but each time response 502 bat gateway