boostcamp-2020/IssueTracker-35

[API] 전체 Label 목록 조회

Closed this issue · 0 comments

개요

  • 전체 label 목록 조회 API

URL

  • /labels

Method

  • GET: Labels에 추가할 수 있는 사용자 목록 조회

Header

  • Authorization: token

Response

  • labels: array[Label]
    - id: int
    - title: string
    - content: string
    - color: string
  • success: boolean
  • code: int

Error

상태 코드 오류 메시지 설명
401 Unauthorized 유효한 토큰을 header에 포함하지 않은 경우 발생합니다.
500 Internal Server Error. 서버에 문제가 생긴 경우 발생합니다.