69. Mutação: Excluir "Photo"
Excluir a "Foto" selecionada.
A "Foto" pode estar vinculada tanto a uma "Nota" quanto a um "Comentário". Portanto, é obrigatório controlar os atributos uuid, noteUuid e commentUuid na resposta.
mutation DeleteNotePhotoSample {
deletePhoto(input: {
uuid: "<placeholder_for_photo_uuid>"
noteUuid: "<placeholder_for_note_uuid>"
}) {
uuid
noteUuid
url
dataDeCriação
updatedDate
}
}mutation DeleteCommentPhotoSample {
deletePhoto(input: {
uuid: "<placeholder_for_photo_uuid>"
noteUuid: "<placeholder_for_note_uuid>"
commentUuid: "<placeholder_for_comment_uuid>"
}) {
uuid
noteUuid
commentUuid
url
dataDeCriação
updatedDate
}
}
Anterior68. Mutação: Atualizar estatísticas do "VectorAnalysisMap"
Próximo70. Mutação: Excluir várias "Photos"
Atualizado
Isto foi útil?