ファイルの電子すかしを取得します。
curl -i -X GET "https://api.box.com/2.0/files/12345/watermark" \
-H "Authorization: Bearer <ACCESS_TOKEN>"
BoxWatermark watermark = await client.FilesManager.GetWatermarkAsync("11111");
BoxFile file = new BoxFile(api, id);
BoxWatermark watermark = file.getWatermark();
watermark = client.file(file_id='12345').get_watermark()
print(f'Watermark created at {watermark.created_at} and modified at {watermark.modified_at}')
client.files.getWatermark('11111')
.then(watermark => {
/* watermark -> {
watermark:
{ created_at: '2016-10-31T15:33:33-07:00',
modified_at: '2016-10-31T15:33:33-07:00' } }
*/
});
{
"watermark": {
"created_at": "2012-12-12T10:53:43-08:00",
"modified_at": "2012-12-12T10:53:43-08:00"
}
}