69. म्यूटेशन: "Photo" हटाएँ
चयनित "फोटो" को हटाएं।
"फोटो" या तो "नोट" से जुड़ी हो सकती है या "कमेन्ट" से। इसलिए response में uuid, noteUuid और commentUuid गुणों को नियंत्रित करना अनिवार्य है।
mutation DeleteNotePhotoSample {
deletePhoto(input: {
uuid: "<placeholder_for_photo_uuid>"
noteUuid: "<placeholder_for_note_uuid>"
}) {
uuid
noteUuid
url
निर्माण_तिथि
updatedDate
}
}mutation DeleteCommentPhotoSample {
deletePhoto(input: {
uuid: "<placeholder_for_photo_uuid>"
noteUuid: "<placeholder_for_note_uuid>"
commentUuid: "<placeholder_for_comment_uuid>"
}) {
uuid
noteUuid
commentUuid
url
निर्माण_तिथि
updatedDate
}
}
अंतिम अपडेट
क्या यह उपयोगी था?