Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type date = Dropbox_t.date
type metadata_root = Dropbox_t.metadata_root
type photo_info_variant = Dropbox_t.photo_info_variant
type video_info_variant = Dropbox_t.video_info_variant
type metadata = Dropbox_t.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;
read_only : bool;
modifier : user option;
}
type visibility = Dropbox_t.visibility
type uri = Dropbox_t.uri
type metadata_list = Dropbox_t.metadata_list
type info = Dropbox_t.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 delta_json = Dropbox_t.delta_json = {
entries : (string * metadata option) list;
reset : bool;
cursor : string;
has_more : bool;
}
val read_date : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> date
Input JSON data of type date
.
val string_of_group : ?len:int -> group -> string
Serialize a value of type group
into a JSON string.
val read_group : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> group
Input JSON data of type group
.
val read_json : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> json
Input JSON data of type json
.
val write_metadata_root : Bi_outbuf.t -> metadata_root -> unit
Output a JSON value of type metadata_root
.
val string_of_metadata_root : ?len:int -> metadata_root -> string
Serialize a value of type metadata_root
into a JSON string.
val read_metadata_root :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
metadata_root
Input JSON data of type metadata_root
.
val metadata_root_of_string : string -> metadata_root
Deserialize JSON data of type metadata_root
.
val write_photo_info_variant : Bi_outbuf.t -> photo_info_variant -> unit
Output a JSON value of type photo_info_variant
.
val string_of_photo_info_variant : ?len:int -> photo_info_variant -> string
Serialize a value of type photo_info_variant
into a JSON string.
val read_photo_info_variant :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
photo_info_variant
Input JSON data of type photo_info_variant
.
val photo_info_variant_of_string : string -> photo_info_variant
Deserialize JSON data of type photo_info_variant
.
val read_user : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> user
Input JSON data of type user
.
val string_of_user_info : ?len:int -> user_info -> string
Serialize a value of type user_info
into a JSON string.
val read_user_info :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
user_info
Input JSON data of type user_info
.
Output a JSON value of type shared_folder
.
Serialize a value of type shared_folder
into a JSON string.
Input JSON data of type shared_folder
.
Deserialize JSON data of type shared_folder
.
val write_video_info_variant : Bi_outbuf.t -> video_info_variant -> unit
Output a JSON value of type video_info_variant
.
val string_of_video_info_variant : ?len:int -> video_info_variant -> string
Serialize a value of type video_info_variant
into a JSON string.
val read_video_info_variant :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
video_info_variant
Input JSON data of type video_info_variant
.
val video_info_variant_of_string : string -> video_info_variant
Deserialize JSON data of type video_info_variant
.
val string_of_metadata : ?len:int -> metadata -> string
Serialize a value of type metadata
into a JSON string.
val read_metadata : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> metadata
Input JSON data of type metadata
.
val write_visibility : Bi_outbuf.t -> visibility -> unit
Output a JSON value of type visibility
.
val string_of_visibility : ?len:int -> visibility -> string
Serialize a value of type visibility
into a JSON string.
val read_visibility :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
visibility
Input JSON data of type visibility
.
val visibility_of_string : string -> visibility
Deserialize JSON data of type visibility
.
val string_of_token : ?len:int -> token -> string
Serialize a value of type token
into a JSON string.
val read_token : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> token
Input JSON data of type token
.
val read_team : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> team
Input JSON data of type team
.
Output a JSON value of type shared_link
.
Serialize a value of type shared_link
into a JSON string.
Input JSON data of type shared_link
.
Deserialize JSON data of type shared_link
.
Output a JSON value of type shared_folders
.
Serialize a value of type shared_folders
into a JSON string.
Input JSON data of type shared_folders
.
Deserialize JSON data of type shared_folders
.
val write_quota_info : Bi_outbuf.t -> quota_info -> unit
Output a JSON value of type quota_info
.
val string_of_quota_info : ?len:int -> quota_info -> string
Serialize a value of type quota_info
into a JSON string.
val read_quota_info :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
quota_info
Input JSON data of type quota_info
.
val quota_info_of_string : string -> quota_info
Deserialize JSON data of type quota_info
.
val write_name_details : Bi_outbuf.t -> name_details -> unit
Output a JSON value of type name_details
.
val string_of_name_details : ?len:int -> name_details -> string
Serialize a value of type name_details
into a JSON string.
val read_name_details :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
name_details
Input JSON data of type name_details
.
val name_details_of_string : string -> name_details
Deserialize JSON data of type name_details
.
val write_metadata_list : Bi_outbuf.t -> metadata_list -> unit
Output a JSON value of type metadata_list
.
val string_of_metadata_list : ?len:int -> metadata_list -> string
Serialize a value of type metadata_list
into a JSON string.
val read_metadata_list :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
metadata_list
Input JSON data of type metadata_list
.
val metadata_list_of_string : string -> metadata_list
Deserialize JSON data of type metadata_list
.
val write_longpoll_delta : Bi_outbuf.t -> longpoll_delta -> unit
Output a JSON value of type longpoll_delta
.
val string_of_longpoll_delta : ?len:int -> longpoll_delta -> string
Serialize a value of type longpoll_delta
into a JSON string.
val read_longpoll_delta :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
longpoll_delta
Input JSON data of type longpoll_delta
.
val longpoll_delta_of_string : string -> longpoll_delta
Deserialize JSON data of type longpoll_delta
.
val read_link : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> link
Input JSON data of type link
.
val write_latest_cursor : Bi_outbuf.t -> latest_cursor -> unit
Output a JSON value of type latest_cursor
.
val string_of_latest_cursor : ?len:int -> latest_cursor -> string
Serialize a value of type latest_cursor
into a JSON string.
val read_latest_cursor :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
latest_cursor
Input JSON data of type latest_cursor
.
val latest_cursor_of_string : string -> latest_cursor
Deserialize JSON data of type latest_cursor
.
val read_info : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> info
Input JSON data of type info
.
val write_error_description : Bi_outbuf.t -> error_description -> unit
Output a JSON value of type error_description
.
val string_of_error_description : ?len:int -> error_description -> string
Serialize a value of type error_description
into a JSON string.
val read_error_description :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
error_description
Input JSON data of type error_description
.
val error_description_of_string : string -> error_description
Deserialize JSON data of type error_description
.
val write_delta_json : Bi_outbuf.t -> delta_json -> unit
Output a JSON value of type delta_json
.
val string_of_delta_json : ?len:int -> delta_json -> string
Serialize a value of type delta_json
into a JSON string.
val read_delta_json :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
delta_json
Input JSON data of type delta_json
.
val delta_json_of_string : string -> delta_json
Deserialize JSON data of type delta_json
.
val string_of_copy_ref : ?len:int -> copy_ref -> string
Serialize a value of type copy_ref
into a JSON string.
val read_copy_ref : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> copy_ref
Input JSON data of type copy_ref
.
val write_chunked_upload : Bi_outbuf.t -> chunked_upload -> unit
Output a JSON value of type chunked_upload
.
val string_of_chunked_upload : ?len:int -> chunked_upload -> string
Serialize a value of type chunked_upload
into a JSON string.
val read_chunked_upload :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
chunked_upload
Input JSON data of type chunked_upload
.
val chunked_upload_of_string : string -> chunked_upload
Deserialize JSON data of type chunked_upload
.