Added files API, fixed file.List returning all files if both author and public is unset
This commit is contained in:
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user