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

KG APIs to return sort date #1690

Open
3 tasks
jachro opened this issue Aug 31, 2023 · 0 comments
Open
3 tasks

KG APIs to return sort date #1690

jachro opened this issue Aug 31, 2023 · 0 comments

Comments

@jachro
Copy link
Contributor

jachro commented Aug 31, 2023

As a KG API user, I'd like the APIs to return the date used for sorting in the payload.

The idea.
We came up with the concept of a sort date to be returned in the payload so the API user can reason about the order of the items. In terms of the Dataset entity, the date would be either dateModified, dateCreated or datePublished in the exact form the search query uses internally.

Acceptance criteria:

  • Find out a proper name for the date property in the payload so it reflects the meaning in the best possible way (sortDate ???)
  • Make sure the Cross-Entity Search API conforms to the new concept
  • Make sure the Project Datasets API conforms to the new concept
@jachro jachro converted this from a draft issue Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready
Development

No branches or pull requests

1 participant