-
Notifications
You must be signed in to change notification settings - Fork 14
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
tools and datafiles can be fetched with parameter queries #699
Conversation
…ther a user is logged in
@thetechnocrat-dev this is branching off #698, hence all the Files changed. Relevant files for this PR with respect to #698 are
I didn't build a frontend for this since we're holding off on Search functionality on the frontend for now, and we still have a few more cycles for designing the wireframes. But the endpoints should still be useful for when we update the pip package. |
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.
Fetching tools
Tools can be fetched using individual or a combination of parameter queries. They can be fetched with a
GET
request at/tools
.Queryable parameters include
Example
Fetching datafiles
Datafiles can be fetched using individual or a combination of queries for parameters. They can be fetched with a
GET
request at/datafiles
.Queryable parameters include
For Timestamp, the queries are
tsBefore
andtsAfter
and can be combined to specify a range through which to search for datafiles uploaded. Both of these should adhere to RFC3339 format, which aligns with how we write datafiles to our DB.Example