insertNewsCategory Mutation
Creates a new custom news category in the workspace.
On first write in a workspace, seeds the default categories and migrates any posts that were using legacy string category ids to the new random ids, then marks the workspace as newsCategoriesApplied.
Access: Requires user access to the workspace.
Arguments
#
Response
#
Returns NewsCategory !.
Example
#
Previous
insertMessage
Next
insertPost