개요
모든 webhook 이벤트는 일관된 payload 구조를 따라요. 이 문서는 모든 이벤트 타입에 공통으로 사용되는 표준 형식을 설명해요.표준 Event Structure
필드 설명
최상위 필드
이 webhook 이벤트의 고유 식별자예요. idempotency와 중복 제거에 사용하세요.
이벤트 타입 식별자예요 (예:
note.created, note.recording.completed).이벤트가 발생한 시각의 ISO-8601 timestamp예요. 이벤트 정렬에 사용하세요.
리소스 정보를 담고 있는 이벤트별 데이터예요.
Data 오브젝트 필드
이벤트를 발생시킨 리소스의 타입이에요. 예:
Note, NoteDocument, NoteSummary, FolderNoteRelation.특정 리소스 인스턴스의 고유 식별자예요. 빠른 라우팅과 idempotency에 사용하세요.
실제 리소스 데이터예요. 구조는 리소스 타입에 따라 달라지며 Tiro의 표준 스키마를 따라요.
이벤트 타입
이벤트 타입은 발생한 특정 동작을 식별해요. 다음은 몇 가지 예시예요.리소스 타입 매핑
| Event Type | Resource Type | Schema Reference |
|---|---|---|
note.* | Note | Note API |
note_document.* | NoteDocument | NoteDocument Events |
note_summary.* | NoteSummary | NoteSummary Events |
folder.* | FolderNoteRelation | FolderNote Events |