Skip to main content
PATCH
/
posts
/
{id}
/
sentiment
Update Post Sentiment
curl --request PATCH \
  --url https://api.teleskop.dev/posts/{id}/sentiment \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "projects": []
}'

Documentation Index

Fetch the complete documentation index at: https://docs.teleskop.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

API Key for authentication

Path Parameters

id
string
required

Body

application/json
projects
string[]
required

Arrays of project IDs

sentiment
enum<string>
required

Sentiment value of the post.

Available options:
neutral,
negative,
positive

Response

200 - undefined