SharePoint リストの webhook

SharePoint リストの Webhook は、所定の SharePoint リストやドキュメント ライブラリのリスト アイテム変更に相当するイベントに対応します。 SharePoint webhooks は単純な通知パイプラインを提供しているため、アプリケーションは、サービスをポーリングすることなく、SharePoint リストの変更内容に気付くことができます。

タスク

タスク HTTP メソッド
新しいサブスクリプションの作成 POST /_api/web/lists('list-guid')/subscriptions
サブスクリプションの取得 GET /_api/web/lists('list-guid')/subscriptions
サブスクリプションの削除 DELETE /_api/web/lists('list-guid')/subscriptions('id')
サブスクリプションの更新 PATCH /_api/web/lists('list-guid')/subscriptions('id')

イベントの種類の一覧

SharePoint 内の次の非同期のリスト アイテム イベントについての通知がアプリケーションに送信されます。

  • ItemAdded
  • ItemUpdated
  • ItemDeleted
  • ItemCheckedOut
  • ItemCheckedIn
  • ItemUncheckedOut
  • ItemAttachmentAdded
  • ItemAttachmentDeleted
  • ItemFileMoved
  • ItemVersionDeleted
  • ItemFileConverted

Webhooks では、同期イベントはサポートされていません。

関連項目