주요 콘텐츠로 건너뛰기

GET /cards

설명

모든 카드에 대한 데이터를 가져오며, 카드 객체 배열을 포함한 json 객체를 반환합니다.

이 경로는 /cards 경로에 대한 HTTP GET 요청을 처리합니다.

요청 본문

요청 본문은 필요하지 않습니다.

응답

이 경로는 모든 카드 객체 배열을 포함하는 json 객체를 반환합니다.

예시:

[
{
"id": 4,
"label": "Set the tasks priorities",
"description": "",
"column": 2,
"row": 1,
"start_date": "2018-01-01T00:00:00Z",
"end_date": null,
"progress": 75,
"attached": [],
"color": "#FFC975",
"users": []
},
{
"id": 5,
"label": "Custom icons",
"description": "",
"column": 2,
"row": 2,
"start_date": "2019-01-01T00:00:00Z",
"end_date": null,
"progress": 0,
"attached": [],
"color": "#65D3B3",
"users": []
},
{
"id": 6,
"label": "Integration with Gantt",
"description": "",
"column": 2,
"row": 2,
"start_date": "2020-01-01T00:00:00Z",
"end_date": null,
"progress": 75,
"attached": [],
"color": "#FFC975",
"users": []
},
]
노트

이벤트 시작 및 종료 날짜는 ISO 형식 yyyy-MM-dd'T'HH:mm:ss.SSSXXX을 준수해야 합니다.

반환되는 객체의 다른 예시는 cards에서 확인할 수 있습니다.

HTTP 상태 코드는 요청 성공 여부를 나타내며, 성공 시 (response.status == 200), 실패 시 (response.status == 500)입니다.


관련 문서: