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

About obtaining inspection results through RestApi service #850

Closed
bonnlee2024 opened this issue Jan 9, 2025 · 1 comment
Closed

About obtaining inspection results through RestApi service #850

bonnlee2024 opened this issue Jan 9, 2025 · 1 comment

Comments

@bonnlee2024
Copy link

Hi.
Please tell me how to deploy the docker service, I want to check files by restApi, I want to upload the file stream through the Http protocol and obtain the check results. It is just like Tika service. I don’t know if it is supported.

Thanks.

@reyammer
Copy link
Collaborator

Hello, we don't have a rest API, but it should be fairly easy to implement one by using flask/fastapi and the Magika python module, see for more context: https://github.com/google/magika/blob/main/python/README.md#using-magika-as-a-python-module.

@reyammer reyammer closed this as not planned Won't fix, can't repro, duplicate, stale Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants