성공
api 결과를 json의 형태로 반환합니다.
{
success: true,
code : Http 상태코드
data : api 결과값 json
}
###example(회원 검색 api)
{
success: true,
code : 200,
data :
[
{
"id": 1,
"nickname": "yoloman"
}
]
}
실패
발생한 HttpException 정보를 포함합니다
{
success: false,
code : Http 상태코드
data : 에러 설명
}
###example(회원 가입 api)
{
"success": false,
"code": 409,
"data": {
"error": "DuplicateUser",
"message": "이미 존재하는 회원입니다."
}
}
Method | Path | 용도 | 상세 |
---|---|---|---|
Post | /posting/{feedId} |
포스팅을 생성합니다 | https://www.notion.so/API-fa27cdd8ddda4757bb418c8e915469de#647e01059e944beea4a63f068dd79df7 |
Get | /posting/{feedId}/{PostingId} |
포스팅을 조회합니다 | /page |
Method | Path | 용도 | 상세 |
---|---|---|---|
Get | /info/{feedId} |
피드의 정보를 가져옵니다 | https://www.notion.so/API-fa27cdd8ddda4757bb418c8e915469de#78b54eb1820548a399daa6952241bec7 |
Get | /feed/scroll/{feedId} |
피드의 포스팅 리스트(썸네일) 무한 스크롤(15개) | https://www.notion.so/API-fa27cdd8ddda4757bb418c8e915469de#fb8b63c068c240e79d084b568b401643 |
Post | /feed |
개인 피드를 생성합니다 | |
Post | /feed/group |
그룹 피드를 생성합니다 | |
Patch | /feed/{feedId} |
개인 피드를 수정합니다 | |
Patch | /feed/group/{feedId} |
그룹 피드를 수정합니다 | |
Get | /feed/list |
유저의 개인 피드 리스트를 가져옵니다 | |
Get | /feed/group/list |
유저의 그룹 피드 리스트를 가져옵니다 | |
마지막 열람 피드 API |
Method | Path | 용도 | 상세 |
---|---|---|---|
Post | /images |
이미지를 Object Storage에 업로드 |