Skip to content
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

Add snapshotCreatedOn to Resource response types in REST API #698

Open
4 tasks done
keithmanville opened this issue Dec 23, 2024 · 0 comments · Fixed by #699
Open
4 tasks done

Add snapshotCreatedOn to Resource response types in REST API #698

keithmanville opened this issue Dec 23, 2024 · 0 comments · Fixed by #699
Assignees
Labels
feature New feature to add to project

Comments

@keithmanville
Copy link
Collaborator

keithmanville commented Dec 23, 2024

The response schemas for Resources do not include the snapshot's created on datetime. This field was overlooked because for most endpoints, the latest snapshot is returned, so the snapshot created on datetime is the same as the last modified on datetime. However, when browsing the history, the snapshot created on datetime is important.

Definition of done

  • add a snapshotCreatedOn datetime field to the response schema to all Resource response schemas
  • update the "build" functions to return add the field to the responses
  • update tests to validate the new response schema
  • merge the feature into dev
@keithmanville keithmanville added the feature New feature to add to project label Dec 23, 2024
@keithmanville keithmanville self-assigned this Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature to add to project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant