Request
{
"latitude": 123123,
"longitude": 12356,
"title": "제목",
"content": "내용",
"datingDate": string (yyyy-mm-dd),
"imageUrls": [
"이미지 1",
"이미지 2"
],
"tags": [
{
"name": "카페",i
"color": "#F000000"
},
{
"name": "서울",
"color": "#F000001"
},
{
"name": "갬성",
"color": "#F000002"
}
]
}
Response ( 응답코드 : created )
Headers
"Location" : "api/couples/posts/1L"
정책
- 태그
- 태그 이름 : 최대 10자
- 태그 색깔 : 7자 ~ 25자
논의할 점
sequenceDiagram
사용자->>Client: 포스트 입력 후 생성 요청
Client ->> Server : POST /api/couples/posts
Server -->> Client : 응답 및 예외 처리
Client -->> 사용자 : 포스트 생성 완료