Skip to main content

postType

Description

No description


Response

Returns a PostType


Arguments

NameDescription
id - ID!

Query
query postType($id: ID!) {
postType(id: $id) {
allowedEmojis
allowedReactions
archived
context
createdAt
description
excludedNativeShortcuts
forbiddenEmojis
forbiddenReactions
iconId
id
languageTemplate
layout
name
negativeReactions
pluralName
positiveReactions
primaryReactionType
shortContentTemplate
singleChoiceReactions
slug
titleTemplate
updatedAt
}
}
Variables
{
"id": "4"
}
Response
{
"data": {
"postType": {
"actions": [
"PostTypeAction"
],
"allowedEmojis": [
"xyz789"
],
"allowedReactions": [
"xyz789"
],
"archived": false,
"authMemberProps": "PostTypeAuthMemberProps",
"context": "post",
"createdAt": "2007-12-03T10:15:30Z",
"customReactions": [
"CustomReaction"
],
"description": "abc123",
"excludedNativeShortcuts": [
"xyz789"
],
"forbiddenEmojis": [
"abc123"
],
"forbiddenReactions": [
"abc123"
],
"icon": "Emoji",
"iconId": "abc123",
"id": 4,
"languageTemplate": "abc123",
"layout": "xyz789",
"mappings": [
"PostTypeMapping"
],
"name": "xyz789",
"nativeFieldsTemplates": "NativeFieldsTemplates",
"negativeReactions": [
"abc123"
],
"pluralName": "abc123",
"positiveReactions": [
"abc123"
],
"postFields": "CustomFieldsSchema",
"primaryReactionType": "EMOJI_BASE",
"recommendationsSettings": "PostTypeRecommendationSettings",
"shortContentTemplate": "abc123",
"singleChoiceReactions": [
"xyz789"
],
"slate": "Slate",
"slug": "xyz789",
"titleTemplate": "abc123",
"updatedAt": "2007-12-03T10:15:30Z",
"validReplyTypes": [
"PostType"
]
}
}
}