Update Post
Put https://api.studydev.kr/diary/<diary_pk>/post/<post_pk>/
| Name |
Type |
Description |
Options |
| Authorization |
String |
계정인증정보(토큰) |
Required |
Parameter Info(body)
| Name |
Type |
Description |
Options |
| diary |
Integer |
다이어리 PK |
Required |
| content |
Text |
인다이어리 텍스트 내용 |
Not Required |
| cover_image |
File |
인다이어리 커버이미지 |
Not Required |
| Key |
Value |
| Authorization |
Token <Token_Value> |
Parameter Data(body)
| Key |
Value |
| diary |
<diary_pk> |
| content |
<text> |
| cover_image |
<image file> |
Success Response
Status_Code: 200 OK
{
"pk": 22,
"diary": 7,
"content": "hello",
"created_date": "2017-04-20T00:31:00Z",
"cover_image": "http://127.0.0.1:8000/media/Linefriends_dcvNA1Q.jpeg",
"photo_list": []
}