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

REST endpoint for TRAM submitting report and returning TRAM prediction JSON #121

Open
watgh opened this issue Dec 10, 2021 · 5 comments
Open
Labels
enhancement New feature or request

Comments

@watgh
Copy link

watgh commented Dec 10, 2021

As a non-interactive user, I want to submit a report (similar to the upload endpoint) and receive a JSON response equivalent to the JSON export of an annotated report.

This is useful for using TRAM as a service for integration allowing other User Interfaces.

@MarkDavidson
Copy link
Contributor

@watgh - TRAM has a ML pipeline that can run without the webserver component. It's probably halfway to what you need.

You can add reports with:

manage.py pipeline add --file <filename>

But right there's no functionality to export results the same way, but it would be straightforward to add. What do you think?

@watgh
Copy link
Author

watgh commented Dec 15, 2021

For integration we actually need to be able to do this from the web interface. But one of our developers whipped out a solution to talk to the endpoints that exists. Once we test it I'll respond and close this ticket. We don't have systems where just anybody can login and access the command line when the prototype is used by a group.

@mehaase mehaase added the enhancement New feature or request label Feb 25, 2022
@JWeasy
Copy link

JWeasy commented Feb 8, 2024

@watgh Would you be willing to share the solution?

@watgh
Copy link
Author

watgh commented Feb 8, 2024 via email

@JWeasy
Copy link

JWeasy commented Feb 8, 2024

@watgh Thanks for the response. Looking to be able to remotely upload a flat file report from a system without interactive login within the web ui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants