mirror of https://github.com/stashapp/stash.git
20 lines
358 B
GraphQL
20 lines
358 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
|
|
}
|
|
} |