-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(specs): add lastUpdatedAt
field to predict segments
#1431
Conversation
✅ Deploy Preview for api-clients-automation ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✗ The generated branch has been deleted.If the PR has been merged, you can check the generated code on the |
lastUpdatedAt
field to predict segments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great :)
is it good to go? the pr body feels like it's not |
No, we plan to release the API some time next week. I'll comment on this PR once it's ready. |
specs/predict/responses/Segment.yml
Outdated
@@ -108,6 +111,11 @@ segmentName: | |||
description: The name of the segment. | |||
|
|||
updatedAt: | |||
type: string | |||
description: The date and time at which the segment was successfully updated (RFC3339). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is "successfully" needed? updatedAt
wouldn't get updated if the segment processing turns its status to "failed", is that it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Discussed on Slack) Yes, you are correct. updatedAt
is only ever used in the response to a create or update segment request (not used by the pipeline).
5c3cd7e
Hey @shortcuts, we are ready to release! Thanks! |
noice :) |
🧭 What and Why
Adds the last updated date and time to be consistent with other data structures in Predict.
🎟 JIRA Ticket: https://algolia.atlassian.net/browse/PRED-1281
API PR: https://github.com/algolia/predict-api/pull/97
To be released only once the API is live with the new changes.
Changes included:
lastUpdatedAt
to segmentsupdatedAt
in segments to distinguish between the two🧪 Test
n/a