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

PieFed API & mobile app dev

72 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 3 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 2 comments
sorted by: hot top controversial new old
[–] wjs018@piefed.social 3 points 3 weeks ago (1 children)

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

If anybody wants to weigh in on this:

[–] sjmarf@lemmy.ml 3 points 3 weeks ago

Awesome! Great job, this’ll be super useful :)