Clanbite Social Kit clanbite-social-kit/v1

POST /wp-json/clanbite-social-kit/v1/posts/(?P<id>\d+)/view

POST

Record a (mostly) unique view for a post.

Public. Anyone can call this endpoint.

ArgumentTypeDefaultDescription
id requiredinteger

Handled by record_post_view()

Example

curl -X POST 'https://example.com/wp-json/clanbite-social-kit/v1/posts/(?P<id>\d+)/view'

Defined in inc/Rest/Rest_Controller.php