OBJECT

RootMutationType

link GraphQL Schema definition

  • type RootMutationType {
  • # Arguments
  • # id: [Not documented]
  • deleteProposedTo(id: ID!): Boolean
  • # Update a community
  • #
  • # Arguments
  • # community: [Not documented]
  • # communityId: [Not documented]
  • # icon: [Not documented]
  • # image: [Not documented]
  • updateCommunity(
  • community: CommunityUpdateInput!,
  • communityId: String!,
  • icon: UploadInput,
  • image: UploadInput
  • ): Community
  • # Arguments
  • # id: [Not documented]
  • deleteRegisterEmailAccess(id: String!): RegisterEmailAccess
  • # Arguments
  • # inScopeOf: [Not documented]
  • # spatialThing: [Not documented]
  • createSpatialThing(
  • inScopeOf: ID,
  • spatialThing: SpatialThingCreateParams!
  • ): SpatialThingResponse
  • # Arguments
  • # id: [Not documented]
  • deleteEconomicResource(id: ID!): Boolean
  • # Registers a new (human) person with the collaboration space
  • #
  • # Arguments
  • # person: [Not documented]
  • createPerson(person: AgentCreateParams!): PersonResponse
  • # Create a new thread, within an optional context
  • #
  • # Arguments
  • # comment: [Not documented]
  • # contextId: [Not documented]
  • createThread(comment: CommentInput!, contextId: String): Comment
  • # Update a organisation
  • #
  • # Arguments
  • # organisation: [Not documented]
  • # organisationId: [Not documented]
  • updateOrganisation(
  • organisation: OrganisationUpdateInput!,
  • organisationId: String!
  • ): Organisation
  • # Flag a user, community, collection, resource or comment, returning the flag
  • #
  • # Arguments
  • # contextId: [Not documented]
  • # message: [Not documented]
  • createFlag(contextId: String!, message: String!): Flag
  • # Erase record of an organization and thus remove it from the collaboration space
  • #
  • # Arguments
  • # id: [Not documented]
  • deleteOrganization(id: ID!): Boolean
  • # Arguments
  • # proposal: [Not documented]
  • updateProposal(proposal: ProposalUpdateParams): ProposalResponse
  • # Arguments
  • # id: [Not documented]
  • deleteProposal(id: ID!): Boolean
  • # Log in, works with both username and email
  • #
  • # Arguments
  • # email: This field is deprecated, please use `login` instead
  • # login: Username or email
  • # password: Password in cleartext
  • createSession(email: String, login: String, password: String!): AuthPayload
  • # Create a organisation
  • #
  • # Arguments
  • # contextId: [Not documented]
  • # organisation: [Not documented]
  • createOrganisation(
  • contextId: String,
  • organisation: OrganisationInput!
  • ): Organisation
  • # Confirm email. Returns a login token.
  • #
  • # Arguments
  • # token: [Not documented]
  • confirmEmail(token: String!): AuthPayload
  • # Send a proposal to another agent.
  • # @param proposed the (`Proposal`) to send to an involved agent
  • # @param proposedTo the (`Agent`) to include in the proposal
  • #
  • # Arguments
  • # proposed: [Not documented]
  • # proposedTo: [Not documented]
  • proposeTo(proposed: ID!, proposedTo: ID!): ProposedToResponse
  • # Creates a new offer for the logged in user, will ignore any provider specified.
  • #
  • # Arguments
  • # intent: [Not documented]
  • createOffer(intent: IntentCreateParams): IntentResponse
  • # Create a character to represent something (which already exists, pass the ID
  • # passed as context) in feeds and federation
  • #
  • # Arguments
  • # contextId: [Not documented]
  • characterise(contextId: String!): Character
  • # Follow a community, collection or a user by their canonical url returning the
  • # follow
  • #
  • # Arguments
  • # url: [Not documented]
  • createFollowByUrl(url: String!): Follow
  • # Arguments
  • # id: [Not documented]
  • deleteProposedIntent(id: ID!): Boolean
  • # Arguments
  • # intent: [Not documented]
  • createIntent(intent: IntentCreateParams): IntentResponse
  • # Reset password
  • #
  • # Arguments
  • # password: [Not documented]
  • # token: [Not documented]
  • resetPassword(password: String!, token: String!): AuthPayload
  • # Arguments
  • # processSpecification: [Not documented]
  • updateProcessSpecification(
  • processSpecification: ProcessSpecificationUpdateParams
  • ): ProcessSpecificationResponse
  • # Arguments
  • # intent: [Not documented]
  • updateIntent(intent: IntentUpdateParams): IntentResponse
  • # Create a new Category
  • #
  • # Arguments
  • # category: [Not documented]
  • # character: [Not documented]
  • # profile: [Not documented]
  • createCategory(
  • category: CategoryInput,
  • character: CharacterInput,
  • profile: ProfileInput
  • ): Category
  • # Update a category
  • #
  • # Arguments
  • # category: [Not documented]
  • # categoryId: [Not documented]
  • # character: [Not documented]
  • # profile: [Not documented]
  • updateCategory(
  • category: CategoryInput,
  • categoryId: ID,
  • character: CharacterInput,
  • profile: ProfileInput
  • ): Category
  • # Arguments
  • # id: [Not documented]
  • deleteUnit(id: ID!): Boolean
  • # Arguments
  • # id: [Not documented]
  • deleteEconomicEvent(id: ID!): Boolean
  • # Close a flag
  • #
  • # Arguments
  • # flagId: [Not documented]
  • resolveFlag(flagId: String!): Flag
  • # Arguments
  • # resourceSpecification: [Not documented]
  • createResourceSpecification(
  • resourceSpecification: ResourceSpecificationCreateParams
  • ): ResourceSpecificationResponse
  • # Create a community
  • #
  • # Arguments
  • # community: [Not documented]
  • # contextId: [Not documented]
  • # icon: [Not documented]
  • # image: [Not documented]
  • createCommunity(
  • community: CommunityInput!,
  • contextId: String,
  • icon: UploadInput,
  • image: UploadInput
  • ): Community
  • # Sends an email invite, and adds the email to invite list for private instances
  • #
  • # Arguments
  • # email: [Not documented]
  • sendInvite(email: String!): Boolean
  • # Arguments
  • # process: [Not documented]
  • updateProcess(process: ProcessUpdateParams!): ProcessResponse
  • # Include an existing intent as part of a proposal.
  • # @param publishedIn the (`Proposal`) to include the intent in
  • # @param publishes the (`Intent`) to include as part of the proposal
  • #
  • # Arguments
  • # publishedIn: [Not documented]
  • # publishes: [Not documented]
  • # reciprocal: [Not documented]
  • proposeIntent(publishedIn: ID!, publishes: ID!, reciprocal: Boolean): ProposedIntentResponse
  • # Create a Category to represents this taxonomy_tag in feeds and federation
  • #
  • # Arguments
  • # taxonomyTagId: [Not documented]
  • ingestTaxonomyTag(taxonomyTagId: Int): Taggable
  • # Arguments
  • # processSpecification: [Not documented]
  • createProcessSpecification(
  • processSpecification: ProcessSpecificationCreateParams
  • ): ProcessSpecificationResponse
  • # Arguments
  • # domain: [Not documented]
  • createRegisterEmailDomainAccess(
  • domain: String!
  • ): RegisterEmailDomainAccess!
  • # Arguments
  • # process: [Not documented]
  • createProcess(process: ProcessCreateParams!): ProcessResponse
  • # Fetch metadata from webpage
  • #
  • # Arguments
  • # url: [Not documented]
  • fetchWebMetadata(url: String!): WebMetadata
  • # Update organization profile details
  • #
  • # Arguments
  • # organization: [Not documented]
  • updateOrganization(organization: AgentUpdateParams!): OrganizationResponse
  • # Like a comment, collection, or resource returning the like
  • #
  • # Arguments
  • # contextId: [Not documented]
  • createLike(contextId: String!): Like
  • # Erase record of a person and thus remove them from the collaboration space
  • #
  • # Arguments
  • # id: [Not documented]
  • deletePerson(id: ID!): Boolean
  • # Delete more or less anything
  • #
  • # Arguments
  • # contextId: [Not documented]
  • delete(contextId: String!): AnyContext
  • # Arguments
  • # id: [Not documented]
  • deleteRegisterEmailDomainAccess(id: String!): RegisterEmailDomainAccess
  • # Arguments
  • # proposal: [Not documented]
  • createProposal(proposal: ProposalCreateParams): ProposalResponse
  • # Create a Taggable out of something else. You can also directly use the tag()
  • # mutation with a pointer ID instead.
  • #
  • # Arguments
  • # contextId: [Not documented]
  • makeTaggable(contextId: String): Taggable
  • # Arguments
  • # unit: [Not documented]
  • createUnit(unit: UnitCreateParams!): UnitResponse
  • # Deactivate a remote user, blocking further activities from it
  • #
  • # Arguments
  • # id: [Not documented]
  • deactivateUser(id: String!): User
  • # Tag a thing (using a Pointer) with one or more Taggables (or Categories, or even
  • # Pointers to anything that can become taggable)
  • #
  • # Arguments
  • # taggables: [Not documented]
  • # thing: [Not documented]
  • tag(taggables: [String]!, thing: String!): Boolean
  • # Log out
  • deleteSession: Boolean
  • # Creates a new need for the logged in user, will ignore any receiver specified.
  • #
  • # Arguments
  • # intent: [Not documented]
  • createNeed(intent: IntentCreateParams): IntentResponse
  • # Arguments
  • # email: [Not documented]
  • createRegisterEmailAccess(email: String!): RegisterEmailAccess!
  • # Arguments
  • # id: [Not documented]
  • deleteSpatialThing(id: ID!): Boolean
  • # Arguments
  • # id: [Not documented]
  • deleteProcessSpecification(id: ID!): Boolean
  • # Arguments
  • # resourceSpecification: [Not documented]
  • updateResourceSpecification(
  • resourceSpecification: ResourceSpecificationUpdateParams
  • ): ResourceSpecificationResponse
  • # Update a profile
  • #
  • # Arguments
  • # icon: [Not documented]
  • # image: [Not documented]
  • # profile: [Not documented]
  • updateProfile(
  • icon: UploadInput,
  • image: UploadInput,
  • profile: UpdateProfileInput!
  • ): Me
  • # Create a profile to represent something (which already exists, pass the ID
  • # passed as context) in feeds and federation
  • #
  • # Arguments
  • # contextId: [Not documented]
  • addProfileTo(contextId: String!): Profile
  • # Deletes my account!
  • #
  • # Arguments
  • # iAmSure: [Not documented]
  • deleteSelf(iAmSure: Boolean!): Boolean
  • # Arguments
  • # unit: [Not documented]
  • updateUnit(unit: UnitUpdateParams!): UnitResponse
  • # Reply to an existing comment in a thread
  • #
  • # Arguments
  • # comment: [Not documented]
  • # inReplyToId: [Not documented]
  • # threadId: [Not documented]
  • createReply(
  • comment: CommentInput!,
  • inReplyToId: String!,
  • threadId: String!
  • ): Comment
  • # Update profile details
  • #
  • # Arguments
  • # person: [Not documented]
  • updatePerson(person: AgentUpdateParams!): PersonResponse
  • # Arguments
  • # id: [Not documented]
  • deleteProcess(id: ID!): Boolean
  • # Arguments
  • # id: [Not documented]
  • deleteResourceSpecification(id: ID!): Boolean
  • # Arguments
  • # spatialThing: [Not documented]
  • updateSpatialThing(spatialThing: SpatialThingUpdateParams!): SpatialThingResponse
  • # Reset password request
  • #
  • # Arguments
  • # email: [Not documented]
  • resetPasswordRequest(email: String!): Boolean
  • # Arguments
  • # id: [Not documented]
  • deleteIntent(id: ID!): Boolean
  • # Arguments
  • # event: [Not documented]
  • updateEconomicEvent(event: EconomicEventUpdateParams!): EconomicEventResponse
  • # Registers a new organization (group agent) with the collaboration space
  • #
  • # Arguments
  • # organization: [Not documented]
  • createOrganization(organization: AgentCreateParams!): OrganizationResponse
  • # Modify a comment
  • #
  • # Arguments
  • # comment: [Not documented]
  • # commentId: [Not documented]
  • updateComment(comment: CommentInput!, commentId: String!): Comment
  • # Arguments
  • # event: [Not documented]
  • # newInventoriedResource: [Not documented]
  • createEconomicEvent(
  • event: EconomicEventCreateParams!,
  • newInventoriedResource: EconomicResourceCreateParams
  • ): EconomicEventResponse
  • # Arguments
  • # resource: [Not documented]
  • updateEconomicResource(
  • resource: EconomicResourceUpdateParams!
  • ): EconomicResourceResponse
  • # Follow a community, collection or thread returning the follow
  • #
  • # Arguments
  • # contextId: [Not documented]
  • createFollow(contextId: String!): Follow
  • # Create a user
  • #
  • # Arguments
  • # icon: [Not documented]
  • # image: [Not documented]
  • # user: [Not documented]
  • createUser(
  • icon: UploadInput,
  • image: UploadInput,
  • user: RegistrationInput!
  • ): Me
  • }

link Require by

This element is not required by anyone