9
submitted 10 months ago by rimu@piefed.social to c/piefed_api@piefed.social

This is ready for testing on crust.piefed.social. I've made two testing posts in the testing community

In the API they show up as extra data on a post. For example here https://crust.piefed.social/api/alpha/post/list?community_name=test%40crust.piefed.social you'll see this for event posts:

GtQa90oNvDcKyW5.png

and this for poll posts:

RQIMWGmG1aQkUu5.png

Other types of post will not have that data present, not even as an empty object or null. Let me know if that causes you problems.

As always, the full API spec is at https://crust.piefed.social/api/alpha/swagger including how to add or edit those types of post. It's the same data structure as getting a post.

you are viewing a single comment's thread
view the rest of the comments
[-] Blaze@piefed.zip 2 points 10 months ago
this post was submitted on 13 Nov 2025
9 points (100.0% liked)

PieFed API & mobile app dev

175 readers
1 users here now

Announcements and discussions about the PieFed API - changes, improvements and general co-ordination between the frontend developers and the core of PieFed.

founded 1 year ago
MODERATORS