this post was submitted on 11 Sep 2023
6 points (100.0% liked)
Photon
263 readers
1 users here now
The community for the Photon Lemmy client.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I’d love that!
Not sure what a ‘crossposts property in PostView’ means, but if there’s a Lemmy issue to track that I’ll be keeping an eye on it.
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.