最新のイベント サブスクリプションの実行を取得する

GET /groups/{groupId}/apps/{appId}/event_subscriptions/{eventSubscriptionId}/execution

イベント サブスクリプションの最新の実行に関する情報を返します。

path パラメータ

応答

  • 200 application/ JSON

    操作に成功しました。

    応答属性の非表示 応答属性の表示 オブジェクト
    • データ オブジェクト
    • resource_id オブジェクト
    • completed_at オブジェクト

      バッチするがイベントストリームから処理された最後の時刻。

      completed_at の値は現在の時刻に比較的近い値である必要があります。completed_at が時間の経過とともに更新され平均場合、イベントプロセッサ(例:Device Sync)がダウンまたは停止している。

    • cluster_time オブジェクト

      最も最近処理されたバッチする内の最新のイベントの時刻。

      cluster_time の値が completed_at 時間よりも大幅に前の場合、イベントプロセッサ(例:Device Sync)はイベントより遅れています。

GET /groups/{groupId}/apps/{appId}/event_subscriptions/{eventSubscriptionId}/execution
curl \
 --request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/event_subscriptions/{eventSubscriptionId}/execution' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
応答の例(200)
{
  "data": {},
  "resource_id": {},
  "completed_at": {},
  "cluster_time": {}
}