From 33ec7bc7453a41c235728496cfc7bb20fc094366 Mon Sep 17 00:00:00 2001 From: Ben Greenbank <61185468+bengreenbank@users.noreply.github.com> Date: Mon, 3 Apr 2023 16:47:36 +0100 Subject: [PATCH] feat(specs): add `lastUpdatedAt` field to predict segments (#1431) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Clément Vannicatte --- specs/predict/responses/Segment.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/specs/predict/responses/Segment.yml b/specs/predict/responses/Segment.yml index 828af37034..70d9c9d779 100644 --- a/specs/predict/responses/Segment.yml +++ b/specs/predict/responses/Segment.yml @@ -70,6 +70,7 @@ segment: - conditions - segmentStatus - type + - lastUpdatedAt properties: segmentID: $ref: '#/segmentID' @@ -81,6 +82,8 @@ segment: $ref: '#/segmentStatus' type: $ref: '#/segmentType' + lastUpdatedAt: + $ref: '#/lastUpdatedAt' errorMessage: type: string @@ -108,6 +111,11 @@ segmentName: description: The name of the segment. updatedAt: + type: string + description: The date and time at which the segment was updated (RFC3339). + example: 2021-07-22T12:30:00Z + +lastUpdatedAt: type: string description: The date and time at which the segment was last updated (RFC3339). example: 2021-07-22T12:30:00Z