Replies

Get replies by ids

get

⚠️ Warning: This is a beta endpoint. It is not guaranteed to be stable and may change or break without notice.

Query parameters
idsinteger[]Required
Responses
chevron-right
200

Successful response

application/json
get
/replies/by-id

Get replies for a specific activity or another reply

get

⚠️ Warning: This is a beta endpoint. It is not guaranteed to be stable and may change or break without notice.

Path parameters
contractTypestring · enumRequiredPossible values:
parentIdinteger · max: 2147483647Required
Query parameters
orderBystring · enumOptionalDefault: createdAtPossible values:
orderDirectionstring · enumOptionalDefault: descPossible values:
limitinteger · max: 500OptionalDefault: 50
offsetnumberOptionalDefault: 0
Responses
chevron-right
200

Successful response

application/json
totalnumberRequired
limitnumberRequired
offsetnumberRequired
get
/replies/{contractType}/{parentId}

Pin or unpin a reply

put

Pin or unpin a reply on slash activity. Only the slasher and defender can pin their own replies. Only one top-level reply can be pinned at a time — pinning a new reply will automatically unpin any previously pinned reply for the same activity.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
replyIdintegerRequired
Body
pinnedbooleanRequired
Responses
chevron-right
200

Successful response

application/json
okbooleanRequired
unpinnedRepliesinteger[]Required
put
/replies/{replyId}/pin

Last updated