Clanbite Social Kit Abilities

Creates a feed post with the same fields and validation as the authenticated REST composer.

Ability
clanbite-social/create-post
Label
Create social post
Category
Access
Checked by a permission callback

Input

Post fields: content, post_type, visibility, team_id, post_as, media_ids, link_url, link_title, shared_post_id, replies_disabled, poll.

Type: object

JSON Schema
{
    "type": "object",
    "description": "Post fields: content, post_type, visibility, team_id, post_as, media_ids, link_url, link_title, shared_post_id, replies_disabled, poll.",
    "properties": [],
    "additionalProperties": true
}

Output

Formatted post (same shape as REST).

Type: object

JSON Schema
{
    "type": "object",
    "description": "Formatted post (same shape as REST)."
}

Defined in inc/Social_Kit_Abilities.php