refactor: API 주소 변경 #67
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
resolve #66
여러 사진 휴지통으로 보내기
DELETE /storage-photos , body storagePhotoIds 배열
-> 200 OK, body에 trash-photos 배열
-> 대충 응답을 보고 아 휴지통으로 이동이 되는구나 할 수 있지 않을까, 단건이었으면 201 CREATED에 trash-photos location 헤더 를 넣어주는 식으로 표현 할 수 있겠다 라고 생각했습니다.
휴지통에서 여러 사진 복구
POST /trash-photos/restore, body trashPhotoIds 배열
-> 200 OK, body에 복구된 storage-photos 배열
휴지통 사진에서 사진 삭제 (보관함 사진 삭제)
DELETE /trash-photos, body trashPhotoIds 배열
-> 204