this post was submitted on 11 Sep 2023
6 points (100.0% liked)
Photon
2 readers
8 users here now
The community for the Photon Lemmy client.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
To be able to see what a post is crossposted to, the API returns those things.
When getting a single post, it returns a PostResponse, which includes a list of crossposts.
When getting posts in a list though, it only gives me a list of PostViews. This doesn't have the crossposts property I need, so I can't tell what this has been crossposted to.
A solution would be a property like "crosspost_ids" with a list of post IDs. This would still work.