No description
Find a file
2024-11-17 19:58:32 +01:00
.github/workflows ci(reuse): Add reuse check 2024-11-17 19:55:08 +01:00
appinfo Survey Reloaded (#31) 2024-09-26 10:51:53 +02:00
css Survey Reloaded (#31) 2024-09-26 10:51:53 +02:00
img Survey Reloaded (#31) 2024-09-26 10:51:53 +02:00
js Survey Reloaded (#31) 2024-09-26 10:51:53 +02:00
lib Survey Reloaded (#31) 2024-09-26 10:51:53 +02:00
LICENSES ci(reuse): Add reuse check 2024-11-17 19:55:08 +01:00
templates Survey Reloaded (#31) 2024-09-26 10:51:53 +02:00
tests Survey Reloaded (#31) 2024-09-26 10:51:53 +02:00
.scrutinizer.yml enable travis and scrutinizer 2016-07-08 16:53:21 +02:00
.travis.yml update php version for unit tests 2018-08-03 21:48:01 +02:00
AUTHORS.md skelleton 2015-07-09 12:22:40 +02:00
CHANGELOG.md Survey Reloaded (#31) 2024-09-26 10:51:53 +02:00
data.json Survey Reloaded (#31) 2024-09-26 10:51:53 +02:00
LICENSE Initial commit 2015-07-09 11:53:54 +02:00
Makefile skelleton 2015-07-09 12:22:40 +02:00
phpunit.integration.xml skelleton 2015-07-09 12:22:40 +02:00
phpunit.xml skelleton 2015-07-09 12:22:40 +02:00
README.md docs(readme): Add reuse status badge 2024-11-17 19:53:05 +01:00
REUSE.toml Survey Reloaded (#31) 2024-09-26 10:51:53 +02:00

Survey Server

REUSE status

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

Contribute

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