Schedule
월간일정 조회 API
SWMaestro의 월간일정을 조회합니다. 일정 범위, 구분, 제목이 포함됩니다.
List
현재 월의 월간일정 목록을 조회합니다. pagination 객체에 전체 페이지 수와 현재 페이지 정보가 포함됩니다.
const { items, pagination } = await client.schedule.list()
Options
await client.schedule.list({
page: 1,
month: '2026-06', // YYYY-MM
})
month를 생략하면 SWMaestro 네이티브 페이지와 동일하게 현재 월을 조회합니다.
Response
interface ScheduleListItem {
id: number
category: string
title: string
period: { start: string; end: string }
}
id는 SWMaestro가 별도 식별자를 노출하지 않아 응답 내 행 순서(1-based)를 사용합니다.