boostcamp-2020/IssueTracker-35

[API] issue open / close 상태 수정

Opened this issue · 0 comments

개요

  • 여러 issue 를 open or close 상태 동시에 수정

URL

  • /issues

Method

  • PATCH: issue의 open / close를 동시에 수정

Header

  • Authorization: token

Body

  • issues: Array(Issue)
    • id : int
    • isOpen : true/false

Response

  • success: boolean
  • code: int

Error

상태 코드 오류 메시지 설명
400 Missing username or password 아이디 혹은 비밀번호 누락 시 발생합니다.
401 Unauthorized 유효한 토큰을 header에 포함하지 않은 경우 발생합니다.
500 Internal Server Error 서버에 문제가 생긴 경우 발생합니다.