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

69. Mutacija: ištrinti "Photo"

Ištrinti pasirinktą „Nuotrauką“.

Norėdami ištrinti nuotrauką, turite būti savininkas.

„Nuotrauka“ gali būti susieta su „Užrašu“ arba „Komentaru“. Todėl būtina patikrinti uuid, noteUuid ir commentUuid atributus atsakyme.

mutacija DeleteNotePhotoSample {
  deletePhoto(input: {
    uuid: "<placeholder_for_photo_uuid>"
    noteUuid: "<placeholder_for_note_uuid>"
  }) {
    uuid
    noteUuid
    url
    sukūrimoData
    updatedDate
  }
}
mutacija DeleteCommentPhotoSample {
  deletePhoto(input: {
    uuid: "<placeholder_for_photo_uuid>"
    noteUuid: "<placeholder_for_note_uuid>"
    commentUuid: "<placeholder_for_comment_uuid>"
  }) {
    uuid
    noteUuid
    commentUuid
    url
    sukūrimoData
    updatedDate
  }
}

Paskutinį kartą atnaujinta

Ar tai buvo naudinga?