mirror of https://github.com/stashapp/stash.git
24 lines
431 B
GraphQL
24 lines
431 B
GraphQL
mutation StudioCreate(
|
|
$name: String!,
|
|
$url: String,
|
|
$image: String) {
|
|
|
|
studioCreate(input: { name: $name, url: $url, image: $image }) {
|
|
...StudioData
|
|
}
|
|
}
|
|
|
|
mutation StudioUpdate(
|
|
$id: ID!
|
|
$name: String,
|
|
$url: String,
|
|
$image: String) {
|
|
|
|
studioUpdate(input: { id: $id, name: $name, url: $url, image: $image }) {
|
|
...StudioData
|
|
}
|
|
}
|
|
|
|
mutation StudioDestroy($id: ID!) {
|
|
studioDestroy(input: { id: $id })
|
|
} |