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
Chemin relatif à la racine de votre compte. |
php_version
default value: null |
string
Major versions use the latest available minor version, which allows for automatic security updates.
|
php_ini
default value: null |
string
Specify only the options you want to change compared to the initial configuration. |
environment
default value: null |
string
Environment variables, in the format: FOO=bar LOREM=ipsum |
vhost_additional_directives
default value: null |
string
Directives that will be added 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 after which your application will be 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
Depending on the profile used, the website access latency may increase by a few milliseconds.
|
waf_excluded_rules
default value: <class 'list'> |
string
WAF exclusion rules, separated by spaces. |
waf_excluded_paths
default value: <class 'list'> |
string
Paths to exclude from the WAF, separated by spaces. Supported syntax includes *, ?, and []. |
waf_excluded_ips
default value: <class 'list'> |
string
IP addresses (or networks) to exclude from the WAF, separated by spaces. |
cache_enabled
default value: False |
bool
Enable cache |
cache_ttl
default value: 3600 |
integer
Maximum TTL for 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 the access logs to be in a separate file, please specify the file name here. |
log_format
default value: null |
string
Specify the log line format here. Leave it 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. |