Revision f6822a26 docs/examplesdir/sharing.rst

b/docs/examplesdir/sharing.rst
14 14
Publish and unpublish
15 15
---------------------
16 16

  
17
Check publishing for objects `info.txt` and `file2upload.txt`
17
Get publishing information for objects `info.txt` and `file2upload.txt`
18 18

  
19 19
.. code-block:: console
20 20

  
......
28 28
    last-modified:              Mon, 17 Jun 2013 13:09:44 GMT
29 29
    server:                     gunicorn/0.14.5
30 30
    vary:                       X-Auth-Token,Accept-Language,Accept-Encoding
31
    x-object-hash:              e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
31
    x-object-hash:              e3b0c44298fc1c14....ca495991b7852b855
32 32
    x-object-modified-by:       s0m3-u53r-1d
33 33
    x-object-public:            https://example.com/pithos/public/14lhJnAhVU7
34 34
    x-object-uuid:              0493f1d9-9410-4f4b-a81f-fe42f9cefa70
......
44 44
    last-modified:              Mon, 17 Jun 2013 13:09:44 GMT
45 45
    server:                     gunicorn/0.14.5
46 46
    vary:                       X-Auth-Token,Accept-Language,Accept-Encoding
47
    x-object-hash:              f3b0c44298fc1c149afbf4c8996df92427ae41e4649b934ca495991b7852b857
47
    x-object-hash:              f3b0c44298fc1c149af...a495991b7852b857
48 48
    x-object-modified-by:       s0m3-u53r-1d
49 49
    x-object-uuid:              0493f1d9-9410-4f4b-a81f-fe42f9cefa70
50 50
    x-object-version:           1085
51 51
    x-object-version-timestamp: Mon, 17 Jun 2013 13:09:44 GMT
52 52
    [file]:
53 53

  
54
.. note:: The first object contains a "x-object-public" field, therefore is
54
.. note:: The first object contains an "x-object-public" field, therefore is
55 55
    published
56 56

  
57 57
Unpublish info.txt, publish file2upload.txt
......
66 66
Modify permissions
67 67
------------------
68 68

  
69
Check current permissions. If none set, the object is unrestricted
69
Get current permissions. If none set, the object inherits permissions from the
70
container and account (in that order).
70 71

  
71 72
.. code-block:: console
72 73

  

Also available in: Unified diff