42organization/42gg.server.dev.v2

✨ [Feature] 카테고리 조회 API

Closed this issue · 0 comments

Description

  • 카테고리 조회하는 GET method
  • 현재는 카테고리가 3개(보드게임, 콘솔게임, 기타게임)이라 ENUM을 할지 고민
  • 하지만 차후 PC게임, 모바일게임, 스포츠 등 서비스 확장을 고려 API로 작성할 예정

Request

URI

GET /party/categorys


Response

Status Code

  • 200

Response Body

  • category_name
[
	{
	  categoryId: number;
	  categoryName: string;
	},
        ...
]