Glowb Dev Docs
Legacy API

Community API

커뮤니티 게시판 API

Community API

Deprecated: 이 API는 레거시입니다.

커뮤니티 게시판 API입니다.

Base URL: /community

엔드포인트 목록

게시글

메서드경로설명인증
POST/community/insert게시글 생성필요
GET/community/sel전체 게시글 조회필요
DELETE/community/del/{no}게시글 삭제필요
PATCH/community/update게시글 수정필요
PUT/community/update/notification/{no}상단 고정필요

댓글

메서드경로설명인증
GET/community/comment/all댓글 조회필요
POST/community/comment/update댓글 작성필요
POST/community/comment/delete댓글 삭제필요

API 상세

게시글 생성

HTTP 요청

POST /community/insert
Authorization: Bearer {access_token}
Content-Type: multipart/form-data

Request Parts

파트타입필수설명
dataCommunityDto게시글 데이터
imagesfile[]아니오이미지 파일들

전체 게시글 조회

HTTP 요청

GET /community/sel?nation={nation}
Authorization: Bearer {access_token}

Query Parameters

파라미터타입필수설명
nationstring국가 코드

댓글 조회

HTTP 요청

GET /community/comment/all?community_no={community_no}
Authorization: Bearer {access_token}

댓글 작성

HTTP 요청

POST /community/comment/update
Authorization: Bearer {access_token}
Content-Type: application/json

Request Body

{
  "community_no": 123,
  "nickname": "사용자명",
  "content": "댓글 내용",
  "writer_id": "user123"
}

API 테스트

게시글 API 테스트

댓글 API 테스트

On this page