api: Add graphql endpoint

This commit is contained in:
Kevin Kandlbinder 2022-03-17 00:24:30 +01:00
parent 9e05c54d81
commit 8256b70fcb
21 changed files with 9111 additions and 15 deletions

View 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
}
}
}
}
}
}
}
}
}
}