Skip to content

FR: Add stats endpoint to the API #1113

@MohamedBassem

Description

@MohamedBassem

Discussed in #1111

Originally posted by vhsdream March 11, 2025
I'm in the process of creating a Hoarder widget for homepage - discussion here, and I'm wondering if there is a way to return all bookmarks in a single API call. I've noted that without the limit parameter, it only returns the first 20; and if I use the parameter the maximum is capped at 100. I want to be able to return all of them just so I can display the total number of bookmarks in the widget. Which I suppose is not very efficient once you start to have thousands of bookmarks.

Since I actually have no training in Javascript or Typescript there is perhaps a better way of getting the info I need, or of somehow managing to do multiple sequential API calls in homepage's implementation; but I thought I'd ask in case I'm missing something simple.

Metadata

Metadata

Assignees

Labels

feature requestNew feature or requestpri/lowLow priority issuestatus/approvedThis issue is ready to be implemented

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions