Module Karakeep.Client

val put_admin_users : user_id:string -> body:Jsont.json -> t -> unit -> Jsont.json

Update user

Update a user's role, bookmark quota, or storage quota. Admin access required.

val get_assets : asset_id:string -> t -> unit -> Jsont.json

Get a single asset

Get asset by its id

val post_backups : t -> unit -> Jsont.json

Trigger a new backup

Trigger a new backup

val get_backups : backup_id:string -> t -> unit -> Jsont.json

Get a single backup

Get backup by its id

val delete_backups : backup_id:string -> t -> unit -> Jsont.json

Delete a backup

Delete backup by its id

val get_backups_download : backup_id:string -> t -> unit -> Jsont.json

Download a backup

Download backup file

val delete_bookmarks : bookmark_id:string -> t -> unit -> Jsont.json

Delete a bookmark

Delete bookmark by its id

val patch_bookmarks : bookmark_id:string -> body:Jsont.json -> t -> unit -> Jsont.json

Update a bookmark

Update bookmark by its id

val post_bookmarks_assets : bookmark_id:string -> body:Jsont.json -> t -> unit -> Jsont.json

Attach asset

Attach a new asset to a bookmark

val put_bookmarks_assets : bookmark_id:string -> asset_id:string -> body:Jsont.json -> t -> unit -> Jsont.json

Replace asset

Replace an existing asset with a new one

val delete_bookmarks_assets : bookmark_id:string -> asset_id:string -> t -> unit -> Jsont.json

Detach asset

Detach an asset from a bookmark

val get_bookmarks_highlights : bookmark_id:string -> t -> unit -> Jsont.json

Get highlights of a bookmark

Get highlights of a bookmark

val get_bookmarks_lists : bookmark_id:string -> t -> unit -> Jsont.json

Get lists of a bookmark

Get lists of a bookmark

val post_bookmarks_summarize : bookmark_id:string -> t -> unit -> Jsont.json

Summarize 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.json

Attach tags to a bookmark

Attach tags to a bookmark

val delete_bookmarks_tags : bookmark_id:string -> t -> unit -> Jsont.json

Detach tags from a bookmark

Detach tags from a bookmark

val get_lists : t -> unit -> Jsont.json

Get all lists

Get all lists

val delete_lists : list_id:string -> t -> unit -> Jsont.json

Delete a list

Delete list by its id

val put_lists_bookmarks : list_id:string -> bookmark_id:string -> t -> unit -> Jsont.json

Add a bookmark to a list

Add the bookmarks to a list

val delete_lists_bookmarks : list_id:string -> bookmark_id:string -> t -> unit -> Jsont.json

Remove 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.json

Get all tags

Get all tags

val post_tags : body:Jsont.json -> t -> unit -> Jsont.json

Create a new tag

Create a new tag

val delete_tags : tag_id:string -> t -> unit -> Jsont.json

Delete a tag

Delete tag by its id

val patch_tags : tag_id:string -> body:Jsont.json -> t -> unit -> Jsont.json

Update a tag

Update tag by its id

val get_users_me : t -> unit -> Jsont.json

Get current user info

Returns info about the current user

val get_users_me_stats : t -> unit -> Jsont.json

Get current user stats

Returns stats about the current user