Module Dropbox_t
type date
= Dropbox_date.t
type group
=
{
group_name : string;
group_id : string;
num_members : int;
}
type json
= Yojson.Safe.json
type metadata_root
=[
|
`Dropbox
|
`App_folder
]
type photo_info_variant
= Dropbox_json.Photo.t
type user
=
{
uid : int;
display_name : string;
same_team : bool;
member_id : string;
}
type user_info
=
{
user : user;
access_type : string;
active : bool;
}
type video_info_variant
= Dropbox_json.Video.t
type metadata
=
{
size : string;
bytes : int;
mime_type : string;
path : string;
is_dir : bool;
is_deleted : bool;
rev : string;
hash : string;
thumb_exists : bool;
photo_info : photo_info_variant;
video_info : video_info_variant;
icon : string;
modified : date option;
client_mtime : date option;
root : metadata_root;
contents : metadata list;
shared_folder : shared_folder option;
read_only : bool;
parent_shared_folder_id : int;
modifier : user option;
}
type visibility
= Dropbox_json.Visibility.t
type uri
= Uri.t
type token
=
{
access_token : string;
}
type team
=
{
name : string;
team_id : int;
}
type quota_info
=
{
shared : int;
quota : int;
normal : int;
}
type name_details
=
{
familiar_name : string;
given_name : string;
surname : string;
}
type metadata_list
= metadata list
type longpoll_delta
=
{
changes : bool;
backoff : int option;
}
type link
=
{
url : string;
expires : date;
}
type latest_cursor
=
{
latest_cursor : string;
}
type info
=
{
uid : int;
display_name : string;
email_verified : bool;
name_details : name_details;
referral_link : uri;
country : string;
locale : string;
is_paired : bool;
team : team option;
quota_info : quota_info;
}
type error_description
=
{
error : string;
error_description : string;
}
type delta_json
=
{
entries : (string * metadata option) list;
reset : bool;
cursor : string;
has_more : bool;
}
type copy_ref
=
{
copy_ref : string;
expires : date;
}
type chunked_upload
=
{
id : string;
ofs : int;
expires : date;
}