Skip to main content
PUT
Increment an assistant's liked count

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Path Parameters

id
string
required

The ObjectId of the assistant to update

Body

application/json
liked_count
integer
required

Value to increment the liked_count by (use negative to decrement). Uses MongoDB $inc operator.

Example:

1

Response

Assistant liked count successfully updated

success
boolean
Example:

true

message
string
Example:

"Assistant updated!"