Post Interactions
Endpoints:
This endpoint mirrors User Interactions, but for a single post, instead of a user, and it does not include objects.
GET /posts/{post_id}/interactions
Scope:
Retrieve actions executed against a post.
URL Parameters
| Name | Description | 
|---|---|
| post_id | ID of the post to retrieve actions for | 
Query Parameters
| Name | Description | 
|---|---|
| filters | Comma-separated list of actions to filter by. Allowed: bookmark,repost,reply. | 
| exclude | Comma-separated list of actions to exclude. ?exclude=bookmarkwill return all actions except bookmarks. Iffiltersis also specified, this is ignored. | 
Example
curl "https://api.pnut.io/v1/posts/83/interactions" \
    -H "Authorization: Bearer ${ACCESS_TOKEN}" \
    -H "X-Pretty-Json: 1"Returns a list of interactions.
{
    "meta": {
        "more": false,
        "max_id": "0",
        "min_id": "0",
        "code": 200
    },
    "data": [
        {
            "pagination_id": "0",
            "event_date": "ISO 8601",
            "action": "String",
            "users": [
                {"...User Object..."}
            ]
        }
    ]
}