FpmDaemons

FpmDaemons.listing

lists all fpm-daemon entries

Permission

admin

Parameter

FieldTypeDescription
sql_searcharrayoptional array with index = fieldname, and value = array with 'op' => operator (one of <, > or =), LIKE is used if left empty and 'value' => searchvalue
sql_limitintoptional specify number of results to be returned
sql_offsetintoptional specify offset for resultset
sql_orderbyarrayoptional array with index = fieldname and value = ASC|DESC to order the resultset by one or more fields

Response

string as json-encoded array count|list

FpmDaemons.listingCount

returns the total number of accessible fpm daemons

Permission

admin

Response

string as json-encoded array

FpmDaemons.get

return a fpm-daemon entry by id

Permission

admin

Parameter

FieldTypeDescription
idintfpm-daemon-id

Response

string as json-encoded array

FpmDaemons.add

create a new fpm-daemon entry

Permission

admin

Parameter

FieldTypeDescription
descriptionstring
reload_cmdstring
config_dirstring
pmstringoptional, process-manager, one of 'static', 'dynamic' or 'ondemand', default 'dynamic'
max_childrenintoptional, default 5
start_serversintoptional, default 2
min_spare_serversintoptional, default 1
max_spare_serversintoptional, default 3
max_requestsintoptional, default 0
idle_timeoutintoptional, default 10
limit_extensionsstringoptional, limit execution to the following extensions, default '.php'
custom_configstringoptional, custom settings appended to phpfpm pool configuration

Response

string as json-encoded array

FpmDaemons.update

update a fpm-daemon entry by given id

Permission

admin

Parameter

FieldTypeDescription
idintfpm-daemon id
descriptionstringoptional
reload_cmdstringoptional
config_dirstringoptional
pmstringoptional, process-manager, one of 'static', 'dynamic' or 'ondemand', default 'dynamic'
max_childrenintoptional, default 5
start_serversintoptional, default 2
min_spare_serversintoptional, default 1
max_spare_serversintoptional, default 3
max_requestsintoptional, default 0
idle_timeoutintoptional, default 10
limit_extensionsstringoptional, limit execution to the following extensions, default '.php'
custom_configstringoptional, custom settings appended to phpfpm pool configuration

Response

string as json-encoded array

FpmDaemons.delete

delete a fpm-daemon entry by id

Permission

admin

Parameter

FieldTypeDescription
idintfpm-daemon-id

Response

string as json-encoded array