Magidoc

insertPost
Mutation

Creates a Hive news post with optional category, attachment, and predefined reactions. Requires access to the workspace.

Arguments

#

_id

Post unique ID. Can be omitted, will be generated automatically

body

Non-null

Post body. Must be a valid HTML string

workspaceId

ID !
Non-null

Workspace ID

fileId

Attachment file ID. File should be pre-uploaded to Hive

category

Post category. Omit if you want to use no category

Response

#

Returns Post !.

Example

#