Skip to content

nextcloud/survey_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

104 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Survey Server

REUSE status

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

Data needs to be send to ocs/v2.php/apps/survey_server/api/v1/survey 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 an update of its 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 it 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://localhost/ocs/v2.php/apps/survey_server/api/v1/survey

Contribute

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

About

๐Ÿ™ Receives data from the survey_client, evaluates and visualizes it

Resources

License

Contributing

Security policy

Stars

1 star

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors