OBJECT

# AuthAsQuery

Query for operations as a specific member. This query contains most of the operations within the system.

## link GraphQL Schema definition

`

- type AuthAsQuery {
- # Details about a member you are authenticated as.
- me: Member!
- # All current user rights.
- rights: [String]!
- # All member's files.
- myFiles: [File]!
- # Single member by ID.
- # If not found, returns null.
- #
- # Arguments
- # id: Target member ID
- memberById(id: Int): Member
- # All members existing in the system.
- # This is a paged result.
- #
- # Arguments
- # sortOrder: Array of sorters
- # pageInput: Paged query input
- # filter: Filter applied to the results
- members(sortOrder: [SortOrder], pageInput: PageInput!, filter: MemberFilter): MemberArrayPagedResult
- # Single event by ID.
- # If not found, returns null.
- #
- # Arguments
- # id: Target event ID
- eventById(id: Int): Event
- # All events existing in the system.
- # This is a paged result.
- #
- # Arguments
- # sortOrder: Array of sorters
- # pageInput: Paged query input
- # filter: Filter applied to the results
- events(sortOrder: [SortOrder], pageInput: PageInput!, filter: EventFilter): EventArrayPagedResult
- # Single article by ID.
- # If not found, returns null.
- #
- # Arguments
- # id: Target article ID
- articleById(id: Int): Article
- # All articles existing in the system.
- # This is a paged result.
- #
- # Arguments
- # sortOrder: Array of sorters
- # pageInput: Paged query input
- # filter: Filter applied to the results
- articles(
- sortOrder: [SortOrder],
- pageInput: PageInput!,
- filter: ArticleFilter
- ): ArticleArrayPagedResult
- # Single certificate by ID.
- # If not found, returns null.
- #
- # Arguments
- # id: Target certificate ID
- certificateById(id: Int): Certificate
- # All certificates existing in the system.
- # This is a paged result.
- #
- # Arguments
- # sortOrder: Array of sorters
- # pageInput: Paged query input
- # filter: Filter applied to the results
- certificates(
- sortOrder: [SortOrder],
- pageInput: PageInput!,
- filter: CertificateFilter
- ): CertificateArrayPagedResult
- # Single role by ID.
- # If not found, returns null.
- #
- # Arguments
- # id: Target role ID
- roleById(id: Int): Role
- # All roles existing in the system.
- # This is a paged result.
- #
- # Arguments
- # sortOrder: Array of sorters
- # pageInput: Paged query input
- # filter: Filter applied to the results
- roles(sortOrder: [SortOrder], pageInput: PageInput!, filter: RoleFilter): RoleArrayPagedResult
- # Single organization role by ID.
- # If not found, returns null.
- #
- # Arguments
- # id: Target organization ID
- organizationRoleById(id: Int): OrganizationRole
- # All organization roles existing in the system.
- # This is a paged result.
- #
- # Arguments
- # sortOrder: Array of sorters
- # pageInput: Paged query input
- # filter: Filter applied to the results
- organizationRoles(
- sortOrder: [SortOrder],
- pageInput: PageInput!,
- filter: OrganizationRoleFilter
- ): OrganizationRoleArrayPagedResult
- # Single membership request by ID.
- # If not found, returns null.
- #
- # Rights: 'member.change-membership'
- #
- # Arguments
- # id: Target membership ID
- membershipRequestById(id: Int): MembershipRequest
- # All membership requests existing in the system.
- # This is a paged result.
- #
- # Rights: 'member.change-membership'
- #
- # Arguments
- # sortOrder: Array of sorters
- # pageInput: Paged query input
- # filter: Filter applied to the results
- membershipRequests(
- sortOrder: [SortOrder],
- pageInput: PageInput!,
- filter: MembershipRequestFilter
- ): MembershipRequestArrayPagedResult
- }

`

## link Require by

- AuthQueryQuery for logged users