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

search-api endpoint enhancement: Which "entities" satisfy *ranges* for date criteria? #603

Open
AlanSimmons opened this issue Jan 1, 2023 · 0 comments
Labels
enhancement New feature or request P Pitt dev team search-api-endpoints

Comments

@AlanSimmons
Copy link
Contributor

Use case 6 of #590

This is an enhancement of the endpoint for Use Case 4 described in #601.

Story

As a consumer of the search-api, I want to be able to obtain information on a set of "entities" with values that fall within certain date ranges. Examples:

  1. Return data for all datasets from CODEX assays that were performed on tissue samples that were obtained from the small intestines of female donors between March 2020 and April 2021.
  2. List all files from LC-MS assays that have file extension RAW that were created after May 2022.

Target

Developers of applications that would call the API.

Technical Translation

Return an ElasticSearch query response that can handle date ranges.

The endpoint for Use Case 4 returns values that exactly match. Use Case 5 handles numeric date ranges. This endpoint will need to handle date ranges--e.g.,

  • start date
  • end date

Solution options

Ability to specify date ranges in endpoints.

@AlanSimmons AlanSimmons added enhancement New feature or request P Pitt dev team search-api-endpoints labels Jan 1, 2023
@AlanSimmons AlanSimmons changed the title search-api endpoint enhancement: Which "entities" satisfy ranges for date criteria? search-api endpoint enhancement: Which "entities" satisfy *ranges* for date criteria? Jan 6, 2023
@shirey shirey added this to Pitt HIVE Jun 7, 2024
@shirey shirey moved this to Ready in Pitt HIVE Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P Pitt dev team search-api-endpoints
Projects
Status: Ready
Development

No branches or pull requests

1 participant