-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathschema.graphql
4535 lines (4336 loc) · 155 KB
/
schema.graphql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# This file was generated. Do not edit manually.
schema {
query: Query
mutation: Mutation
subscription: Subscription
}
directive @fetcher(name: String) on FIELD_DEFINITION
directive @mapping(ignoreDefaultQueries: Boolean, node: String, property: String) on OBJECT | FIELD_DEFINITION
"Indicates an Input Object is a OneOf Input Object."
directive @oneOf on INPUT_OBJECT
"GraphQL representation of a JCR item definition"
interface JCRItemDefinition {
"Reports whether the item is to be automatically created when its parent node is created."
autoCreated: Boolean!
"Gets the node type that contains the declaration of this definition."
declaringNodeType: JCRNodeType!
"Reports whether the child item is hidden from UI."
hidden: Boolean!
"Reports whether the item is mandatory. A mandatory item is one that, if its parent node exists, must also exist."
mandatory: Boolean!
"Gets the name of the child item."
name: String!
"Reports whether the child item is protected."
protected: Boolean!
}
"GraphQL representation of a JCR node"
interface JCRNode {
"Get ACL info for this node"
acl: GqlAcl
"Get the last modified date of this node and its descendants. The recursion in descendants can be controlled by recursionTypesFilter. If no filter is passed, recursion will stop by default on sub pages."
aggregatedLastModifiedDate(
"The language to use to get the last modified date, if not specified, returns last modification date in any language"
language: String,
"Stop recursion on nodes by their types; null to avoid such filtering"
recursionTypesFilter: InputNodeTypesInput
): String
"Aggregated publication info about the JCR node"
aggregatedPublicationInfo(
"Publication language"
language: String!,
"Whether to take references into account when calculating the aggregated publication status"
references: Boolean = false,
"Whether to take sub-nodes into account when calculating the aggregated publication status"
subNodes: Boolean = false
): GqlPublicationInfo!
"Render URL in ajax mode"
ajaxRenderUrl: String
"Returns a list of types allowed under the provided node"
allowedChildNodeTypes(
"Filter by GraphQL fields values"
fieldFilter: InputFieldFiltersInput,
"Whether all sub-types of allowed child node types should be included"
includeSubTypes: Boolean = true
): [JCRNodeType]
"GraphQL representations of the ancestor nodes of the JCR node, top down direction"
ancestors(
"Filter by graphQL fields values"
fieldFilter: InputFieldFiltersInput,
"The path of the topmost ancestor node to include in the result; null or empty string to include all the ancestor nodes"
upToPath: String
): [JCRNode]!
"GraphQL representations of the child nodes, according to parameters passed"
children(
"fetching only nodes after this node (exclusive)"
after: String,
"fetching only nodes before this node (exclusive)"
before: String,
"Filter by graphQL fields values"
fieldFilter: InputFieldFiltersInput,
"Group fields according to specified criteria"
fieldGrouping: InputFieldGroupingInput,
"Sort by graphQL fields values"
fieldSorter: InputFieldSorterInput,
"fetching only the first certain number of nodes"
first: Int,
"Include the current node itself in results"
includesSelf: Boolean = false,
"fetching only the last certain number of nodes"
last: Int,
"fetching only the first certain number of nodes"
limit: Int,
"Filter of child nodes by their names; null to avoid such filtering"
names: [String],
"fetching only nodes after this node (inclusive)"
offset: Int,
"Filter of child nodes by their property values; null to avoid such filtering"
propertiesFilter: InputNodePropertiesInput,
"Filter of child nodes by their types; null to avoid such filtering"
typesFilter: InputNodeTypesInput,
"Language to use to get children"
validInLanguage: String
): JCRNodeConnection
"Read default Work in progress information. Set by \"wip.checkbox.checked\" system proprety"
defaultWipInfo: wipInfo
"Returns the node definition that applies to this node."
definition: JCRNodeDefinition
"The depth in the JCR Tree of the JCR node this object represents"
depth: Int!
"GraphQL representation of a descendant node, based on its relative path"
descendant(
"Name or relative path of the sub node"
relPath: String!
): JCRNode
"GraphQL representations of the descendant nodes, according to parameters passed"
descendants(
"fetching only nodes after this node (exclusive)"
after: String,
"fetching only nodes before this node (exclusive)"
before: String,
"Filter by graphQL fields values"
fieldFilter: InputFieldFiltersInput,
"Group fields according to specified criteria"
fieldGrouping: InputFieldGroupingInput,
"Sort by graphQL fields values"
fieldSorter: InputFieldSorterInput,
"fetching only the first certain number of nodes"
first: Int,
"fetching only the last certain number of nodes"
last: Int,
"fetching only the first certain number of nodes"
limit: Int,
"Maximum depth in JCR tree for descendants from the current node, 0 (or less) for all sub nodes, 1 for one sub level, etc"
maxDepth: Int,
"fetching only nodes after this node (inclusive)"
offset: Int,
"Filter of descendant nodes by their property values; null to avoid such filtering"
propertiesFilter: InputNodePropertiesInput,
"Filter out and stop recursion on nodes by their property values; null to avoid such filtering"
recursionPropertiesFilter: InputNodePropertiesInput,
"Filter out and stop recursion on nodes by their types; null to avoid such filtering"
recursionTypesFilter: InputNodeTypesInput,
"Filter of descendant nodes by their types; null to avoid such filtering"
typesFilter: InputNodeTypesInput,
"Language to use to get children"
validInLanguage: String
): JCRNodeConnection
"The display name of the JCR node this object represents in the requested language"
displayName(
"The language to obtain the display name in"
language: String
): String
"Returns the first parent of the current node that can be displayed in full page. If no matching node is found, null is returned."
displayableNode: JCRNode
"Returns the next available name for a node, appending if needed numbers."
findAvailableNodeName(language: String, nodeType: String): String
"Check if the current user has a specific permission"
hasPermission(
"The name of the permission"
permissionName: String!
): Boolean
"Check if the node as a renderable template associated with it (not a view a template)."
isDisplayableNode: Boolean
"true if node is under a mounted node"
isExternal: Boolean!
"Reports if the current node matches the nodetype(s) passed in parameter"
isNodeType(
"Node type name"
type: InputNodeTypesInput!
): Boolean!
"Check if the given locales need translation, by comparing last modifications dates with already existing translations"
languagesToTranslate(
"List of languages potentially to be translated"
languagesToCheck: [String],
"List of known translated languages, will be used to compare modifications dates"
languagesTranslated: [String]
): [String]
"Retrieve lock info of the current node"
lockInfo: LockInfo
"Returns edit lock status of the current node object"
lockedAndCannotBeEdited: Boolean
"Returns an array of <code>NodeType</code> objects representing the mixin node types in effect for this node."
mixinTypes(
"Filter by GraphQL fields values"
fieldFilter: InputFieldFiltersInput
): [JCRNodeType]!
"The name of the JCR node this object represents"
name: String!
"GraphQL representation of this node in certain workspace"
nodeInWorkspace(
"The target workspace"
workspace: Workspace!
): JCRNode
"Get information on the operations that can be done on this node"
operationsSupport: GqlOperationsSupport
"GraphQL representation of the parent JCR node"
parent: JCRNode
"The path of the JCR node this object represents"
path: String!
"Get the primary node type of this node"
primaryNodeType: JCRNodeType!
"GraphQL representations of the properties in the requested language"
properties(
"Filter by graphQL fields values"
fieldFilter: InputFieldFiltersInput,
"The language to obtain the properties in; must be a valid language code in case any internationalized properties are requested, does not matter for non-internationalized ones"
language: String,
"The names of the JCR properties; null to obtain all properties"
names: [String],
"When set to true, returns the node in the default language if there is no translation for the requested language. Returns null if the option \"Replace untranslated content with the default language content\" is not activated for the site of the requested node. Will also return null if there is no translation for the default language."
useFallbackLanguage: Boolean = false
): [JCRProperty]!
"The GraphQL representation of the property in the requested language; null if the property does not exist"
property(
"The language to obtain the property in; must be a valid language code for internationalized properties, does not matter for non-internationalized ones"
language: String,
"The name of the JCR property"
name: String!,
"When set to true, returns the node in the default language if there is no translation for the requested language. Returns null if the option \"Replace untranslated content with the default language content\" is not activated for the site of the requested node. Will also return null if there is no translation for the default language."
useFallbackLanguage: Boolean = false
): JCRProperty
"Returns count of all references of the node across all sites"
referenceCount(
"Filter out referencing types which should not be counted"
typesFilter: InputNodeTypesInput
): Int
"GraphQL representations of the reference properties that target the current JCR Node"
references(
"fetching only nodes after this node (exclusive)"
after: String,
"fetching only nodes before this node (exclusive)"
before: String,
"Filter by graphQL fields values"
fieldFilter: InputFieldFiltersInput,
"Sort by graphQL fields values"
fieldSorter: InputFieldSorterInput,
"fetching only the first certain number of nodes"
first: Int,
"fetching only the last certain number of nodes"
last: Int,
"fetching only the first certain number of nodes"
limit: Int,
"fetching only nodes after this node (inclusive)"
offset: Int
): JCRPropertyConnection!
"Get render URL"
renderUrl(
"Finds displayable node"
findDisplayable: Boolean = false,
"The language content is rendered in"
language: String!,
"The target workspace"
workspace: Workspace!
): String
"Gets the fully rendered content for this node"
renderedContent(
"Rendering context configuration"
contextConfiguration: String,
"Is edit mode"
isEditMode: Boolean,
"Language"
language: String,
"Main resource path"
mainResourcePath: String,
"Additional request attributes"
requestAttributes: [InputRenderRequestAttributeInput],
"Template type"
templateType: String,
"Name of the view (leave null for default)"
view: String
): RenderedNode
"GraphQL representation of the site the JCR node belongs to, or the system site in case the node does not belong to any site"
site: JCRSite
"Get node thumbnail URL"
thumbnailUrl(
"Checks if requested thumbnail node exists"
checkIfExists: Boolean = false,
"Thumbnail name"
name: String
): String
"Returns languages of available translations for this node"
translationLanguages(
"Optional: Return languages only if it is active for the site"
isActiveOnly: Boolean
): [String]
"Get node URL"
url: String
"GraphQL representations of the reference properties that target the current JCR Node"
usages(
"fetching only nodes after this node (exclusive)"
after: String,
"fetching only nodes before this node (exclusive)"
before: String,
"Filter by graphQL fields values"
fieldFilter: InputFieldFiltersInput,
"Sort by graphQL fields values"
fieldSorter: InputFieldSorterInput,
"fetching only the first certain number of nodes"
first: Int,
"fetching only the last certain number of nodes"
last: Int,
"fetching only the first certain number of nodes"
limit: Int,
"fetching only nodes after this node (inclusive)"
offset: Int
): UsageConnection!
"The UUID of the JCR node this object represents"
uuid: String!
"Get vanity URLs from the current node filtered by the parameters"
vanityUrls(
"Filter results based on graphql field values"
fieldFilter: InputFieldFiltersInput,
"Languages"
languages: [String]
): [VanityUrl]
"Read work in progress information for a given node"
wipInfo: wipInfo
"Get the workspace of the query"
workspace: Workspace!
}
"GraphQL representation of a principal"
interface Principal {
"Full display name"
displayName: String
"List of groups this principal belongs to"
groupMembership(
"fetching only nodes after this node (exclusive)"
after: String,
"fetching only nodes before this node (exclusive)"
before: String,
"Filter by graphQL fields values"
fieldFilter: InputFieldFiltersInput,
"Group fields according to specified criteria"
fieldGrouping: InputFieldGroupingInput,
"Sort by graphQL fields values"
fieldSorter: InputFieldSorterInput,
"fetching only the first certain number of nodes"
first: Int,
"fetching only the last certain number of nodes"
last: Int,
"fetching only the first certain number of nodes"
limit: Int,
"fetching only nodes after this node (inclusive)"
offset: Int,
"Return only groups which belong to this site"
site: String
): GroupConnection!
"Is this principal member of the specified group"
memberOf(
"Target group"
group: String,
"Site where the group is defined"
site: String
): Boolean
"Name"
name: String!
"Get the corresponding JCR node"
node: JCRNode
"Get principal type for this principal"
principalType: PrincipalType
"Site where the principal is defined"
site: JCRSite
}
"GraphQL representation of a Jahia ACL role"
type AclRole {
"List of dependencies for a given role"
dependencies: [AclRole]
"Role description for a given locale"
description(
"locale"
locale: String
): String
"Role label for a given locale"
label(
"locale"
locale: String
): String
"Role name"
name: String
"Role group"
roleGroup: String
}
"Admin mutations"
type AdminMutation {
"Get Jahia admin mutation"
jahia: JahiaAdminMutation!
"Mount point mutation extension API"
mountPoint: GqlMountPointMutation
"Personal API tokens mutations"
personalApiTokens: PersonalApiTokensMutation
}
"Admin queries root"
type AdminQuery {
"Details about the Jahia cluster"
cluster: Cluster
"Current datetime"
datetime: String
"Get Jahia admin query"
jahia: JahiaAdminQuery!
"Mount point mutation extension API"
mountPoint: GqlMountPointQuery
"Personal API tokens queries"
personalApiTokens: PersonalApiTokensQuery
"Get available ACL roles; does not include any hidden or privileged roles"
roles: [AclRole]
"Jahia admin tools"
tools: AdminTools
"Get user administration endpoint"
userAdmin: UserAdminQuery
"Get user group endpoint"
userGroup: UserGroupQuery
"Version of the running Jahia instance"
version: String! @deprecated(reason: "Deprecated")
}
"Jahia admin tools"
type AdminTools {
"Will return dependencies of a bundle (modules or packages)"
findDependencies(
"will return only dependencies of Jahia modules (not bundles)"
ModulesOnly: Boolean = true,
"will return only bundle name matching the RegExp"
RegExp: String,
"will return only dependencies with a strict version specified (a version that reprobates upgrade of minor ones)"
StrictVersionOnly: Boolean = true
): FindDependencies
"Will return all the duplicate export packages and the bundles that export them"
findMatchingExportPackages(
"will return only export-package matching the RegExp"
RegExp: String,
"will return only export-package found multiple times for a same package name"
duplicates: Boolean = false
): FindExportPackage
"Will return all the import packages matching the given parameters."
findMatchingImportPackages(
"will return only import-package matching the RegExp"
RegExp: String,
"will return only import-package matching the given version"
version: String,
"will return only import-package with no version range limitations"
versionMissing: Boolean = false
): FindImportPackage
}
"Asset type for files"
type Asset {
"Asset metadata"
metadata: Metadata
"Asset size"
size: Float
"Mime type of the asset"
type: String
}
"Result of the dependency inspector operation."
type BundleDependency {
"An error occurred during parsing dependency"
error: String
"The name of the dependency"
name: String
"The dependency is optional"
optional: Boolean
"The status of that dependency."
status: String
"The type of the dependency."
type: String
"The version of the dependency (can be a range, a number or empty)"
version: String
}
"Result of the dependency inspector operation."
type BundleWithDependencies {
"Display name of the bundle."
bundleDisplayName: String
"ID of the bundle."
bundleId: Long
"Name of the bundle."
bundleName: String
"Symbolic name of the bundle."
bundleSymbolicName: String
"List of bundle dependencies (packages and modules)."
dependencies: [BundleDependency]
"Is module dependencies can be safely upgraded without breaking module wiring ?"
dependenciesUpgradables: Boolean
}
"Result of the export package inspector operation."
type BundleWithExportPackage {
"Display name of the bundle."
bundleDisplayName: String
"ID of the bundle."
bundleId: Long
"Name of the bundle."
bundleName: String
"Symbolic name of the bundle."
bundleSymbolicName: String
"The full export-package clause."
matchingExportPackage: String
}
"Result of the import package inspector operation."
type BundleWithImportPackages {
"Display name of the bundle."
bundleDisplayName: String
"ID of the bundle."
bundleId: Long
"Name of the bundle."
bundleName: String
"Symbolic name of the bundle."
bundleSymbolicName: String
"List of matching imported packages."
matchingImportPackages: [String]
}
"Category type"
type Category {
"Description"
description: String
"Asset metadata"
metadata: Metadata
"Title"
title: String
}
"Details about the Jahia Cluster"
type Cluster {
"Is the cluster mode activated on this Jahia instance"
isActivated: Boolean
"Query operation on Jahia's journal across all nodes of a cluster"
journal: Journal
}
"Mutation for configuration value object"
type ConfigurationItemValuesMutation {
"Modify a list of items"
mutateList(
"property name part"
name: String
): ConfigurationItemsListMutation
"Modify a structured object"
mutateObject(
"property name part"
name: String
): ConfigurationItemValuesMutation
"Remove the specified property and all sub/list properties"
remove(
"property name part"
name: String
): Boolean
"Set a property value"
value(
"property name part"
name: String,
value: String
): String
}
"Query for configuration value object"
type ConfigurationItemValuesQuery {
"Get keys"
keys: [String]
"Get a list of items"
list(
"property name part"
name: String
): ConfigurationItemsListQuery
"Get a sub structured object value"
object(
"property name part"
name: String
): ConfigurationItemValuesQuery
"Get a property value"
value(
"property name part"
name: String
): String
"Get property values"
values: [GqlConfigurationProperty]
}
"Mutation for configuration list of values"
type ConfigurationItemsListMutation {
"Adds a new sub list to the list"
addList: ConfigurationItemsListMutation
"Adds a new structured object to the list"
addObject: ConfigurationItemValuesMutation
"Adds a property value to the list"
addValue(value: String): String
}
"Query for configuration list of values"
type ConfigurationItemsListQuery {
"Get sub lists of items"
lists: [ConfigurationItemsListQuery]
"Get sub structured object values"
objects: [ConfigurationItemValuesQuery]
"Adds a new structured object to the list"
size: Int
"Get property values"
values: [String]
}
"Simple node count aggregation"
type CountAggregation {
"Count all values"
values(
"The language to obtain the property in; must be a valid language code for internationalized properties, does not matter for non-internationalized ones"
language: String,
"The name of the JCR property"
name: String!
): Int
}
"GraphQL representation of a Jahia current user"
type Current_32_user {
"Full display name"
displayName: String
"Email of the user"
email: String
"First name of the user"
firstname: String
"Preferred language by the user"
language: String
"Last name of the user"
lastname: String
"Displays if user is locked"
locked: Boolean
"Is this principal member of the specified group"
memberOf(
"Target group"
group: String,
"Site where the group is defined"
site: String
): Boolean
"User name"
name: String! @deprecated(reason: "Deprecated")
"Get the corresponding JCR node"
node: JCRNode
"User organization"
organization: String
"User property"
property(
"The name of the property"
name: String!
): String
"Site where the user is defined"
site: JCRSite
"Username of the user"
username: String!
}
"Result of the export package inspector operation."
type ExportPackages {
"Flat list of exported packages"
matchingExportPackages: [String]
"The bundles that export the package."
matchingExportPackagesDetailed: [BundleWithExportPackage]
"the package name."
packageName: String
}
"Result of the dependency inspector operation."
type FindDependencies {
"List of matching bundles."
bundles: [BundleWithDependencies]
"Total number of dependencies."
totalCount: Int
}
"Result of the export package inspector operation."
type FindExportPackage {
"List of matching packages"
packages: [ExportPackages]
"Total number of matching export packages."
totalCount: Int
}
"Result of the import package inspector operation."
type FindImportPackage {
"List of matching bundles."
bundles: [BundleWithImportPackages]
"Total number of matching import packages."
totalCount: Int
}
"GraphQL representation of a generic JCR node"
type GenericJCRNode implements JCRNode {
"Get ACL info for this node"
acl: GqlAcl
"Get the last modified date of this node and its descendants. The recursion in descendants can be controlled by recursionTypesFilter. If no filter is passed, recursion will stop by default on sub pages."
aggregatedLastModifiedDate(
"The language"
language: String,
"Stop recursion on graphql field values"
recursionTypesFilter: InputNodeTypesInput
): String
"Aggregated publication info about the JCR node"
aggregatedPublicationInfo(
"Publication language"
language: String!,
"Whether to take references into account when calculating the aggregated publication status"
references: Boolean = false,
"Whether to take sub-nodes into account when calculating the aggregated publication status"
subNodes: Boolean = false
): GqlPublicationInfo!
"Render URL in ajax mode"
ajaxRenderUrl: String
"Returns a list of types allowed under the provided node"
allowedChildNodeTypes(
"Filter by GraphQL fields values"
fieldFilter: InputFieldFiltersInput,
"Whether all sub-types of allowed child node types should be included"
includeSubTypes: Boolean = true
): [JCRNodeType]
"GraphQL representations of the ancestor nodes of the JCR node, top down direction"
ancestors(
"Filter by graphQL fields values"
fieldFilter: InputFieldFiltersInput,
"The path of the topmost ancestor node to include in the result; null or empty string to include all the ancestor nodes"
upToPath: String
): [JCRNode]!
"GraphQL representations of the child nodes, according to parameters passed"
children(
"fetching only nodes after this node (exclusive)"
after: String,
"fetching only nodes before this node (exclusive)"
before: String,
"Filter by graphQL fields values"
fieldFilter: InputFieldFiltersInput,
"Group fields according to specified criteria"
fieldGrouping: InputFieldGroupingInput,
"Sort by graphQL fields values"
fieldSorter: InputFieldSorterInput,
"fetching only the first certain number of nodes"
first: Int,
"Include the current node itself in results"
includesSelf: Boolean = false,
"fetching only the last certain number of nodes"
last: Int,
"fetching only the first certain number of nodes"
limit: Int,
"Filter of child nodes by their names; null to avoid such filtering"
names: [String],
"fetching only nodes after this node (inclusive)"
offset: Int,
"Filter of child nodes by their property values; null to avoid such filtering"
propertiesFilter: InputNodePropertiesInput,
"Filter of child nodes by their types; null to avoid such filtering"
typesFilter: InputNodeTypesInput,
"Language to use to get children"
validInLanguage: String
): JCRNodeConnection
"Read default Work in progress information. Set by \"wip.checkbox.checked\" system proprety"
defaultWipInfo: wipInfo
"Returns the node definition that applies to this node."
definition: JCRNodeDefinition
"The depth in the JCR Tree of the JCR node this object represents"
depth: Int!
"GraphQL representation of a descendant node, based on its relative path"
descendant(
"Name or relative path of the sub node"
relPath: String!
): JCRNode
"GraphQL representations of the descendant nodes, according to parameters passed"
descendants(
"fetching only nodes after this node (exclusive)"
after: String,
"fetching only nodes before this node (exclusive)"
before: String,
"Filter by graphQL fields values"
fieldFilter: InputFieldFiltersInput,
"Group fields according to specified criteria"
fieldGrouping: InputFieldGroupingInput,
"Sort by graphQL fields values"
fieldSorter: InputFieldSorterInput,
"fetching only the first certain number of nodes"
first: Int,
"fetching only the last certain number of nodes"
last: Int,
"fetching only the first certain number of nodes"
limit: Int,
"Maximum depth in JCR tree for descendants from the current node, 0 (or less) for all sub nodes, 1 for one sub level, etc"
maxDepth: Int,
"fetching only nodes after this node (inclusive)"
offset: Int,
"Filter of descendant nodes by their property values; null to avoid such filtering"
propertiesFilter: InputNodePropertiesInput,
"Filter out and stop recursion on nodes by their property values; null to avoid such filtering"
recursionPropertiesFilter: InputNodePropertiesInput,
"Filter out and stop recursion on nodes by their types; null to avoid such filtering"
recursionTypesFilter: InputNodeTypesInput,
"Filter of descendant nodes by their types; null to avoid such filtering"
typesFilter: InputNodeTypesInput,
"Language to use to get children"
validInLanguage: String
): JCRNodeConnection
"The displayable name of the JCR node"
displayName(
"Language"
language: String
): String
"Returns the first parent of the current node that can be displayed in full page. If no matching node is found, null is returned."
displayableNode: JCRNode
"Returns the next available name for a node, appending if needed numbers."
findAvailableNodeName(language: String, nodeType: String): String
"Check if the current user has a specific permission"
hasPermission(
"The name of the permission"
permissionName: String!
): Boolean
"Check if the node as a renderable template associated with it (not a view a template)."
isDisplayableNode: Boolean
"true if node is under a mounted node"
isExternal: Boolean!
"Reports if the current node matches the nodetype(s) passed in parameter"
isNodeType(
"Node type name"
type: InputNodeTypesInput!
): Boolean!
"Check if the given locales need translation, by comparing last modifications dates with already existing translations"
languagesToTranslate(
"The languages to check"
languagesToCheck: [String],
"The translated languages"
languagesTranslated: [String]
): [String]
"Retrieve lock info of the current node"
lockInfo: LockInfo
"Returns edit lock status of the current node object"
lockedAndCannotBeEdited: Boolean
"Returns an array of <code>NodeType</code> objects representing the mixin node types in effect for this node."
mixinTypes(
"Filter by GraphQL fields values"
fieldFilter: InputFieldFiltersInput
): [JCRNodeType]!
"The name of the JCR node this object represents"
name: String!
"GraphQL representation of this node in certain workspace"
nodeInWorkspace(
"The target workspace"
workspace: Workspace!
): JCRNode
"Get information on the operations that can be done on this node"
operationsSupport: GqlOperationsSupport
"GraphQL representation of the parent JCR node"
parent: JCRNode
"The path of the JCR node this object represents"
path: String!
"Get the primary node type of this node"
primaryNodeType: JCRNodeType!
"GraphQL representations of the properties in the requested language"
properties(
"Filter by graphQL fields values"
fieldFilter: InputFieldFiltersInput,
"The language to obtain the properties in; must be a valid language code in case any internationalized properties are requested, does not matter for non-internationalized ones"
language: String,
"The names of the JCR properties; null to obtain all properties"
names: [String],
"When set to true, returns the node in the default language if there is no translation for the requested language. Returns null if the option \"Replace untranslated content with the default language content\" is not activated for the site of the requested node. Will also return null if there is no translation for the default language."
useFallbackLanguage: Boolean = false
): [JCRProperty]!
"The GraphQL representation of the property in the requested language; null if the property does not exist"
property(
"The language to obtain the property in; must be a valid language code for internationalized properties, does not matter for non-internationalized ones"
language: String,
"The name of the JCR property"
name: String!,
"When set to true, returns the node in the default language if there is no translation for the requested language. Returns null if the option \"Replace untranslated content with the default language content\" is not activated for the site of the requested node. Will also return null if there is no translation for the default language."
useFallbackLanguage: Boolean = false
): JCRProperty
"Returns count of all references of the node across all sites"
referenceCount(
"Filter out referencing types which should not be counted"
typesFilter: InputNodeTypesInput
): Int
"GraphQL representations of the reference properties that target the current JCR Node"
references(
"fetching only nodes after this node (exclusive)"
after: String,
"fetching only nodes before this node (exclusive)"
before: String,
"Filter by graphQL fields values"
fieldFilter: InputFieldFiltersInput,
"Sort by graphQL fields values"
fieldSorter: InputFieldSorterInput,
"fetching only the first certain number of nodes"
first: Int,
"fetching only the last certain number of nodes"
last: Int,
"fetching only the first certain number of nodes"
limit: Int,
"fetching only nodes after this node (inclusive)"
offset: Int
): JCRPropertyConnection!
"Get render URL."
renderUrl(
"Finds displayable node"
findDisplayable: Boolean = false,
"The language content is rendered in"
language: String!,
"The target workspace"
workspace: Workspace!
): String
"Gets the fully rendered content for this node"
renderedContent(
"Rendering context configuration"
contextConfiguration: String,
"Is edit mode"
isEditMode: Boolean,
"Language"
language: String,
"Main resource path"
mainResourcePath: String,
"Additional request attributes"
requestAttributes: [InputRenderRequestAttributeInput],
"Template type"
templateType: String,
"Name of the view (leave null for default)"
view: String
): RenderedNode
"GraphQL representation of the site the JCR node belongs to, or the system site in case the node does not belong to any site"
site: JCRSite
"Get node thumbnail URL"
thumbnailUrl(
"Optional: Checks if requested thumbnail node exists, returns null if it doesn't"
checkIfExists: Boolean = false,
"Thumbnail name"
name: String
): String
"Returns languages of available translations for this node"
translationLanguages(
"Optional: Return languages only if it is active for the site"
isActiveOnly: Boolean
): [String]
"Get node URL"
url: String
"GraphQL representations of the reference properties that target the current JCR Node"
usages(
"fetching only nodes after this node (exclusive)"
after: String,
"fetching only nodes before this node (exclusive)"
before: String,
"Filter by graphQL fields values"
fieldFilter: InputFieldFiltersInput,
"Sort by graphQL fields values"
fieldSorter: InputFieldSorterInput,
"fetching only the first certain number of nodes"
first: Int,
"fetching only the last certain number of nodes"
last: Int,
"fetching only the first certain number of nodes"
limit: Int,
"fetching only nodes after this node (inclusive)"
offset: Int
): UsageConnection!
"The UUID of the JCR node this object represents"
uuid: String!
"Get vanity URLs from the current node filtered by the parameters"
vanityUrls(
"Filter results based on graphql field values"
fieldFilter: InputFieldFiltersInput,
"Languages"
languages: [String]
): [VanityUrl]
"Read work in progress information for a given node"
wipInfo: wipInfo
"Get the workspace of the query"
workspace: Workspace!
}
"ACL properties and list of access control entry"
type GqlAcl {
"Get list of access control entries for this ACL"
aclEntries(
"The languages to check"
inclInherited: Boolean,
"Fetch ACL entry only for this principal"
principalFilter: InputPrincipalInput
): [GqlAclEntry]
"Get inheritance break attribute for this node"
inheritanceBreak: Boolean
"Get parent node for this ACL"
parentNode: JCRNode
}
"ACL entry"
type GqlAclEntry {
"Type of access for this ACL entry - one of GRANT, DENY or EXTERNAL"
aclEntryType: String
"External permissions name "
externalPermissionsName: String
"Return true if this ACL entry did not originate from this ACL's parent node"
inherited: Boolean
"Get node where this ACL entry originated from"
inheritedFrom: JCRNode
"Get principal for this entry"
principal: Principal
"Get role for this entry"
role: AclRole
}