Files
speckle-server/modules/core/graph/schemas/server.graphql
T

47 lines
704 B
GraphQL

extend type Query {
serverInfo: ServerInfo!
}
"""
Information about this server.
"""
type ServerInfo {
name: String!
company: String
description: String
adminContact: String
canonicalUrl: String
termsOfService: String
roles: [Role]!
scopes: [Scope]!
}
"""
Available roles.
"""
type Role {
name: String!
description: String!
resourceTarget: String!
}
"""
Available scopes.
"""
type Scope {
name: String!
description: String!
}
extend type Mutation {
serverInfoUpdate( info: ServerInfoUpdateInput! ): Boolean
}
input ServerInfoUpdateInput {
name: String!
company: String
description: String
adminContact: String
canonicalUrl: String
termsOfService: String
}