boostcamp-2020/Project04-C-Whale

작업 - 전체 조회 API 구현

Closed this issue · 0 comments

Task GET API (전체 작업)

URL

GET /api/task

Response Description

| Name   |    Type |     Description  |
| :-------------  |:--------------|:--------------|
| **tasks** |   **ARRAY** |  검색 결과 일치하는 task 배열 |
| **id** |   **STRING** |  task UUID |
| **title** |   **STRING** |  task title |

Response

{
    tasks: [
        {
            id : 'UUID',
            title: '작업작업',
        },
    ]
}

API 명세 링크

https://github.com/boostcamp-2020/Project04-C-Whale/wiki/Task-API

error code

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