community

Approve or reject a Community post

Changed on

Approved, it shows to everyone on a paid path and its author gets a push (the first time only). Rejected, it disappears from the Community, also for its author; an approved post can be rejected later.

put/api/community/moderation/{post_id}

Request

  • Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
  • URL: https://api.corabea.it/api/community/moderation/{post_id}
  • Auth: HTTP bearer

Path parameters

post_idstring uuid required

Request body

status'approved' | 'rejected' required
notestring nullable

Response

Successful Response

idstring required
user_idstring required
first_namestring nullable
last_namestring nullable
emailstring nullable
categorystring required
titlestring required
quotestring required
author_namestring nullable
status'pending' | 'approved' | 'rejected' required
review_notestring nullable
reviewed_by_user_idstring nullable
reviewed_atstring date-time nullable
helped_countinteger
created_atstring date-time required

Changes