Endpoint to get metadata about a url

submitted by

/api/alpha/post/site_metadata

e.g. https://crust.piefed.social/api/alpha/post/site_metadata?url=https://edition.cnn.com/2025/12/02/politics/second-strike-drug-boat-trump-hegseth

It functions identically to Lemmy’s endpoint of the same name although embed_video_url is never populated.


Over the last few days there’s been a raft of other API changes too, to do with

  • The new Gen AI filter (user settings to determine), an AI label on posts, etc.
  • Marking comments as an answer. Each comment has an answer boolean on it and there’s an endpoint to toggle it. Also you can change whether a community is a Q n A community or not in the community edit endpoint.
0
7

Log in to comment

Insert image