For the complete documentation index, see llms.txt. This page is also available as Markdown.

69. Mutācija: dzēst "Fotoattēlu"

Dzēst izvēlēto "Foto".

Lai dzēstu foto, jums jābūt īpašniekam.

"Foto" var būt saistīts vai nu ar "Piezīmi", vai ar "Komentāru". Tāpēc obligāti jākontrolē uuid, noteUuid un commentUuid atribūti atbildē.

mutācija DeleteNotePhotoSample {
  deletePhoto(input: {
    uuid: "<placeholder_for_photo_uuid>"
    noteUuid: "<placeholder_for_note_uuid>"
  }) {
    uuid
    noteUuid
    url
    izveidesDatums
    updatedDate
  }
}
mutācija DeleteCommentPhotoSample {
  deletePhoto(input: {
    uuid: "<placeholder_for_photo_uuid>"
    noteUuid: "<placeholder_for_note_uuid>"
    commentUuid: "<placeholder_for_comment_uuid>"
  }) {
    uuid
    noteUuid
    commentUuid
    url
    izveidesDatums
    updatedDate
  }
}

Pēdoreiz atjaunināts

Vai tas bija noderīgi?