Get publishing settings
Your auto-publish rules from Reviews > Settings > Publishing.
GET https://cotlet.dev/api/v1/okendo/publishing-settings
read
Returns whether auto-publish is on, the minimum star rating, which blocks are on (unverified reviews, media, profanity, negative sentiment) and the profanity filter options. Use it to tell why a review is still pending. Reads only; the settings are changed in Okendo.
Parameters
No parameters.
Request
curl https://cotlet.dev/api/v1/okendo/publishing-settings \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("okendo", "get_publishing_settings") const result = await cotlet.call('okendo', 'get_publishing_settings'); cotlet call okendo get_publishing_settings Example response
{
"auto_publish": true,
"minimum_star_rating": 4,
"block_unverified": true,
"block_media": false,
"block_profanity": true,
"block_negative_sentiment": true,
"censor_flagged_words": true
}