spacePostType
Description
No description
Response
Returns a SpacePostType
Arguments
Name | Description |
---|---|
postTypeId - ID! | |
spaceId - ID! |
Query
query spacePostType(
$postTypeId: ID!,
$spaceId: ID!
) {
spacePostType(
postTypeId: $postTypeId,
spaceId: $spaceId
) {
postTypeId
spaceId
whoCanPost
whoCanReact
whoCanReply
}
}
Variables
{
"postTypeId": 4,
"spaceId": "4"
}
Response
{
"data": {
"spacePostType": {
"postType": "PostType",
"postTypeId": 4,
"space": "Space",
"spaceId": 4,
"whoCanPost": [
"4"
],
"whoCanReact": [
4
],
"whoCanReply": [
"4"
]
}
}
}