69. Mutation: Ta bort foto
Radera den valda "Fotot".
"Fotot" kan vara länkat antingen till "Notering" eller "Kommentar". Därför är det obligatoriskt att kontrollera attributen uuid, noteUuid och commentUuid i svaret.
mutation DeleteNotePhotoSample {
deletePhoto(input: {
uuid: "<placeholder_for_photo_uuid>"
noteUuid: "<placeholder_for_note_uuid>"
}) {
uuid
noteUuid
url
skapadDatum
updatedDate
}
}mutation DeleteCommentPhotoSample {
deletePhoto(input: {
uuid: "<placeholder_for_photo_uuid>"
noteUuid: "<placeholder_for_note_uuid>"
commentUuid: "<placeholder_for_comment_uuid>"
}) {
uuid
noteUuid
commentUuid
url
skapadDatum
updatedDate
}
}
Föregående68. Mutation: Uppdatera statistiken för vektoranalyskartan
Nästa70. Mutation: Ta bort flera foton
Senast uppdaterad
Var detta till hjälp?