nmtake@lemm.eetoLemmy Support@lemmy.ml•How to switch a lemmy/fediverse post (link) to one's home instance eg using a bookmarklet?
4·
4 months agoI 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
)
Oddly, the endpoint on lemm.el and lemmy.ml return comments:
I think it would be better to ask the admin of the instance before creating the issue.