获取活动计划维护

获取 /scheduled-maintenances/active.json

检索活动的计划维护列表(处于“正在进行”或“正在验证”状态)。

响应

  • 200 application/json

    已成功检索活动计划维护

    隐藏响应属性 显示响应属性 对象
    • page 对象 必需
      隐藏页面属性 显示页面属性 对象
      • id 字符串 必需

        页面的唯一标识符

      • 名称 字符串 必需

        状态页面的名称

      • url string(uri) 必需

        状态页面的URL

      • updated_at string(date-time) 必需

        上次更新页面的时间戳 (ISO 8601)

    • Scheduled_Maintenances 大量[对象] 必需

      定期维护列表

      隐藏 Scheduled_Maintenances 属性 显示 Scheduled_Maintenances 属性 对象
      • created_at string(date-time) 必需

        创建时的时间戳 (ISO 8601)

      • id 字符串 必需

        Unique maintenance identifier

      • 影响 字符串 必需

        影响级别

        取值为 noneminormajorcriticalmaintenance

      • event_updates 大量[对象] 必需

        更新列表

        隐藏 event_updates 属性 显示 event_updates 属性 对象
        • body 字符串 必需

          Update message

        • created_at string(date-time) 必需

          创建更新时的时间戳 (ISO 8601)

        • display_at 字符串(日期时间)| null 必需

          显示时间戳 (ISO 8601)

        • id 字符串 必需

          Unique update identifier

        • event_id 字符串 必需

          唯一事件标识符

        • 状态 字符串 必需

          Update status

          取值为 investigatingidentifiedmonitoringresolvedpostmortemscheduledin_progressverifyingcompleted

        • updated_at string(date-time) 必需

          上次修改更新时的时间戳 (ISO 8601)

      • monitoring_at 字符串(日期时间)| null

        监控开始时的时间戳 (ISO 8601)

      • 名称 字符串 必需

        维护名称

      • page_id 字符串 必需

        Unique page identifier

      • postmortem_body 字符串 | null

        Postmortem body

      • postmortem_body_last_updated_at 字符串(日期时间)| null

        上次更新事后分析的时间戳 (ISO 8601)

      • postmortem_ignored 布尔

        是否忽略事后分析

      • postmortem_notified_subscribers 布尔

        订阅者是否收到事后分析通知

      • postmortem_published_at 字符串(日期时间)| null

        发布事后分析的时间戳 (ISO 8601)

      • solved_at 字符串(日期时间)| null

        解决维护问题时的时间戳 (ISO 8601)

      • Scheduled_for string(date-time) 必需

        定时启动 (ISO 8601)

      • Scheduled_remind_prior 布尔

        是否在计划维护之前发送提醒

      • Scheduled_remembered_at 字符串(日期时间)| null

        发送提醒时的时间戳 (ISO 8601)

      • Scheduled_until string(date-time) 必需

        计划结束时间 (ISO 8601)

      • 状态 字符串 必需

        当前维护状态

        取值为 scheduledin_progressverifyingcompleted

      • updated_at string(date-time) 必需

        上次更新维护时的时间戳 (ISO 8601)

  • 404 application/json

    未找到请求的资源

    隐藏响应属性 显示响应属性 对象
    • message 字符串 必需

      错误消息

    • 代码 整型

      错误代码

  • 500 application/json

    服务器内部错误

    隐藏响应属性 显示响应属性 对象
    • message 字符串 必需

      错误消息

    • 代码 整型

      错误代码

GET /scheduled-maintenances/active.json
curl \
 --request GET 'https://status.mongodb.com/api/v2/scheduled-maintenances/active.json'
响应示例 (200)
{
  "page": {
    "id": "y2j98763l56x",
    "name": "MongoDB Cloud Status",
    "url": "https://status.mongodb.com",
    "updated_at": "2025-03-11T00:52:20-07:00"
  },
  "scheduled_maintenances": [
    {
      "created_at": "2025-05-04T09:42:00Z",
      "id": "string",
      "impact": "none",
      "incident_updates": [
        {
          "body": "string",
          "created_at": "2025-05-04T09:42:00Z",
          "display_at": "2025-05-04T09:42:00Z",
          "id": "string",
          "incident_id": "string",
          "status": "investigating",
          "updated_at": "2025-05-04T09:42:00Z"
        }
      ],
      "monitoring_at": "2025-05-04T09:42:00Z",
      "name": "string",
      "page_id": "string",
      "postmortem_body": "string",
      "postmortem_body_last_updated_at": "2025-05-04T09:42:00Z",
      "postmortem_ignored": true,
      "postmortem_notified_subscribers": true,
      "postmortem_published_at": "2025-05-04T09:42:00Z",
      "resolved_at": "2025-05-04T09:42:00Z",
      "scheduled_for": "2025-05-04T09:42:00Z",
      "scheduled_remind_prior": true,
      "scheduled_reminded_at": "2025-05-04T09:42:00Z",
      "scheduled_until": "2025-05-04T09:42:00Z",
      "shortlink": "https://example.com",
      "status": "scheduled",
      "updated_at": "2025-05-04T09:42:00Z"
    }
  ]
}
响应示例 (404)
{
  "code": 404,
  "message": "Resource not found"
}
响应示例 (500)
{
  "code": 500,
  "message": "Internal server error"
}