Revision 50165863
b/kamaki/cli/commands/pithos_cli.py | ||
---|---|---|
331 | 331 |
'format to parse until data (default: d/m/Y H:M:S )', |
332 | 332 |
'--format'), |
333 | 333 |
shared=FlagArgument('show only shared', '--shared'), |
334 |
public=FlagArgument('show only public', '--public'), |
|
335 | 334 |
more=FlagArgument( |
336 | 335 |
'output results in pages (-n to set items per page, default 10)', |
337 | 336 |
'--more'), |
b/kamaki/clients/pithos/__init__.py | ||
---|---|---|
394 | 394 |
hashmap=True, |
395 | 395 |
content_type=content_type, |
396 | 396 |
json=hashmap, |
397 |
permissions=sharing, |
|
398 |
public=public, |
|
397 | 399 |
success=201) |
398 | 400 |
|
399 | 401 |
# download_* auxiliary methods |
b/kamaki/clients/pithos/rest_api.py | ||
---|---|---|
660 | 660 |
{ 'read':[user1, group1, user2, ...], |
661 | 661 |
'write':['user3, group2, group3, ...] } |
662 | 662 |
|
663 |
:param permissions: update permissions |
|
664 |
|
|
665 | 663 |
:param public: (bool) If true, Object is publicly accessible |
666 | 664 |
|
667 | 665 |
:param metadata: (dict) Optional user defined metadata in the form |
Also available in: Unified diff