owncloud / ocis

:atom_symbol: ownCloud Infinite Scale Stack
https://doc.owncloud.com/ocis/next/
Apache License 2.0
1.29k stars 170 forks source link

Per-account device registration + key-value store #2842

Open felix-schwarz opened 2 years ago

felix-schwarz commented 2 years ago

Is your feature request related to a problem? Please describe.

During discussion of https://github.com/owncloud/ocis/issues/2793, it showed that it would be beneficial if it was possible to control which devices sync which set of content.

This could be controlled by device classes (mobile, computer) or device types (phone, tablet, laptop, desktop) or, more granular, on a per-device basis.

There are probably more contexts within which a list of devices will be useful.

Describe the solution you'd like

Authenticated clients should be able to:

1) register a device in an account, with the following information:

2) retrieve a list of devices, with UUID + name

3) retrieve and modify (set + delete) a per-account, per-device key/value store. Any JSON value should be supported as value. Readonly keys should be possible, i.e. if the server computes a key's value dynamically (depending on other values and server configuration).

This would enable interesting use cases:

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.