게시물 이미지 수정하기
게시물에 첨부된 이미지 중 해당 id의 이미지를 수정하는 API입니다.
METHOD
PATCHURL
/posts/:id/imageid: 게시물에 첨부된 이미지 고유 id
REQUEST BODY
name
type
require
description
image
multipart/form-data
필수
게시물에 첨부할 이미지
현재 저장가능한 이미지로
.jpg,.jpeg,.gif,.png,.img,.tiff,.heif확장자만 지원합니다.
REQUEST BODY EXAMPLE

RESPONSE
success
HTTP Status code: 201 OK
Response Body는 따로 없습니다. 대신, Http Location 헤더에 생성된 자원의 경로를 붙여서 반환합니다. ex) https://edsc-s3.s3.ap-northeast-2.amazonaws.com/post-image/1
fail
HTTP Status code: 400 Bad Request or 500 Internal Server Error
name
type
description
status
number
HTTP status
message
string
에러 메시지
Last updated
Was this helpful?