attpcdaq.daq.views.api.source_change_state_all¶
-
attpcdaq.daq.views.api.
source_change_state_all
(request)[source]¶ Send requests to change the state of all ECC servers.
The requests are queued to be performed asynchronously.
Parameters: request (HttpRequest) – The request method must be POST, and it must contain an integer representing the target state. Returns: A JSON array containing status information about all ECC servers. Return type: JsonResponse