-
Couldn't load subscription status.
- Fork 9
Shares
k4rl85 edited this page Dec 2, 2014
·
3 revisions
-
POST /shares/<root_path>/<user>-- create the share if needed -
DELETE /shares/<root_path>/<user>-- remove the share with user -
DELETE /shares/<root_path>/<user>- remove user from the share
Possible data structure:
{'Photos': {'owner': 'Pippo',
'users': ['Pluto', 'Paperino', 'Minnie'] # sharing users ('Pippo' is implicitly included, beeing the owner)
},
'Music': {'owner': 'Paperone',
'users': ['Paperino', 'Qui', 'Quo', 'Qua']
}
}