Get File Property

    Gets properties of the file or folder that corresponds to resourceKey.

    Request URL

    https://apis.worksmobile.com/r/{API ID}/drive/rl/{resourceLocation}/v2/files/{resourceKey}

    HTTP Method

    GET

    Request

    Path Parameters

    Parameter Type Required Description
    resourceLocation Integer Y Location code that corresponds to resourceKey
    resourceKey String Y Resource key of the resource of which you want to get properties

    Query Parameters

    None

    Request Body

    None

    Request Example

    GET https://apis.worksmobile.com/r/{API ID}/drive/rl/24101/v2/files/MTQ1MDMwMDJ8NzUzODE4MTAxMjU2fEZ8MA
    

    Response

    Refer to Resource.

    Response Example

    {
      "resourceSize" : 29505,
      "resourceKey" : "MTQ1MDMwMDJ8NzUzODE4MTAxMjU2fEZ8MA",
      "resourceLocation" : 24101,
      "resourceType" : "file",
      "resourcePath" : "/123123123123/3472376459836774405_thumbnail.jpg",
      "fileType" : "image",
      "folderType" : "my",
      "createDate" : 1564470793000,
      "updateDate" : 1547601727000,
      "accessDate" : 1564470793000,
      "updateUser" : "Kim Min",
      "hasExif" : true,
      "hasThumbnail" : true,
      "uploaded" : true,
      "locked" : false,
      "virus" : "none",
      "memberShare" : null,
      "linkShare" : null,
      "group" : null,
      "protected" : false
    }