How to get "Description" and "Last Updated By" value via API?

新規投稿

コメント

2件のコメント

  • Peter Christensen

    Hi Hideki

    You should be able to retrieve the email from the 'uploader_display_name' field and description from the 'description' field
    https://api.box.com/2.0/files/123?fields=modified_by,created_by,uploader_display_name,description

    Gives 

    {
    "type": "file",
    "id": "123",
    "etag": "1",
    "modified_by": {
    "type": "user",
    "id": "2",
    "name": "Anonymous User",
    "login": ""
    },
    "created_by": {
    "type": "user",
    "id": "2",
    "name": "Anonymous User",
    "login": ""
    },
    "uploader_display_name": "peter@peter.com",
    "description": "213"
    }

    If you don't require the upload to enter an email address the 'uploader_display_name' will be 'File Request' as below

    "uploader_display_name": "File Request"

     

    Best Regards, Peter Christensen, Platform Solutions Engineer, Box

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

    Hello Peter,

    Thanks, that's what I wanted! :-)

     

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

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