- POST /login
- BODY :
{
id : id
pw : pw
}
- POST /users
- BODY : User Object
- DELETE /users/:id
- request param : userId
- PATCH /users/:id
- request param : userId
- BODY :
{
nickName : nickName
}
- GET /posts
- Response : Post Object Array
- POST /posts
- BODY : Post Object
- status : 200
- GET /posts/:id
- request param : postId
- Resposne : Post Object
- POST /posts/:id/comments
- request param : postId
- BODY: Comment Object
{
id : String,
pw : String,
nickName : String
}
{
id: Long,
content : String
date : Date,
owner : User Object
}
{
id: Long,
title: String,
city: City Enum,
sportsTypes: SportsType Enum,
content: String,
date: Date,
recruit: boolean,
likeCount: int,
owner: User Object,
comments: Comment Object Array
}