コメント

4件のコメント

  • Rui Barbosa

    Hi Yuta,

    There is a preview and download count in the shared link of the file object.

    This is assuming the file is shared.

    So for example if I list a file:

    ❯ box files:get 1127033253925  --as-user 18622116055 --fields type,id,name,shared_link
    Type: file
    ID: '1127033253925'
    Name: file_example_AVI_1280_1_5MG.avi
    Shared Link:
        URL: 'https://app.box.com/s/z9r2mntj3beuxs5rtw4do8dlkqgeqj35'
        Download URL: 'https://app.box.com/shared/static/z9r2mntj3beuxs5rtw4do8dlkqgeqj35.avi'
        Vanity URL: null
        Vanity Name: null
        Effective Access: open
        Effective Permission: can_download
        Is Password Enabled: false
        Unshared At: null
        Download Count: 2
        Preview Count: 1
        Access: open
        Permissions:
            Can Preview: true
            Can Download: true
            Can Edit: false

    Not sure about your use case, let us know if this helps.

    Best regards

    1
    コメントアクション パーマリンク
  • Yuta Okutani

    Rui san.
    Thanks for answering.
    (*‘∀‘)


    You can see how many times it has been downloaded.
    But you don't know who downloaded it.

    Is there a way to know who downloaded it?

    0
    コメントアクション パーマリンク
  • Rui Barbosa

    Hi Yuta,

    I was looking around for it in the REST API or SDK's but I couldn't find it.

    I do see it on the box app though.

     

    Looks like it is not supported by the API.

    1
    コメントアクション パーマリンク
  • Yuta Okutani

    Hi Rui san.
    Thanks for answering!

    It seems so.
    I'll try to think of another way.

    ('ω')ノ

    0
    コメントアクション パーマリンク

サインインしてコメントを残してください。