package dropbox

  1. Overview
  2. Docs
type date = Dropbox_date.t
type group = {
  1. group_name : string;
  2. group_id : string;
  3. num_members : int;
}
type json = Yojson.Safe.json
type metadata_root = [
  1. | `Dropbox
  2. | `App_folder
]
type photo_info_variant = Dropbox_json.Photo.t
type user = {
  1. uid : int;
  2. display_name : string;
  3. same_team : bool;
  4. member_id : string;
}
type user_info = {
  1. user : user;
  2. access_type : string;
  3. active : bool;
}
type shared_folder = {
  1. shared_folder_id : string;
  2. shared_folder_name : string;
  3. path : string;
  4. access_type : string;
  5. owner : user option;
  6. membership : user_info list;
  7. groups : group list;
}
type video_info_variant = Dropbox_json.Video.t
type metadata = {
  1. size : string;
  2. bytes : int;
  3. mime_type : string;
  4. path : string;
  5. is_dir : bool;
  6. is_deleted : bool;
  7. rev : string;
  8. hash : string;
  9. thumb_exists : bool;
  10. photo_info : photo_info_variant;
  11. video_info : video_info_variant;
  12. icon : string;
  13. modified : date option;
  14. client_mtime : date option;
  15. root : metadata_root;
  16. contents : metadata list;
  17. shared_folder : shared_folder option;
  18. read_only : bool;
  19. parent_shared_folder_id : int;
  20. modifier : user option;
}
type visibility = Dropbox_json.Visibility.t
type uri = Uri.t
type token = {
  1. access_token : string;
}
type team = {
  1. name : string;
  2. team_id : int;
}
type shared_folders = shared_folder list
type quota_info = {
  1. shared : int;
  2. quota : int;
  3. normal : int;
}
type name_details = {
  1. familiar_name : string;
  2. given_name : string;
  3. surname : string;
}
type metadata_list = metadata list
type longpoll_delta = {
  1. changes : bool;
  2. backoff : int option;
}
type latest_cursor = {
  1. latest_cursor : string;
}
type info = {
  1. uid : int;
  2. display_name : string;
  3. email_verified : bool;
  4. name_details : name_details;
  5. country : string;
  6. locale : string;
  7. is_paired : bool;
  8. team : team option;
  9. quota_info : quota_info;
}
type error_description = {
  1. error : string;
  2. error_description : string;
}
type delta_json = {
  1. entries : (string * metadata option) list;
  2. reset : bool;
  3. cursor : string;
  4. has_more : bool;
}
type copy_ref = {
  1. copy_ref : string;
  2. expires : date;
}
type chunked_upload = {
  1. id : string;
  2. ofs : int;
  3. expires : date;
}