Skip to main content

CreateSpaceInput (Input)

Description

Input for creating a space.



Fields

NameDescription
address - SpaceAddressInput
adminIds - [String!]
bannerId - StringThe id of the space banner.
collectionId - IDThe id of the collection in which the space is created.
createdAt - DateTime
customSeoDetail - CustomSeoDetailInput
description - StringThe description of the space.
externalId - String
externalUrl - String
hidden - BooleanIs this space hidden?
imageId - StringThe id of the space image.
inviteOnly - BooleanIs this space invite only?
layout - String
memberIds - [String!]
name - String!The name of the space.
nonAdminsCanInvite - Boolean
private - BooleanIs this space a private space?
seoDetail - SpaceSeoDetailInput
slate - SlateInput
slug - StringThe slug of the space. It will be auto-generated if not provided.
type - SpaceType
updatedAt - DateTime
whoCanPost - [SpaceRoleType!]
whoCanReact - [SpaceRoleType!]
whoCanReply - [SpaceRoleType!]
withRoles - Boolean

input CreateSpaceInput {
address: SpaceAddressInput
adminIds: [String!]
bannerId: String
collectionId: ID
createdAt: DateTime
customSeoDetail: CustomSeoDetailInput
description: String
externalId: String
externalUrl: String
hidden: Boolean
imageId: String
inviteOnly: Boolean
layout: String
memberIds: [String!]
name: String!
nonAdminsCanInvite: Boolean
private: Boolean
seoDetail: SpaceSeoDetailInput
slate: SlateInput
slug: String
type: SpaceType
updatedAt: DateTime
whoCanPost: [SpaceRoleType!]
whoCanReact: [SpaceRoleType!]
whoCanReply: [SpaceRoleType!]
withRoles: Boolean
}