Clanbite Social Kit clanbite-social-kit/v1
POST /wp-json/clanbite-social-kit/v1/posts/(?P<id>\d+)/viewPOST
Record a (mostly) unique view for a post.
Public. Anyone can call this endpoint.
| Argument | Type | Default | Description |
|---|---|---|---|
id required | integer |
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