tools and datafiles can be fetched with parameter queries#699
Merged
acashmoney merged 41 commits intomainfrom Oct 17, 2023
Merged
tools and datafiles can be fetched with parameter queries#699acashmoney merged 41 commits intomainfrom
acashmoney merged 41 commits intomainfrom
Conversation
…ther a user is logged in
Contributor
Author
|
@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. |
thetechnocrat-dev
requested changes
Oct 17, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fetching tools
Tools can be fetched using individual or a combination of parameter queries. They can be fetched with a
GETrequest 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
GETrequest at/datafiles.Queryable parameters include
For Timestamp, the queries are
tsBeforeandtsAfterand 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