Skip to content

Add findFiles and findFile graphql queries #5941

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

Merged
merged 9 commits into from
Jun 24, 2025

Conversation

WithoutPants
Copy link
Collaborator

@WithoutPants WithoutPants commented Jun 19, 2025

Adds findFiles and findFile queries to the graphql schema.
Adds parent_folder and zip_file fields to the file and folder types and deprecates parent_folder_id and zip_file_id.

This can be used to create a file system view, or for plugins to better manipulate files.

Related design: https://discourse.stashapp.cc/t/design-add-support-for-querying-files/577

@WithoutPants WithoutPants added this to the Version 0.29.0 milestone Jun 19, 2025
@WithoutPants WithoutPants added the feature Pull requests that add a new feature label Jun 19, 2025
Having File in the schema collided with the File definition in typescript.
@WithoutPants WithoutPants merged commit 704041d into stashapp:develop Jun 24, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Pull requests that add a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants