Skip to content

Edits a contribution.

PATCH
/posts/{post_id}/contributions

Edits a contribution (for now just its tags).

post_id
required
string format: uuid

The uuid of the contribution to edit.

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>

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
parent_post_id
required
One of:
string format: uuid
content
required
string format: quill-delta
created_at
required
string format: date-time
secret_identity
required

The public-facing identity associated with the contribution.

object
name
required
string
avatar
required
string format: uri-reference
color
One of:
string format: color
accessory
One of:
string format: uri-reference
user_identity
required
One of:
object
name
required
One of:
string
avatar
required
One of:
string format: uri-reference
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.