Nom de la ressource | site |
URL | https://api.alwaysdata.com/v1/site |
Description | Sites |
Operations | create, read, update, delete, list, action, action |
Name | Details |
---|---|
id
readonly: YES |
integer
Resource ID. |
href
readonly: YES |
string
Resource location. |
type |
string
Select the type of your application. (sélectionner une autre valeur pour voir les champs spécifiques) |
path |
string
The path is relative to the root of your account and must begin with "/". For example: /www/ |
php_version
default value: null |
string
PHP version
|
php_ini
default value: null |
string
Type only options you want to change from the core settings. |
environment
default value: null |
string
Environment variables, format: FOO=bar LOREM=ipsum |
vhost_additional_directives
default value: null |
string
Directives that will be add at the end of the Apache configuration for this virtual host. |
ssl_force
default value: False |
bool
All HTTP requests will be automatically redirected to HTTPS. |
max_idle_time
default value: 1800 |
integer
Idle time before your application is stopped (in seconds). |
path_trim
default value: False |
bool
If you have addresses containing a path, it will be trimmed from the request forwarded to your application. |
waf_profile
default value: null |
string
As per the profile used, the latency to site access may increase by a few millisecondes.
|
waf_excluded_rules
default value: <class 'list'> |
string
WAF rules to exclude (use space to separate). |
waf_excluded_paths
default value: <class 'list'> |
string
Paths to exclude from the WAF (use space to separate). The syntaxes *, ? and [] are accepted. |
waf_excluded_ips
default value: <class 'list'> |
string
IP addresses (or networks) to be excluded from the WAF, separated by spaces. |
cache_enabled
default value: False |
bool
Enable cache |
cache_ttl
default value: 3600 |
integer
Maximum TTL of cached responses, in seconds. |
log_type
default value: STANDARD |
string
Read the documentation on the logs format.
|
log_file
default value: null |
string
If you want access logs to be in a separate file, enter here its name. |
log_format
default value: null |
string
Indicate here the format of log lines. Leave blank for the default format. |
addresses |
list of strings
Liste des adresses du site. |
annotation |
string
L'annotation est facultative et apparaitra dans le listing. |
Name | Details |
---|---|
restart |
POST Redémarre le site. |