this post was submitted on 11 Jun 2023
4 points (100.0% liked)

Asklemmy

43831 readers
1178 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
 

Hi I'm looking for how to make some bookmarklets to browse a few things in a different way. Is there some way to at least get a json of a post/community/user to view some info that isn't readily available on the UI?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] god@sh.itjust.works 1 points 1 year ago

yeah there' is a lot of info there i found that is hidden on the UI but it's not enough to switch a post's url to another instance sadly. Seems there's no permlink or unique ID that is searchable, only a post id on the local server and a post id on the remote server but there's nothing like /c/community/permlink, it's all post/numbers and the numbers are different on each instance

here's an example response from the api when u get a post or comment:

https://sh.itjust.works/api/v3/post?id=1000