GET /api/v1/currentUser
GET /api/v1/menu
GET /api/v1/file/?parent=0
GET /api/v1/file/99/history
GET /api/v1/file/99/usage
GET /api/v1/file/99/actions
Kind of REST
GET /api/v1/config
GET /api/v1/file/
?parent=0
&include=id,title,url,history,related,actions
Still kind of REST
GET /api/v1/config
GET /api/v1/file/
?parent=0
&include=id,title,url,history,related,actions
&fields=history.date,history.version
Giving up on REST
GET /api/v1/currentUser
GET /api/v1/menu
GET /api/v1/file/
?parent=0
&include=history,related,actions
&fields=history.date,history.version
&history.limit=5
Text
Text
Text
type File {
id: ID!
title: String
url: String
size: Int
}
query ReadFiles() {
readFiles(limit:20) {
id
title
url
}
}