Reset Password
Check your e-mail for further instructions.
Reset
Field | Description |
parentfolderid | integer is the folderid of the folder the object resides in |
isfolder | bool is it a folder(true) or file(false) |
ismine | bool is the object owned by the user if ismine is false than four other bool fields are provided:
This userid can be matched with userid's provided by either listshares method or acceptedsharein/acceptedshareout events by diff method. |
isshared | bool is the object shared with other users |
name | string the name of file or folder |
id | string unique string id. For folders this is folderid prepended with letter d and for files it is the fileid with f in front. |
folderid | for folders the folderid of the folder |
fileid | for files file's fileid |
deletedfileid | string It is possible that as a result of renamefile operation a file with the same name gets deleted (e.g. file old.txt is renamed to new.txt when new.txt already exists in this folder). In these cases deletedfileid is set to fileid of the deleted file. |
created | timestamp creation date of the object |
modified | timestamp modification date of the object |
icon | string name of the icon to display (one of document, database, archive, web, gis, spreadsheet, font, presentation, image, diskimage, package, executable, audio, video, file) |
category | int category of the file can be one of:
|
thumb | bool true if thumbs can be created from the object |
size | int size in bytes, present only for files |
contenttype | string content-type of the file, present only for files |
hash | int 64 bit integer representing hash of the contents of the file can be used to determine if two files are the same or to monitor file contents for changes. Present only for files. |
contents | array array of metadata objects representing contents of the directory |
isdeleted | bool isdeleted is never false, it is present only for deleted objects, only when deleted objects are requested |
path | string Full path might be provided in some cases. If you work with paths and request folders by path, it will be provided. Recursive listings do not have path provided. |
Optionally image files may have:
Field | Description |
width | int width of the image in pixels |
height | int height of the image of pixels |
Optionally audio files may have:
Field | Description |
artist | string |
album | string |
title | string |
genre | string |
trackno | string |
Optionally video files may have:
Field | Description |
width | int width of the video in pixels |
height | int height of the video of pixels |
duration | float duration of the video in seconds (floating point number sent as string) |
fps | float frames per second rate of the video (floating point number sent as string) |
videocodec | string codec used for enconding of the video |
audiocodec | string codec used for enconding of the audio |
videobitrate | int bitrate of the video in kilobits |
audiobitrate | int bitrate of the audio in kilobits |
audiosamplerate | int sampling rate of the audio in Hz |
rotate | int indicates that video should be rotated (0, 90, 180 or 270) degrees when playing |
{ "created": "Wed, 02 Oct 2013 13:11:53 +0000", "isfolder": true, "parentfolderid": 0, "icon": "folder", "id": "d230807", "path": "\/new folder", "modified": "Wed, 02 Oct 2013 13:11:53 +0000", "thumb": false, "folderid": 230807, "isshared": false, "ismine": true, "name": "new folder" }
{ "ismine": true, "hash": 14802317402369427389, "id": "f744", "parentfolderid": 73, "category": 2, "fps": "25.00", "audiobitrate": 189, "icon": "video", "created": "Fri, 26 Apr 2013 13:48:00 +0000", "audiocodec": "aac", "videocodec": "h264", "size": 182339732, "name": "Octane Team 2013 Winter Rally Training.mp4", "duration": "245.33", "audiosamplerate": 48000, "rotate": 0, "width": 1280, "videobitrate": 5737, "height": 720, "isshared": false, "fileid": 744, "contenttype": "video\/mp4", "isfolder": false, "modified": "Fri, 26 Apr 2013 14:52:02 +0000", "thumb": true }