Get Link details by URL #656
prplecake
started this conversation in
Ideas & Feature Requests
Replies: 1 comment 2 replies
-
If you're using the API, you could use the search endpoint with a full URL. If the result is empty, the link does not exists. curl --request GET \
--url 'https://demo.linkace.org/api/v1/search/links?query=https%3A%2F%2Fdev.to%2Fkovah%2Fhow-i-built-a-web-tool-for-gamers-3hp' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer s9anum7ODLsxbMQCr4WnYSahCEZViFEB' |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I'm working on a browser extension for LinkAce, which I'm modeling pretty heavily after Pinboard+ right now. One of the features from Pinboard+ is the ability to update or delete links from the extension. This is possible because the Pinboard API allows you to get information on a link if it exists.
Right now to implement similar functionality, I'd have to get all links and grep that for the current URL, which seems wasteful.
Let me know if you're open to this, if I can find time in the coming weeks I might even be able to submit a PR.
Beta Was this translation helpful? Give feedback.
All reactions