mirror of https://github.com/stashapp/stash.git
46 lines
1001 B
GraphQL
46 lines
1001 B
GraphQL
mutation GalleryCreate($input: GalleryCreateInput!) {
|
|
galleryCreate(input: $input) {
|
|
...GalleryData
|
|
}
|
|
}
|
|
|
|
mutation GalleryUpdate($input: GalleryUpdateInput!) {
|
|
galleryUpdate(input: $input) {
|
|
...GalleryData
|
|
}
|
|
}
|
|
|
|
mutation BulkGalleryUpdate($input: BulkGalleryUpdateInput!) {
|
|
bulkGalleryUpdate(input: $input) {
|
|
...GalleryData
|
|
}
|
|
}
|
|
|
|
mutation GalleriesUpdate($input: [GalleryUpdateInput!]!) {
|
|
galleriesUpdate(input: $input) {
|
|
...GalleryData
|
|
}
|
|
}
|
|
|
|
mutation GalleryDestroy(
|
|
$ids: [ID!]!
|
|
$delete_file: Boolean
|
|
$delete_generated: Boolean
|
|
) {
|
|
galleryDestroy(
|
|
input: {
|
|
ids: $ids
|
|
delete_file: $delete_file
|
|
delete_generated: $delete_generated
|
|
}
|
|
)
|
|
}
|
|
|
|
mutation AddGalleryImages($gallery_id: ID!, $image_ids: [ID!]!) {
|
|
addGalleryImages(input: { gallery_id: $gallery_id, image_ids: $image_ids })
|
|
}
|
|
|
|
mutation RemoveGalleryImages($gallery_id: ID!, $image_ids: [ID!]!) {
|
|
removeGalleryImages(input: { gallery_id: $gallery_id, image_ids: $image_ids })
|
|
}
|