Skip to main content

Organization

No description

type Organization {
image: String
_id: ID!
name: String!
description: String!
location: String
isPublic: Boolean!
creator: User!
members: [User]
admins(adminId: ID): [User]
membershipRequests: [MembershipRequest]
blockedUsers: [User]
visibleInSearch: Boolean!
apiUrl: URL!
createdAt: DateTime
pinnedPosts: [Post]
userTags(
after: String
before: String
first: PositiveInt
last: PositiveInt
): UserTagsConnection
customFields: [OrganizationCustomField!]!
}

Fields

Organization.image ● String scalar

Organization._id ● ID! non-null scalar

Organization.name ● String! non-null scalar

Organization.description ● String! non-null scalar

Organization.location ● String scalar

Organization.isPublic ● Boolean! non-null scalar

Organization.creator ● User! non-null object

Organization.members ● [User] list object

Organization.admins ● [User] list object

Organization.admins.adminId ● ID scalar

Organization.membershipRequests ● [MembershipRequest] list object

Organization.blockedUsers ● [User] list object

Organization.visibleInSearch ● Boolean! non-null scalar

Organization.apiUrl ● URL! non-null scalar

Organization.createdAt ● DateTime scalar

Organization.pinnedPosts ● [Post] list object

Organization.userTags ● UserTagsConnection object

Organization.userTags.after ● String scalar
Organization.userTags.before ● String scalar
Organization.userTags.first ● PositiveInt scalar
Organization.userTags.last ● PositiveInt scalar

Organization.customFields ● [OrganizationCustomField!]! non-null object

Returned by

addOrganizationImage mutation ● createMember mutation ● createOrganization mutation ● joinedOrganizations query ● organizations query ● organizationsConnection query ● removeMember mutation ● removeOrganizationImage mutation ● updateOrganization mutation ● updateUserRoleInOrganization mutation

Member of

DirectChat object ● Event object ● Group object ● GroupChat object ● MembershipRequest object ● Post object ● User object ● UserTag object