Karakeep.Clientval put_admin_users :
user_id:string ->
body:Jsont.json ->
t ->
unit ->
Jsont.jsonUpdate user
Update a user's role, bookmark quota, or storage quota. Admin access required.
val get_assets : asset_id:string -> t -> unit -> Jsont.jsonGet a single asset
Get asset by its id
val post_backups : t -> unit -> Jsont.jsonTrigger a new backup
Trigger a new backup
val get_backups : backup_id:string -> t -> unit -> Jsont.jsonGet a single backup
Get backup by its id
val delete_backups : backup_id:string -> t -> unit -> Jsont.jsonDelete a backup
Delete backup by its id
val get_backups_download : backup_id:string -> t -> unit -> Jsont.jsonDownload a backup
Download backup file
val delete_bookmarks : bookmark_id:string -> t -> unit -> Jsont.jsonDelete a bookmark
Delete bookmark by its id
val patch_bookmarks :
bookmark_id:string ->
body:Jsont.json ->
t ->
unit ->
Jsont.jsonUpdate a bookmark
Update bookmark by its id
val post_bookmarks_assets :
bookmark_id:string ->
body:Jsont.json ->
t ->
unit ->
Jsont.jsonAttach asset
Attach a new asset to a bookmark
val put_bookmarks_assets :
bookmark_id:string ->
asset_id:string ->
body:Jsont.json ->
t ->
unit ->
Jsont.jsonReplace asset
Replace an existing asset with a new one
val delete_bookmarks_assets :
bookmark_id:string ->
asset_id:string ->
t ->
unit ->
Jsont.jsonDetach asset
Detach an asset from a bookmark
val get_bookmarks_highlights : bookmark_id:string -> t -> unit -> Jsont.jsonGet highlights of a bookmark
Get highlights of a bookmark
val get_bookmarks_lists : bookmark_id:string -> t -> unit -> Jsont.jsonGet lists of a bookmark
Get lists of a bookmark
val post_bookmarks_summarize : bookmark_id:string -> t -> unit -> Jsont.jsonSummarize a bookmark
Attaches a summary to the bookmark and returns the updated record.
val post_bookmarks_tags :
bookmark_id:string ->
body:Jsont.json ->
t ->
unit ->
Jsont.jsonAttach tags to a bookmark
Attach tags to a bookmark
val delete_bookmarks_tags : bookmark_id:string -> t -> unit -> Jsont.jsonDetach tags from a bookmark
Detach tags from a bookmark
val get_lists : t -> unit -> Jsont.jsonGet all lists
Get all lists
val delete_lists : list_id:string -> t -> unit -> Jsont.jsonDelete a list
Delete list by its id
val put_lists_bookmarks :
list_id:string ->
bookmark_id:string ->
t ->
unit ->
Jsont.jsonAdd a bookmark to a list
Add the bookmarks to a list
val delete_lists_bookmarks :
list_id:string ->
bookmark_id:string ->
t ->
unit ->
Jsont.jsonRemove a bookmark from a list
Remove the bookmarks from a list
val get_tags :
?name_contains:string ->
?sort:string ->
?attached_by:string ->
?cursor:string ->
?limit:string ->
t ->
unit ->
Jsont.jsonGet all tags
Get all tags
val post_tags : body:Jsont.json -> t -> unit -> Jsont.jsonCreate a new tag
Create a new tag
val delete_tags : tag_id:string -> t -> unit -> Jsont.jsonDelete a tag
Delete tag by its id
val patch_tags : tag_id:string -> body:Jsont.json -> t -> unit -> Jsont.jsonUpdate a tag
Update tag by its id
val get_users_me : t -> unit -> Jsont.jsonGet current user info
Returns info about the current user
val get_users_me_stats : t -> unit -> Jsont.jsonGet current user stats
Returns stats about the current user