28 lines
363 B
GraphQL
28 lines
363 B
GraphQL
mutation AddRoomMutation($input: RoomMutationInput!) {
|
|
addRoom(input: $input) {
|
|
id
|
|
title
|
|
slug
|
|
title
|
|
description
|
|
appearance
|
|
userGroup
|
|
__typename
|
|
clientMutationId
|
|
errors {
|
|
field
|
|
messages
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#{
|
|
# "input": {
|
|
# "title": "Neuer Raum",
|
|
# "description": "So eine Beschreibung",
|
|
# "userGroup": 4
|
|
#}
|
|
#}
|