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

GraphQL: missing upload evidence feature #230

Open
inode- opened this issue Jul 5, 2022 · 5 comments
Open

GraphQL: missing upload evidence feature #230

inode- opened this issue Jul 5, 2022 · 5 comments
Assignees
Labels
enhancement New feature or request in progress On the road map and being actively worked

Comments

@inode-
Copy link

inode- commented Jul 5, 2022

Maybe I'm wrong, but I was unable to find a way to upload evidence via graphql.

Using the "insert_evidence" mutation in possible to add an entry of evidence but it's not possible to upload the files.

@chrismaddalena
Copy link
Collaborator

Hey @inode-, you're not missing anything. GraphQL has no support for files because it's all JSON, so file uploads really need a REST endpoint. To avoid anyone trying to use an insert_evidence mutation and not being able to include their file I disabled that permission.

I'm working on REST endpoints for inserting/creating and updating evidence files and other files. For now, you can upload your file via the web GUI and then manage it via the GraphQL API.

@chrismaddalena chrismaddalena self-assigned this Jul 6, 2022
@chrismaddalena chrismaddalena added the enhancement New feature or request label Jul 6, 2022
Copy link

This issue has been labeled as stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Jun 30, 2024
Copy link

This issue is closed because it has been inactive for 14 days since being labeled stale. Feel free to re-open the issue with a comment. If this needs further discussion (e.g., a feature request), it might be better to open a topic under the Discussions tab.

@chrismaddalena
Copy link
Collaborator

This issue is closed but tracked on the road map. We also have a dev branch with this feature implemented for an upcoming release.

Copy link

This issue has been labeled as stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Aug 29, 2024
@chrismaddalena chrismaddalena added in progress On the road map and being actively worked and removed stale labels Sep 10, 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 in progress On the road map and being actively worked
Projects
Status: Released
Development

No branches or pull requests

3 participants