nextcloud/survey_server

Name: survey_server

Owner: Nextcloud

Description: ? Receives data from the survey_client, evaluates and visualizes it

Created: 2016-07-08 10:42:32.0

Updated: 2017-10-05 15:35:38.0

Pushed: 2018-01-17 19:36:54.0

Homepage:

Size: 142

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Survey Server

This is the survey server app. It collects anonymised data send by other Nextcloud installations, evaluates them and visualize it.

Data needs to be send to https://nextcloudServer.org/index.php/apps/survey_server/api/v1/data The data set has to be JSON encoded and needs to look like:


"id" : <id_computed_by_sender>,
"apps" : [
             <app1>,
             <app2>,
             ...
         ],
"system" : {
               "phpversion" : <php_version>,
               "ncversion" : <nextcloud_version>,
               "users" : <number_of_users>
           }

The id needs to be the same every time the Nextcloud server sends a update of his data so that the survey server can detect duplicates.

At the moment the survey server supports the values shown in the JSON example above but the client can send any data he wish, in the feature the server will be able to evaluate more data.

For testing purpose you can use curl to send some dummy values to the server:

 --data "data={\"id\" : \"randomID_454353\", \"apps\" : [ \"calendar\", \"deleted_files\" ], \"system\" : { \"phpversion\" : \"5.6\", \"ncversion\" : \"9.0\", \"users\" : 22 }}" https://nextcloudServer.org/index.php/apps/survey_server/api/v1/data
Contribute

All contributions beginning from July, 8 2016 are considered to be licensed under the “AGPLv3 or any later version”.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.