mirror of https://github.com/stashapp/stash.git
41 lines
1.1 KiB
GraphQL
41 lines
1.1 KiB
GraphQL
mutation SceneMarkerCreate(
|
|
$title: String!,
|
|
$seconds: Float!,
|
|
$scene_id: ID!,
|
|
$primary_tag_id: ID!,
|
|
$tag_ids: [ID!] = []) {
|
|
|
|
sceneMarkerCreate(input: {
|
|
title: $title,
|
|
seconds: $seconds,
|
|
scene_id: $scene_id,
|
|
primary_tag_id: $primary_tag_id,
|
|
tag_ids: $tag_ids
|
|
}) {
|
|
...SceneMarkerData
|
|
}
|
|
}
|
|
|
|
mutation SceneMarkerUpdate(
|
|
$id: ID!,
|
|
$title: String!,
|
|
$seconds: Float!,
|
|
$scene_id: ID!,
|
|
$primary_tag_id: ID!,
|
|
$tag_ids: [ID!] = []) {
|
|
|
|
sceneMarkerUpdate(input: {
|
|
id: $id,
|
|
title: $title,
|
|
seconds: $seconds,
|
|
scene_id: $scene_id,
|
|
primary_tag_id: $primary_tag_id,
|
|
tag_ids: $tag_ids
|
|
}) {
|
|
...SceneMarkerData
|
|
}
|
|
}
|
|
|
|
mutation SceneMarkerDestroy($id: ID!) {
|
|
sceneMarkerDestroy(id: $id)
|
|
} |