Edits a contribution.
PATCH /posts/{post_id}/contributions
PATCH
/posts/{post_id}/contributions
Edits a contribution (for now just its tags).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” post_id
required
string format: uuid
The uuid of the contribution to edit.
Request Body required
Section titled “Request Body required ”The details of the contribution to edit.
Types of tags associated to a contribution.
object
whisper_tags
required
Array<string>
index_tags
required
Array<string>
category_tags
required
Array<string>
content_warnings
required
Array<string>
Responses
Section titled “ Responses ”The contribution was successfully edited.
object
contribution
Finalized details of the contributions just edited.
object
id
required
string format: uuid
parent_thread_id
required
string format: uuid
content
required
string format: quill-delta
created_at
required
string format: date-time
secret_identity
required
user_identity
required
new
required
boolean
own
required
boolean
friend
required
boolean
total_comments_amount
required
number
new_comments_amount
required
number
tags
required
Types of tags associated to a contribution.
object
whisper_tags
required
Array<string>
index_tags
required
Array<string>
category_tags
required
Array<string>
content_warnings
required
Array<string>
User was not found in request that requires authentication.
User is not authorized to perform the action.