Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API request: Support preview endpoint for individual raindrop #71

Open
azaslavsky opened this issue Apr 12, 2023 · 0 comments
Open

API request: Support preview endpoint for individual raindrop #71

azaslavsky opened this issue Apr 12, 2023 · 0 comments

Comments

@azaslavsky
Copy link

azaslavsky commented Apr 12, 2023

The API docs currently support pulling down the permanent copy of a single raindrop via the developer API for PRO users like so: https://api.raindrop.io/rest/v1/raindrop/{id}/cache. However, it is not possible to get the "preview" version of the bookmark in question in this manner. I notice that there is already an internal endpoint, used by the app's preview iframe, structured like: https://api.raindrop.io/v1/raindrop/preview/{id}. Would it be possible to expose this endpoint (for PRO users, of course) in the developer API as well?

My use case is as follows: my main use for raindrop is to bookmark and tag interesting articles from around the web for import into my personal knowledge base (Obsidian). I have a sync script that pulls each new raindrop once it's created (ie, there is only ever one pull per article) and stores the permanent copy locally. The permanent copy, though, is just the entirety of the HTML at the time of bookmarking - this creates a lot of cruft in my local database, and requires a lot of processing to avoid producing very large files. The preview view is much cleaner, keeping only the most important parts of the article, while discarding useless bits like styling and navigation.

@azaslavsky azaslavsky changed the title API request: API request: Support preview endpoint for individual raindrop Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant