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

할 일 목록을 가져올 수 있다 #1

Closed
rogarithm opened this issue Jun 27, 2023 · 2 comments
Closed

할 일 목록을 가져올 수 있다 #1

rogarithm opened this issue Jun 27, 2023 · 2 comments
Assignees

Comments

@rogarithm
Copy link
Owner

rogarithm commented Jun 27, 2023

Description

  • Todo 정보는 아주 많은 양을 가지고 있을 수 있어, 이를 고려한 Pagination이 적용되어야 한다.

Request

Request Type Required Name Description
Query false state 조회할 Todo의 상태
Query true size 가져올 Todo 수

State

todo의 상태는 다음과 같다.

  • ALL : 완료된 항목과 미완료된 항목 모두
  • COMPLETE : 완료된 항목만
  • INCOMPLETE : 미완료된 항목만

Response Body

{
  "items": [
    {
      "id": "Todo id",
      "name": "Todo 이름",
      "state": "Todo 상태, true, false",
      "createdAt": "Todo 생성 시간"
    }
    ...
  ]
}
@rogarithm rogarithm self-assigned this Jun 27, 2023
@rogarithm
Copy link
Owner Author

pagination은 별도 이슈에서 따로 구현한다.

@rogarithm
Copy link
Owner Author

authorization은 별도 이슈에서 한 번에 구현한다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant