this post was submitted on 22 Jul 2025
12 points (100.0% liked)

PieFed API & mobile app dev

81 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 2 weeks ago
MODERATORS
 

POST /community/moderate/ban was using expiredAt while the rest of the API is in snake_case. Also some of the response was not in snake case either, so I tided that up.

PUT /community/moderate/unban is also affected. (why is it a PUT??)

GET /community/moderate/bans now uses snake case.

We're cooking up an automatically-updated swagger / openapi solution right now, please bear with us.

top 1 comments
sorted by: hot top controversial new old
[–] wjs018@piefed.social 3 points 1 week ago

We're cooking up an automatically-updated swagger / openapi solution right now

If anybody wants to weigh in on this: