I think GET /api/v3/resolve_object
should work:
curl --url-query q=https://feddit.org/post/2401677 \
https://lemmy.ml/api/v3/resolve_object \
| jq .
(note that the value of q
is url-encoded by --url-query
)
Support / questions about Lemmy.
I think GET /api/v3/resolve_object
should work:
curl --url-query q=https://feddit.org/post/2401677 \
https://lemmy.ml/api/v3/resolve_object \
| jq .
(note that the value of q
is url-encoded by --url-query
)
You might want to have a look at this: https://greasyfork.org/en/scripts/469273-lemmy-universal-link-switcher
https://gitlab.com/azzurite/lemmy-universal-link-switcher
Maybe it can help you
That script works very well with violentmonkey. But not with greasymonkey.
Violentmonkey is better anyway
you might need this feature before it can be done easily https://github.com/LemmyNet/lemmy/issues/2987