69. Mutation: "Photo" を削除
選択した「写真」を削除します。
「写真」は「ノート」または「コメント」のいずれかにリンクされている可能性があります。したがって、レスポンス内の 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
}
}
最終更新
役に立ちましたか?