Skip to main content

movePosts

Description

No description


Response

Returns a Post


Arguments

NameDescription
convertPost - ConvertPostInput
ids - [ID!]!
sendNotification - Boolean
spaceId - ID!

Mutation
mutation movePosts(
$convertPost: ConvertPostInput,
$ids: [ID!]!,
$sendNotification: Boolean,
$spaceId: ID!
) {
movePosts(
convertPost: $convertPost,
ids: $ids,
sendNotification: $sendNotification,
spaceId: $spaceId
) {
allowedEmojis
allowedReactions
attachmentIds
createdAt
createdById
description
embedIds
externalId
externalUrl
followersCount
forbiddenEmojis
forbiddenReactions
hasMoreContent
id
imageIds
isAnonymous
isHidden
language
lastActivityAt
locked
mentionedMembers
negativeReactions
negativeReactionsCount
networkId
ownerId
pinnedInto
positiveReactions
positiveReactionsCount
postTypeId
primaryReactionType
publishedAt
reactionsCount
relativeUrl
repliedToId
repliedToIds
repliesCount
shortContent
singleChoiceReactions
slug
spaceId
status
subscribersCount
tagIds
textContent
thumbnailId
title
topicIds
totalRepliesCount
updatedAt
url
}
}
Variables
{
"convertPost": "ConvertPostInput",
"ids": [
4
],
"sendNotification": false,
"spaceId": 4
}
Response
{
"data": {
"movePosts": [
{
"allowedEmojis": [
"xyz789"
],
"allowedReactions": [
"abc123"
],
"attachmentIds": [
"4"
],
"attachments": [
"File"
],
"authMemberProps": "PostAuthMemberProps",
"contentSummary": "PostContentSummary",
"createdAt": "2007-12-03T10:15:30Z",
"createdBy": "SpaceMember",
"createdById": 4,
"customSeoDetail": "CustomSeoDetail",
"description": "abc123",
"embedIds": [
"abc123"
],
"embeds": [
"Embed"
],
"externalId": "4",
"externalUrl": "abc123",
"fields": [
"CustomField"
],
"followersCount": 123,
"forbiddenEmojis": [
"xyz789"
],
"forbiddenReactions": [
"abc123"
],
"hasMoreContent": true,
"id": "4",
"imageIds": [
"4"
],
"images": [
"Emoji"
],
"isAnonymous": false,
"isHidden": false,
"language": "abc123",
"lastActivityAt": "2007-12-03T10:15:30Z",
"lastActivityDetail": "PostLastActivityDetail",
"locked": true,
"mappingFields": [
"PostMappingField"
],
"mentionedMembers": [
"abc123"
],
"mentions": [
"Member"
],
"negativeReactions": [
"xyz789"
],
"negativeReactionsCount": 987,
"networkId": 4,
"owner": "SpaceMember",
"ownerId": "4",
"pinnedInto": [
"member"
],
"pinnedReplies": [
"Post"
],
"positiveReactions": [
"xyz789"
],
"positiveReactionsCount": 987,
"postType": "PostType",
"postTypeId": "4",
"primaryReactionType": "EMOJI_BASE",
"publishedAt": "2007-12-03T10:15:30Z",
"reactions": [
"PostReactionDetail"
],
"reactionsCount": 987,
"relativeUrl": "abc123",
"repliedTo": "Post",
"repliedToId": "4",
"repliedToIds": [
"xyz789"
],
"repliedTos": [
"Post"
],
"replies": "PaginatedPost",
"repliesCount": 987,
"seoDetail": "PostSeoDetail",
"shortContent": "abc123",
"shortcuts": [
"Shortcut"
],
"singleChoiceReactions": [
"abc123"
],
"slug": "xyz789",
"space": "Space",
"spaceId": "4",
"status": "ARCHIVED",
"subscribersCount": 123,
"tagIds": [
"abc123"
],
"tags": [
"Tag"
],
"textContent": "abc123",
"thumbnail": "Emoji",
"thumbnailId": "xyz789",
"title": "xyz789",
"topRepliers": [
"PostTopReplier"
],
"topicIds": [
"xyz789"
],
"totalRepliesCount": 123,
"updatedAt": "2007-12-03T10:15:30Z",
"url": "abc123"
}
]
}
}