ConfigurationController
Summary
Defines a controller to handle actions relative to configuration's routes.
Constructor
ConfigurationController
Syntax
ConfigurationController
()
Summary
Item Index
Methods
getConfigurationAllAction
Syntax
getConfigurationAllAction
(
async
-
request
-
response
-
next
Summary
Retrieves publish plugin configurations.
handleGoogleOAuthCodeAction
Syntax
handleGoogleOAuthCodeAction
(
async
-
request
-
response
-
next
Summary
Redirects action that will be called by google when the user associate our application, a code will be in the parameters.
saveMediasSettings
Syntax
saveMediasSettings
(
async
-
request
-
response
-
next
Summary
Saves medias settings.
Parameters:
Example:
// Response example
{
"settings" : {
"owner": ..., // The id of the owner that will be associated to medias uploaded through the watcher
"group": ... // The id of the content group that will be associated to medias uploaded through the watcher
},
"total": 1
}
saveTlsSettingsAction
Syntax
saveTlsSettingsAction
(
async
-
request
-
response
-
next
Summary
Saves TLS settings.
Parameters:
Example:
// Response example
{
"settings" : {
"properties": ... // The list of custom property ids
},
"total": 1
}