OBJECT
RootQueryType
link GraphQL Schema definition
- type RootQueryType {
- # List of codes
- #
- # Arguments
- # id: Verification Code ID
- # code: Verification Code (string)
- Int, : String): [Code] ( :
- # Get count of comments by filter
- #
- # Arguments
- # id: Comment ID
- # idp: Primary Key (ID) of parent comment
- # user_id: User ID
- # created_from: Unix timestamp the start time of the period in
- # which the comment was created
- # created_to: Unix timestamp the end time of the period in which
- # the comment was created
- # status: Status of comments, can be separated by a comma
- # thing: Key of base Thing which comment, e.g. product or post
- # thing_id: ID of Thing item which comment
- # files_count: Count of file attachments in comment
- # all_children_of: ID of parent comment (for all nested levels)
- (
- Int, :
- Int, :
- Int, :
- Float, :
- Float, :
- String, :
- String, :
- String, :
- Int, :
- Int :
- ): Int
- # Get list of comments
- #
- # Arguments
- # id: Comment ID
- # idp: Primary Key (ID) of parent comment
- # user_id: User ID
- # created_from: Unix timestamp the start time of the period in
- # which the comment was created
- # created_to: Unix timestamp the end time of the period in which
- # the comment was created
- # status: Status of comments, can be separated by a comma
- # thing: Key of base Thing which comment, e.g. product or post
- # thing_id: ID of Thing item which comment
- # files_count: Count of file attachments in comment
- # all_children_of: ID of parent comment (for all nested levels)
- # from: Offset for list (for pagination)
- # limit: Max count comments in result (for pagination)
- (
- Int, :
- Int, :
- Int, :
- Float, :
- Float, :
- String, :
- String, :
- String, :
- Int, :
- Int, :
- Int, :
- Int :
- ): [Comment]
- # Get list of extended columns on Thing
- #
- # Arguments
- # thing: Key of base Thing e.g. product or user
- String): [ExtendedColumns] ( :
- # Get count files by filters
- #
- # Arguments
- # id: File ID
- # cdn_file_id: File ID on CDN
- # size: Size of file in Bytes
- # is_public: Is the file available via http without access token
- # type: Type of file: currently supported file & image
- # filename: Original filename with which the file was uploaded
- # created_from: Unix timestamp the start time of the period in
- # which the file was created
- # created_to: Unix timestamp the end time of the period in which
- # the file was created
- # md5: MD5 hash of file content
- (
- Int, :
- Int, :
- Int, :
- Int, :
- String, :
- String, :
- Float, :
- Float, :
- String :
- ): Int
- # Get list of files
- #
- # Arguments
- # id: File ID
- # cdn_file_id: File ID on CDN
- # size: Size of file in Bytes
- # is_public: Is the file available via http without access token
- # type: Type of file: currently supported file & image
- # filename: Original filename with which the file was uploaded
- # created_from: Unix timestamp the start time of the period in
- # which the file was created
- # created_to: Unix timestamp the end time of the period in which
- # the file was created
- # md5: MD5 hash of file content
- # from: Offset for list (for pagination)
- # limit: Max count files in result (for pagination)
- (
- Int, :
- Int, :
- Int, :
- Int, :
- String, :
- String, :
- Float, :
- Float, :
- String, :
- Int, :
- Int :
- ): [File]
- # List of FileGroups
- #
- # Arguments
- # id: FileGroup ID
- # module: Module key, e.g. shop or comment
- # thing: Base Thing key, e.g. product/images
- # thing_id: Base Thing ID
- Int, : String, : String, : String): [FileGroup] ( :
- # File in FileGroup
- #
- # Arguments
- # id: ID of link File to FileGroup
- Int!): FileGroupFile ( :
- # Convert amount to another currency
- #
- # Arguments
- # from: Current currency code
- # to: New currency code
- # sum: Amount in current (old) currency
- # precision: Number of fractional signs
- String!, : String!, : Float!, : Int): Float ( :
- # Get list of currencies
- #
- # Arguments
- # id: Currency ID
- # code: Currency code
- # is_active: Flag Currency active or not
- # is_main: Flag Currency main or not
- Int, : String, : Boolean, : Boolean): [Currency] ( :
- # Get list of Merchants by filter
- #
- # Arguments
- # id: Merchant ID
- # is_active: Merchant is active or not
- # is_test: Merchant for tests or not
- # processing: Processing key
- Int, : Boolean, : Boolean, : String): [Merchant] ( :
- # Get count of payments by filter
- #
- # Arguments
- # id: Payment ID
- # user_id: User ID
- # status: Payment status
- # merchant_id: Merchant ID
- # item_id: Any ID which will help identify the payment
- # type: Payment type
- # trancode: Payment state code on processing
- # processing: Processing key
- # amount_total: Total amount of payment
- # currency_id: Currency ID
- (
- Int, :
- Int, :
- String, :
- Int, :
- Int, :
- String, :
- String, :
- String, :
- Float, :
- Int :
- ): Int
- # Get list of payments by filter
- #
- # Arguments
- # id: Payment ID
- # user_id: User ID
- # status: Payment status
- # merchant_id: Merchant ID
- # item_id: Any ID which will help identify the payment
- # type: Payment type
- # trancode: Payment state code on processing
- # processing: Processing key
- # amount_total: Total amount of payment
- # currency_id: Currency ID
- # from: Offset for list (for pagination)
- # limit: Max count payments in result (for pagination)
- (
- Int, :
- Int, :
- String, :
- Int, :
- Int, :
- String, :
- String, :
- String, :
- Float, :
- Int, :
- Int, :
- Int :
- ): [Payment]
- # Getting rules how to direct user for processing
- #
- # Arguments
- # payment_id: Payment ID
- Int!): PaymentForm ( :
- # Get list of payment's services by filter
- #
- # Arguments
- # id: Service ID
- # payment_id: Payment ID
- # user_id: User ID
- # amount: Service amount
- Int, : Int, : Int, : Float): [PaymentService] ( :
- # Get list of wallets by filter
- #
- # Arguments
- # id: Wallet ID
- # user_id: User ID
- # currency_id: Currency ID
- # currency_code: Currency code, e.g usd or eur
- Int, : Int, : Int, : Int): [Wallet] ( :
- # Get count of wallet transactions by filter
- #
- # Arguments
- # id: Transaction ID
- # user_id: User ID
- # wallet_id: Wallet ID
- # currency_id: Currency ID
- # sum: Transaction amount
- (
- Int, :
- Int, :
- Int, :
- Int, :
- Float :
- ): Int
- # Get list of wallet transactions by filter
- #
- # Arguments
- # id: Transaction ID
- # user_id: User ID
- # wallet_id: Wallet ID
- # currency_id: Currency ID
- # sum: Transaction amount
- # from: Offset for list (for pagination)
- # limit: Max count transactions in result (for pagination)
- (
- Int, :
- Int, :
- Int, :
- Int, :
- Float, :
- Int, :
- Int :
- ): [WalletTransaction]
- # Get list of posts
- #
- # Arguments
- # id: Post ID
- # lang: Requested lang for multilang fields
- Int, : String): [Post] ( :
- # Getting a list of logged visits with UTM tags
- #
- # Arguments
- # id: Primary Key (log ID)
- # user_id: User ID
- # visitor_id: Visitor ID
- # utm_source: UTM parameter «source»
- # utm_medium: UTM parameter «medium»
- # utm_campaign: UTM parameter «campaign»
- # utm_term: UTM parameter «term»
- # utm_content: UTM parameter «content»
- (
- Int, :
- Int, :
- Int, :
- String, :
- String, :
- String, :
- String, :
- String :
- ): [Utm]
- # Count SMS by filter
- #
- # Arguments
- # id: Primary Key
- # to: Recipient phone number in international format
- # status: Current status of SMS
- # created_from: Unix timestamp the start time of the period in
- # which the sms was added
- # created_to: Unix timestamp the end time of the period in which
- # the sms was added
- # processing: Key of processing (sms gate)
- (
- Int, :
- String, :
- String, :
- Float, :
- Float, :
- String :
- ): Int
- # Get list of SMS by filter
- #
- # Arguments
- # id: Primary Key
- # to: Recipient phone number in international format
- # status: Current status of SMS
- # created_from: Unix timestamp the start time of the period in
- # which the sms was added
- # created_to: Unix timestamp the end time of the period in which
- # the sms was added
- # processing: Key of processing (sms gate)
- # from: Offset for list (for pagination)
- # limit: Max count sms in result (for pagination)
- (
- Int, :
- String, :
- String, :
- Float, :
- Float, :
- String, :
- Int, :
- Int :
- ): [Sms]
- # Get list of aliases
- #
- # Arguments
- # id: Alias ID
- # page_id: StaticPage ID
- # url: URL on site
- # from: Offset for list (for pagination)
- # limit: Max count aliases in result (for pagination)
- Int, : Int, : String, : Int, : Int): [StaticPageAlias] ( :
- # Count of StaticPage by filter
- #
- # Arguments
- # id: StaticPage ID
- # idp: ID of parent StaticPage
- # thing: Key of Base Thing, page by default
- Int, : Int, : String): Int ( :
- # Get list of StaticPage by filter
- #
- # Arguments
- # id: StaticPage ID
- # idp: ID of parent StaticPage
- # thing: Key of Base Thing, page by default
- # path: Path (part of URL)
- # lang: Lang key for multilang fields
- # with_parents: Need include parents in result or no
- # from: Offset for list (for pagination)
- # limit: Max count pages in result (for pagination)
- (
- Int, :
- Int, :
- String, :
- String, :
- String, :
- Boolean, :
- Int, :
- Int :
- ): [StaticPage]
- # Get list of MultiLang data
- #
- # Arguments
- # thing: Key of Base Thing, e.g. product or post, part of Primary
- # Key
- # thing_id: ID of Base Thing, part of Primary Key
- # lang: Lang, e.g. en or it, part of Primary Key
- # key: Key of field, e.g. title or description, part of Primary
- # Key
- (
- String!, :
- String!, :
- String, :
- String :
- ): [StaticPageLang]
- # Get count users by filter
- #
- # Arguments
- # id: User ID
- # login: User login
- # email: User email
- Int, : String, : Email): Int ( :
- # Get list of users by filter
- #
- # Arguments
- # id: User ID
- # login: User login
- # email: User email
- # from: Offset for list (for pagination)
- # limit: Max count users in result (for pagination)
- Int, : String, : Email, : Int, : Int): [User] ( :
- # Check user login & password
- #
- # Arguments
- # login: User login
- # password: User password
- # is_hash: If true, field password contain hash of password from
- # database. If false (by default) password contain raw password from user
- # is_user_action: Is real user login from html form? For logging.
- # Default value is false
- (
- String!, :
- String!, :
- Boolean, :
- Boolean :
- ): User
- # Get UserAccount data by user ID in third system
- #
- # Arguments
- # provider: Key of oauth provider, e.g. google or facebook
- # oauth_uid: User ID in third system
- (
- String!, :
- String! :
- ): UserAccounts
- # Get list of UserAccount
- #
- # Arguments
- # user_id: User ID
- Int): [UserAccounts] ( :
- # Get list of UserAgents. ID is used if specified, then user_agent_string, but not
- # both
- #
- # Arguments
- # id: UserAgent ID
- # user_agent_string: UserAgent raw string
- Int, : String): [UserAgent] ( :
- # Get list of Visitors
- #
- # Arguments
- # id: Visitor ID
- # user_id: User ID
- # cookie_value: Visitor unique string
- Int, : Int, : String): [Visitor] ( :
- }
link Require by
This element is not required by anyone