Community

Edit your own post

patch/api/v1/community/posts/{postId}

Request

  • Base URL: https://api-docs.busabase.com
  • URL: https://api-docs.busabase.com/api/v1/community/posts/{postId}
  • Auth: HTTP bearer

Path parameters

postIdstring required

Request body

titlestring
bodystring
langstring

Response

The post after the edit. Only the author can edit, and only while the post is not locked; the URL slug never changes.

idstring required
categorySlugstring required
categoryNamestring required
categoryShowVotesboolean required
kind'question' | 'discussion' | 'showcase' | 'feature_request' | 'announcement' required
titlestring required
slugstring required
urlstring required
bodystring required
bodyTextstring required
excerptstring required
langstring required
replyCountnumber required
likeCountnumber required
viewCountnumber required
likedByMeboolean required
isPinnedboolean required
isLockedboolean required
isSolvedboolean required
acceptedReplyIdstring required
triageStatus'triage' | 'needs_info' | 'accepted' | 'in_progress' | 'done' | 'closed' required
closeReason'answered' | 'not_planned' | 'duplicate' | 'cannot_reproduce' | 'wont_fix' required
indexableboolean required
isEditedboolean required
editedAtstring required
createdAtstring required
updatedAtstring required
lastActivityAtstring required

Changes

No recorded changes to this operation across all 1 revision of this API.