Skip to main content
POST
Pin a comment on a theme's preview

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

theme_id
integer
required

Id of the theme to pin the comment on.

Body

application/json
preview_comment
object
required

A comment to pin. No author field: authorship comes from the authenticated principal, and a field that is always ignored is one a client eventually trusts.

Response

The stored comment.

A single comment, wrapped in the standard response envelope.

preview_comment
object
required

A comment pinned to an element on a theme's preview.

status
integer
required

HTTP status, repeated in the body.

meta
object
required

Envelope metadata returned on every preview-comment response.