Added files API, fixed file.List returning all files if both author and public is unset

This commit is contained in:
2018-06-13 21:11:52 +02:00
parent 90a3597602
commit a4fea77047
3 changed files with 57 additions and 8 deletions
+3
View File
@@ -25,6 +25,9 @@ type Query {
# Find file by ID
file(id: String!): File
# Files get all available files. If includePublic is set, it will return public files as well
files(includePublic: Boolean, mimeTypes: [String!]): [File!]!
# Find current session
session: Session!