mirror of
https://github.com/Unkn0wnCat/matrix-veles.git
synced 2025-07-31 07:08:44 +02:00
api: Add graphql endpoint
This commit is contained in:
parent
9e05c54d81
commit
8256b70fcb
21 changed files with 9111 additions and 15 deletions
42
graph/examples/examples.graphql
Normal file
42
graph/examples/examples.graphql
Normal file
|
@ -0,0 +1,42 @@
|
|||
query {
|
||||
entries(first:2) {
|
||||
pageInfo {
|
||||
hasPreviousPage
|
||||
hasNextPage
|
||||
startCursor
|
||||
endCursor
|
||||
}
|
||||
edges {
|
||||
node {
|
||||
id
|
||||
tags
|
||||
timestamp
|
||||
comments {
|
||||
edges {
|
||||
node {
|
||||
author {
|
||||
id
|
||||
}
|
||||
content
|
||||
timestamp
|
||||
}
|
||||
}
|
||||
}
|
||||
partOf {
|
||||
edges {
|
||||
node {
|
||||
id
|
||||
maintainers {
|
||||
edges {
|
||||
node {
|
||||
username
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue