mirror of https://github.com/stashapp/stash.git
28 lines
522 B
GraphQL
28 lines
522 B
GraphQL
mutation StudioCreate(
|
|
$name: String!,
|
|
$url: String,
|
|
$image: String,
|
|
$stash_ids: [StashIDInput!],
|
|
$parent_id: ID) {
|
|
|
|
studioCreate(input: { name: $name, url: $url, image: $image, stash_ids: $stash_ids, parent_id: $parent_id }) {
|
|
...StudioData
|
|
}
|
|
}
|
|
|
|
mutation StudioUpdate(
|
|
$input: StudioUpdateInput!) {
|
|
|
|
studioUpdate(input: $input) {
|
|
...StudioData
|
|
}
|
|
}
|
|
|
|
mutation StudioDestroy($id: ID!) {
|
|
studioDestroy(input: { id: $id })
|
|
}
|
|
|
|
mutation StudiosDestroy($ids: [ID!]!) {
|
|
studiosDestroy(ids: $ids)
|
|
}
|