OBJECT

Bot

This represents a Bot account

link GraphQL Schema definition

  • type Bot implements Account {
  • id: String
  • legacyId: Int
  • # The slug identifying the account (ie: babel)
  • slug: String
  • type: AccountType
  • name: String
  • description: String
  • longDescription: String
  • tags: [String]
  • website: String
  • twitterHandle: String
  • githubHandle: String
  • currency: String
  • expensePolicy: String
  • # Defines if the contributors wants to be incognito (name not displayed)
  • isIncognito: Boolean!
  • # Arguments
  • # height: [Not documented]
  • # format: [Not documented]
  • imageUrl(height: Int, format: ImageFormat): String
  • # Arguments
  • # height: [Not documented]
  • # format: [Not documented]
  • backgroundImageUrl(height: Int, format: ImageFormat): String
  • # The time of creation
  • createdAt: DateTime
  • updatedAt: DateTime
  • # Returns whether this account is archived
  • isArchived: Boolean
  • # Returns whether the account accepts financial contributions.
  • isActive: Boolean
  • # Returns whether the account is setup to Host collectives.
  • isHost: Boolean
  • # Returns true if the remote user is an admin of this account
  • isAdmin: Boolean!
  • # Get all members (admins, members, backers, followers)
  • #
  • # Arguments
  • # limit: [Not documented]
  • # offset: [Not documented]
  • # role: [Not documented]
  • # accountType: [Not documented]
  • members(limit: Int, offset: Int, role: [MemberRole], accountType: [AccountType]): MemberCollection
  • # Arguments
  • # limit: [Not documented]
  • # offset: [Not documented]
  • # role: [Not documented]
  • # accountType: [Not documented]
  • # account: [Not documented]
  • # isHostAccount: Filter on whether the account is a host or not
  • # isApproved: Filter on (un)approved collectives
  • # isArchived: Filter on archived collectives
  • # includeIncognito: Wether incognito profiles should be included
  • # in the result. Only works if requesting user is an admin of the account.
  • # searchTerm: A term to search membership. Searches in collective
  • # tags, name, slug, members description and role.
  • # hostFeesStructure: Filters on the Host fees structure applied
  • # to this account
  • # orderBy: Order of the results
  • memberOf(
  • limit: Int,
  • offset: Int,
  • role: [MemberRole],
  • accountType: [AccountType],
  • account: AccountReferenceInput,
  • isHostAccount: Boolean,
  • isApproved: Boolean,
  • isArchived: Boolean,
  • includeIncognito: Boolean,
  • searchTerm: String,
  • hostFeesStructure: HostFeeStructure,
  • orderBy: ChronologicalOrderInput!
  • ): MemberOfCollection
  • # Arguments
  • # type: [Not documented]
  • # limit: [Not documented]
  • # offset: [Not documented]
  • # orderBy: [Not documented]
  • # includeIncognitoTransactions: If the account is a user and this
  • # field is true, contributions from the incognito profile will be included too
  • # (admins only)
  • transactions(
  • type: TransactionType,
  • limit: Int,
  • offset: Int,
  • orderBy: ChronologicalOrderInput,
  • includeIncognitoTransactions: Boolean!
  • ): TransactionCollection!
  • # Arguments
  • # limit: [Not documented]
  • # offset: [Not documented]
  • # filter: [Not documented]
  • # status: [Not documented]
  • # tierSlug: [Not documented]
  • # onlySubscriptions: Only returns orders that have an
  • # subscription (monthly/yearly)
  • # orderBy: [Not documented]
  • orders(
  • limit: Int,
  • offset: Int,
  • filter: AccountOrdersFilter,
  • status: [OrderStatus],
  • tierSlug: String,
  • onlySubscriptions: Boolean,
  • orderBy: ChronologicalOrderInput
  • ): OrderCollection!
  • settings: JSON!
  • # Arguments
  • # limit: [Not documented]
  • # offset: [Not documented]
  • # tag: Only return conversations matching this tag
  • conversations(limit: Int, offset: Int, tag: String): ConversationCollection
  • # Returns conversation's tags for collective sorted by popularity
  • #
  • # Arguments
  • # limit: [Not documented]
  • conversationsTags(limit: Int): [TagStat]
  • # Returns expense tags for collective sorted by popularity
  • #
  • # Arguments
  • # limit: [Not documented]
  • expensesTags(limit: Int): [TagStat]
  • transferwise: TransferWise
  • # The list of payout methods that this collective can use to get paid
  • payoutMethods: [PayoutMethod]
  • # The list of payment methods that this collective can use to pay for Orders
  • #
  • # Arguments
  • # types: [Not documented]
  • # includeExpired: Wether to include expired payment methods.
  • # Payment methods expired since more than 6 months will never be returned.
  • paymentMethods(types: [String], includeExpired: Boolean): [PaymentMethod]!
  • # The list of connected accounts (Stripe, Twitter, etc ...)
  • connectedAccounts: [ConnectedAccount]
  • # The address associated to this account. This field is always public for
  • # collectives and events.
  • location: Location
  • categories: [String]!
  • stats: AccountStats
  • # Arguments
  • # limit: The number of results to fetch (default 10, max 1000)
  • # offset: The offset to use to fetch
  • # onlyPublishedUpdates: [Not documented]
  • updates(limit: Int, offset: Int, onlyPublishedUpdates: Boolean): UpdateCollection!
  • # Describes the features enabled and available for this collective
  • features: CollectiveFeatures!
  • }

link Require by

This element is not required by anyone