Retrieve the watermark for a folder.
0
The unique identifier that represent a folder.
The ID for any folder can be determined
by visiting this folder in the web application
and copying the ID from the URL. For example,
for the URL https://*.app.box.com/folder/123
the folder_id
is 123
.
The root folder of a Box account is
always represented by the ID 0
.
Returns an object containing information about the watermark associated for to this folder.
Returns an error if the folder does not have a watermark applied.
An unexpected client error.
curl -X GET https://api.box.com/2.0/folders/4353455/watermark \
-H 'Authorization: Bearer <ACCESS_TOKEN>'
BoxWatermark watermark = await client.FoldersManager.GetWatermarkAsync("22222");
BoxFolder folder = new BoxFolder(api, id);
BoxWatermark watermark = folder.getWatermark();
watermark = client.folder(folder_id='11111').get_watermark()
print('Watermark created at {0} and modified at {1}'.format(watermark.created_at, watermark.modified_at))
client.folders.getWatermark('22222')
.then(watermark => {
/* watermark -> {
watermark:
{ created_at: '2016-10-31T15:33:33-07:00',
modified_at: '2016-10-31T15:33:33-07:00' } }
*/
});