- API v2 Introduction
- 3rd Party API Integration
- Servers
- Manage
- Health & Monitoring
- Database
- Database Users
- System Users
- SSH Keys
- Cron Job
- Supervisor
- Services
- Security - Firewall
- Security - Fail2Ban
- SSH Configuration
- Server Activity Logs
- Settings - PHP
- Deployment Keys
- Settings - Auto Security Update
- Web Applications
- Static Data
Web App Settings
GET
/v2/servers/{{serverId}}/webapps/{{webappId}}/settings
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://manage.runcloud.io/api/v2/servers/{{serverId}}/webapps/{{webappId}}/settings'
Responses
🟢200Success
application/json
Body
disableFunctions
string
required
timezone
string
required
maxExecutionTime
integer
required
maxInputTime
integer
required
maxInputVars
integer
required
memoryLimit
integer
required
postMaxSize
integer
required
uploadMaxFilesize
integer
required
allowUrlFopen
boolean
required
sessionGcMaxlifetime
integer
required
processManager
string
required
processManagerStartServers
integer
required
processManagerMinSpareServers
integer
required
processManagerMaxSpareServers
integer
required
processManagerMaxChildren
integer
required
processManagerMaxRequests
integer
required
openBasedir
string
required
clickjackingProtection
boolean
required
xssProtection
boolean
required
mimeSniffingProtection
boolean
required
databases
array [object {11}]
optional
id
integer
optional
server_id
integer
optional
name
string
optional
collation
null
optional
restorationStatus
string
optional
restorationStart
null
optional
sync
integer
optional
created_at
string
optional
updated_at
string
optional
deleted_at
null
optional
pivot
object
optional
Example
{
"disableFunctions": "getmyuid,passthru,leak,listen,diskfreespace,tmpfile,link,shell_exec,dl,exec,system,highlight_file,source,show_source,fpassthru,virtual,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix_getppid,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,proc_open,proc_close,proc_nice,proc_terminate,escapeshellcmd,ini_alter,popen,pcntl_exec,socket_accept,socket_bind,socket_clear_error,socket_close,socket_connect,symlink,posix_geteuid,ini_alter,socket_listen,socket_create_listen,socket_read,socket_create_pair,stream_socket_server",
"timezone": "UTC",
"maxExecutionTime": 30,
"maxInputTime": 60,
"maxInputVars": 1000,
"memoryLimit": 256,
"postMaxSize": 256,
"uploadMaxFilesize": 256,
"allowUrlFopen": true,
"sessionGcMaxlifetime": 1440,
"processManager": "dynamic",
"processManagerStartServers": 1,
"processManagerMinSpareServers": 1,
"processManagerMaxSpareServers": 1,
"processManagerMaxChildren": 5,
"processManagerMaxRequests": 500,
"openBasedir": "/home/runcloud/webapps/app-schimmel:/var/lib/php/session:/tmp",
"clickjackingProtection": true,
"xssProtection": true,
"mimeSniffingProtection": true,
"databases": [
{
"id": 480,
"server_id": 756,
"name": "appSchimmel_1720508533",
"collation": null,
"restorationStatus": "IDLE",
"restorationStart": null,
"sync": 1,
"created_at": "2024-07-09 07:02:13",
"updated_at": "2024-07-09 07:02:20",
"deleted_at": null,
"pivot": {
"web_application_id": 646,
"database_id": 480
}
}
]
}
Modified at 2024-09-04 09:15:08