gitea_pages/frontend/query.graphql

34 lines
532 B
GraphQL
Raw Permalink Normal View History

2023-05-21 16:58:10 +00:00
query Users {
users {
name
repositories {
id
name
url
}
}
}
query UserByName($name: String!) {
userByName(name: $name) {
repositories {
name
url
}
}
}
query VerifyLogin($username: String!, $password: String!) {
verifyLogin(username: $username, password: $password)
}
mutation CreateRepository($user: String!, $name: String!) {
createRepository(input: { user: $user, name: $name }) {
id
}
}
mutation DeleteRepository($id: UUID!) {
deleteRepository(id: $id)
}