mirror of
https://github.com/lldap/lldap.git
synced 2026-03-31 15:07:48 +01:00
graphql: Add a method to list groups
This commit is contained in:
committed by
nitnelave
parent
e4d6b122c5
commit
480f48f820
+9
-7
@@ -11,7 +11,8 @@ type Mutation {
|
||||
}
|
||||
|
||||
type Group {
|
||||
id: String!
|
||||
id: Int!
|
||||
displayName: String!
|
||||
"The groups to which this user belongs."
|
||||
users: [User!]!
|
||||
}
|
||||
@@ -30,6 +31,13 @@ input RequestFilter {
|
||||
"DateTime"
|
||||
scalar DateTimeUtc
|
||||
|
||||
type Query {
|
||||
apiVersion: String!
|
||||
user(userId: String!): User!
|
||||
users(filters: RequestFilter): [User!]!
|
||||
groups: [Group!]!
|
||||
}
|
||||
|
||||
"The details required to create a user."
|
||||
input CreateUserInput {
|
||||
id: String!
|
||||
@@ -39,12 +47,6 @@ input CreateUserInput {
|
||||
lastName: String
|
||||
}
|
||||
|
||||
type Query {
|
||||
apiVersion: String!
|
||||
user(userId: String!): User!
|
||||
users(filters: RequestFilter): [User!]!
|
||||
}
|
||||
|
||||
type User {
|
||||
id: String!
|
||||
email: String!
|
||||
|
||||
Reference in New Issue
Block a user