Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[API] issue open / close 상태 수정 #69

Open
pjy0416 opened this issue Nov 12, 2020 · 0 comments
Open

[API] issue open / close 상태 수정 #69

pjy0416 opened this issue Nov 12, 2020 · 0 comments
Labels
🕹 API 백엔드 API 🛢 BE 백엔드 작업
Milestone

Comments

@pjy0416
Copy link
Collaborator

pjy0416 commented Nov 12, 2020

개요

  • 여러 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 서버에 문제가 생긴 경우 발생합니다.
@pjy0416 pjy0416 added 🛢 BE 백엔드 작업 🕹 API 백엔드 API labels Nov 12, 2020
@pjy0416 pjy0416 added this to the Sprint 3 milestone Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🕹 API 백엔드 API 🛢 BE 백엔드 작업
Projects
None yet
Development

No branches or pull requests

1 participant