[Back-end] Board
공지게시판
조건에 맞는 공지사항 목록을 조회합니다.
GET
http://localhost:8000/api/boards/notice
Query Parameters
startDate
String
시작일
endDate
String
종료일
category
String
카테고리
searchText
String
검색어
currentPage
Integer
현재 페이지 번호
pageSize
Integer
페이지당 검색할 게시물 수
sort
String
정렬기준
order
String
정렬순서
새로운 내용의 공지사항을 저장합니다.
POST
http://localhost:8000/api/boards/notice
Request Body
category*
String
카테고리
title*
String
제목
content*
String
내용
noticed*
Boolean
알리글 여부
공지게시글의 상세 내용을 가져옵니다.
GET
http://localhost:8000/api/boards/notice/{id}
Path Parameters
id*
Integer
게시글 ID
공지사항을 삭제합니다.
DELETE
http://localhost:8000/api/boards/notice/{id}
Path Parameters
id*
Integer
게시글 ID
공지사항의 상세 내용을 수정합니다.
PUT
http://localhost:8000/api/boards/notice/{id}
Path Parameters
id*
Integer
게시글 ID
Request Body
title*
String
제목
content*
Sting
내용
noticed*
Boolean
알림글 여부
category*
String
분류
공지게시글의 카테고리 목록을 가져옵니다.
GET
http://localhost:8000/api/boards/notice/categories
자유게시판
조건에 맞는 자유게시판 목록을 조회합니다.
GET
http://localhost:8000/api/boards/free
Query Parameters
startDate
String
시작일
endDate
String
종료일
category
String
카테고리
searchText
String
검색어
currentPage
Integer
현재 페이지 번호
pageSize
Integer
페이지당 검색할 게시물 수
sort
String
정렬기준
order
String
정렬순서
새로운 내용의 자유게시글을 저장합니다.
POST
http://localhost:8000/api/boards/free
Request Body
category*
String
카테고리
title*
String
제목
content*
String
내용
files
File
첨부파일 목록
자유게시글의 상세 내용을 가져옵니다.
GET
http://localhost:8000/api/boards/free/{id}
Path Parameters
id*
Integer
게시글 ID
자유게시글을 삭제합니다.
DELETE
http://localhost:8000/api/boards/free/{id}
Path Parameters
id*
Integer
게시글 ID
새로운 내용의 자유게시글을 저장합니다.
PUT
http://localhost:8000/api/boards/free/{id}
Path Parameters
id
Integer
게시글ID
Request Body
category*
String
카테고리
title*
String
제목
content*
String
내용
files
File
첨부파일 목록
deletedAttachmentIds
List
삭제 첨부파일 ID목록
자유게시판의 카테고리 목록을 가져옵니다.
GET
http://localhost:8000/api/boards/free/categories
갤러리게시판
조건에 맞는 갤러리게시판 목록을 조회합니다.
GET
http://localhost:8000/api/boards/gallary
Query Parameters
startDate
String
시작일
endDate
String
종료일
category
String
카테고리
searchText
String
검색어
currentPage
Integer
현재 페이지 번호
pageSize
Integer
페이지당 검색할 게시물 수
sort
String
정렬기준
order
String
정렬순서
새로운 내용의 갤러리게시글을 저장합니다.
POST
http://localhost:8000/api/boards/gallary
Request Body
category*
String
카테고리
title*
String
제목
content*
String
내용
files
File
첨부 이미지 목록
갤러리게시글의 상세 내용을 가져옵니다.
GET
http://localhost:8000/api/boards/gallary/{id}
Path Parameters
id*
Integer
게시글 ID
갤러리게시글을 삭제합니다.
DELETE
http://localhost:8000/api/boards/gallary/{id}
Path Parameters
id*
Integer
게시글 ID
새로운 내용의 갤러리게시글을 저장합니다.
PUT
http://localhost:8000/api/boards/gallary/{id}
Path Parameters
id*
Integer
게시글ID
Request Body
category*
String
카테고리
title*
String
제목
content*
String
내용
files
File
첨부 이미지 목록
deletedImageIds
List
삭제 이미지 ID목록
갤러리 게시판의 카테고리 목록을 가져옵니다.
GET
http://localhost:8000/api/boards/gallary/categories
문의게시판
조건에 맞는 문의게시판 목록을 조회합니다.
GET
http://localhost:8000/api/boards/inquiry
Query Parameters
startDate
String
시작일
endDate
String
종료일
category
String
카테고리
searchText
String
검색어
currentPage
Integer
현재 페이지 번호
pageSize
Integer
페이지당 검색할 게시물 수
sort
String
정렬기준
order
String
정렬순서
writer
String
나만의 문의내역 체크 시 추가
새로운 내용의 문의게시글을 저장합니다.
POST
http://localhost:8000/api/boards/inquiry
Request Body
title*
String
제목
content*
String
내용
secret*
Boolean
비밀글 설정 여부
password
String
글 비밀번호
문의게시글의 상세 내용을 가져옵니다.
GET
http://localhost:8000/api/boards/inquiry/{id}
Path Parameters
id*
Integer
게시글 ID
공지사항을 삭제합니다.
DELETE
http://localhost:8000/api/boards/inquiry/{id}
Path Parameters
id*
Integer
게시글 ID
문의게시글을 수정합니다.
PUT
http://localhost:8000/api/boards/inquiry
Request Body
title*
String
제목
content*
String
내용
secret*
Boolean
비밀글 설정 여부
password
String
글 비밀번호
대시보드
문의 게시판의 카테고리 목록을 가져옵니다.
GET
http://localhost:8000/api/boards/inquiry/categories
각 게시글의 최근 5개 목록을 조회합니다.
GET
http://localhost:8000/api/boards/recent
Last updated