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>,
"items": [
[
"server",
"version",
"25.0.1.1"
],
[
"apps",
<appId>,
<appVersion>
],
[
"database",
"type",
"pgsql"
],
]
}
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:
curl --data "data={\"id\" : \"randomID_454354\", \"items\" : [[\"server\", \"version\", \"25.0.1.1\" ], [\"database\", \"type\", \"pgsql\" ], [\"apps\", \"files_sharing\", \"1.17.0\" ], [\"stats\", \"num_users\", 2], [\"stats\", \"num_files\", 7], [\"encryption\", \"enabled\" , \"no\"]]}" https://nextcloudServer.org/index.php/apps/survey_server/api/v1/data
All contributions beginning from July, 8 2016 are considered to be licensed under the "AGPLv3 or any later version".