@gitbook/api 0.162.0 → 0.163.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +149 -60
- package/dist/constants.d.ts +1 -0
- package/dist/index.cjs +29 -8
- package/dist/index.js +27 -8
- package/package.json +1 -1
- package/spec/openapi.json +431 -130
- package/spec/openapi.yaml +300 -99
package/spec/openapi.json
CHANGED
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
"x-page-title": "Site context",
|
|
188
188
|
"x-page-description": "Manage context records, connections, and topics for a docs site.",
|
|
189
189
|
"x-parent": "sites",
|
|
190
|
-
"description": "Manage the contextual records and topics used by your site to power AI experiences and insights.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"ContextRecord,ContextConnection,
|
|
190
|
+
"description": "Manage the contextual records and topics used by your site to power AI experiences and insights.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"ContextRecord,ContextConnection,SiteTopic\" grouped=\"false\" %}\n The Site Context objects\n{% endopenapi-schemas %}\n"
|
|
191
191
|
},
|
|
192
192
|
{
|
|
193
193
|
"name": "site-questions",
|
|
@@ -14268,7 +14268,17 @@
|
|
|
14268
14268
|
"items": {
|
|
14269
14269
|
"type": "array",
|
|
14270
14270
|
"items": {
|
|
14271
|
-
"
|
|
14271
|
+
"oneOf": [
|
|
14272
|
+
{
|
|
14273
|
+
"$ref": "#/components/schemas/SearchSpaceResult"
|
|
14274
|
+
},
|
|
14275
|
+
{
|
|
14276
|
+
"$ref": "#/components/schemas/SearchRecordResult"
|
|
14277
|
+
}
|
|
14278
|
+
],
|
|
14279
|
+
"discriminator": {
|
|
14280
|
+
"propertyName": "type"
|
|
14281
|
+
}
|
|
14272
14282
|
}
|
|
14273
14283
|
}
|
|
14274
14284
|
}
|
|
@@ -14451,6 +14461,14 @@
|
|
|
14451
14461
|
"schema": {
|
|
14452
14462
|
"type": "string"
|
|
14453
14463
|
}
|
|
14464
|
+
},
|
|
14465
|
+
{
|
|
14466
|
+
"name": "topic",
|
|
14467
|
+
"in": "query",
|
|
14468
|
+
"description": "Filter context records by associated site topic ID.",
|
|
14469
|
+
"schema": {
|
|
14470
|
+
"type": "string"
|
|
14471
|
+
}
|
|
14454
14472
|
}
|
|
14455
14473
|
],
|
|
14456
14474
|
"responses": {
|
|
@@ -14797,10 +14815,10 @@
|
|
|
14797
14815
|
}
|
|
14798
14816
|
}
|
|
14799
14817
|
},
|
|
14800
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
14818
|
+
"/orgs/{organizationId}/sites/{siteId}/topics": {
|
|
14801
14819
|
"get": {
|
|
14802
|
-
"operationId": "
|
|
14803
|
-
"summary": "List all
|
|
14820
|
+
"operationId": "listSiteTopics",
|
|
14821
|
+
"summary": "List all topics",
|
|
14804
14822
|
"tags": [
|
|
14805
14823
|
"site-context"
|
|
14806
14824
|
],
|
|
@@ -14815,12 +14833,6 @@
|
|
|
14815
14833
|
},
|
|
14816
14834
|
{
|
|
14817
14835
|
"$ref": "#/components/parameters/siteId"
|
|
14818
|
-
},
|
|
14819
|
-
{
|
|
14820
|
-
"$ref": "#/components/parameters/listPage"
|
|
14821
|
-
},
|
|
14822
|
-
{
|
|
14823
|
-
"$ref": "#/components/parameters/listLimit"
|
|
14824
14836
|
}
|
|
14825
14837
|
],
|
|
14826
14838
|
"responses": {
|
|
@@ -14829,25 +14841,18 @@
|
|
|
14829
14841
|
"content": {
|
|
14830
14842
|
"application/json": {
|
|
14831
14843
|
"schema": {
|
|
14832
|
-
"
|
|
14833
|
-
|
|
14834
|
-
|
|
14835
|
-
|
|
14836
|
-
|
|
14837
|
-
|
|
14838
|
-
"
|
|
14839
|
-
|
|
14840
|
-
|
|
14841
|
-
"properties": {
|
|
14842
|
-
"items": {
|
|
14843
|
-
"type": "array",
|
|
14844
|
-
"items": {
|
|
14845
|
-
"$ref": "#/components/schemas/ContextTopic"
|
|
14846
|
-
}
|
|
14847
|
-
}
|
|
14844
|
+
"type": "object",
|
|
14845
|
+
"required": [
|
|
14846
|
+
"items"
|
|
14847
|
+
],
|
|
14848
|
+
"properties": {
|
|
14849
|
+
"items": {
|
|
14850
|
+
"type": "array",
|
|
14851
|
+
"items": {
|
|
14852
|
+
"$ref": "#/components/schemas/SiteTopic"
|
|
14848
14853
|
}
|
|
14849
14854
|
}
|
|
14850
|
-
|
|
14855
|
+
}
|
|
14851
14856
|
}
|
|
14852
14857
|
}
|
|
14853
14858
|
}
|
|
@@ -14855,10 +14860,10 @@
|
|
|
14855
14860
|
}
|
|
14856
14861
|
}
|
|
14857
14862
|
},
|
|
14858
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
14863
|
+
"/orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}": {
|
|
14859
14864
|
"get": {
|
|
14860
|
-
"operationId": "
|
|
14861
|
-
"summary": "Get a
|
|
14865
|
+
"operationId": "getSiteTopicById",
|
|
14866
|
+
"summary": "Get a topic",
|
|
14862
14867
|
"tags": [
|
|
14863
14868
|
"site-context"
|
|
14864
14869
|
],
|
|
@@ -14875,7 +14880,7 @@
|
|
|
14875
14880
|
"$ref": "#/components/parameters/siteId"
|
|
14876
14881
|
},
|
|
14877
14882
|
{
|
|
14878
|
-
"$ref": "#/components/parameters/
|
|
14883
|
+
"$ref": "#/components/parameters/siteTopicId"
|
|
14879
14884
|
}
|
|
14880
14885
|
],
|
|
14881
14886
|
"responses": {
|
|
@@ -14884,7 +14889,7 @@
|
|
|
14884
14889
|
"content": {
|
|
14885
14890
|
"application/json": {
|
|
14886
14891
|
"schema": {
|
|
14887
|
-
"$ref": "#/components/schemas/
|
|
14892
|
+
"$ref": "#/components/schemas/SiteTopic"
|
|
14888
14893
|
}
|
|
14889
14894
|
}
|
|
14890
14895
|
}
|
|
@@ -14892,8 +14897,8 @@
|
|
|
14892
14897
|
}
|
|
14893
14898
|
},
|
|
14894
14899
|
"patch": {
|
|
14895
|
-
"operationId": "
|
|
14896
|
-
"summary": "Update a
|
|
14900
|
+
"operationId": "updateSiteTopicById",
|
|
14901
|
+
"summary": "Update a topic",
|
|
14897
14902
|
"tags": [
|
|
14898
14903
|
"site-context"
|
|
14899
14904
|
],
|
|
@@ -14910,7 +14915,7 @@
|
|
|
14910
14915
|
"$ref": "#/components/parameters/siteId"
|
|
14911
14916
|
},
|
|
14912
14917
|
{
|
|
14913
|
-
"$ref": "#/components/parameters/
|
|
14918
|
+
"$ref": "#/components/parameters/siteTopicId"
|
|
14914
14919
|
}
|
|
14915
14920
|
],
|
|
14916
14921
|
"requestBody": {
|
|
@@ -14937,7 +14942,7 @@
|
|
|
14937
14942
|
"content": {
|
|
14938
14943
|
"application/json": {
|
|
14939
14944
|
"schema": {
|
|
14940
|
-
"$ref": "#/components/schemas/
|
|
14945
|
+
"$ref": "#/components/schemas/SiteTopic"
|
|
14941
14946
|
}
|
|
14942
14947
|
}
|
|
14943
14948
|
}
|
|
@@ -14964,6 +14969,14 @@
|
|
|
14964
14969
|
{
|
|
14965
14970
|
"$ref": "#/components/parameters/siteId"
|
|
14966
14971
|
},
|
|
14972
|
+
{
|
|
14973
|
+
"name": "type",
|
|
14974
|
+
"in": "query",
|
|
14975
|
+
"description": "Filter questions by question type.",
|
|
14976
|
+
"schema": {
|
|
14977
|
+
"$ref": "#/components/schemas/SiteQuestionType"
|
|
14978
|
+
}
|
|
14979
|
+
},
|
|
14967
14980
|
{
|
|
14968
14981
|
"$ref": "#/components/parameters/listPage"
|
|
14969
14982
|
},
|
|
@@ -15099,6 +15112,22 @@
|
|
|
15099
15112
|
"$ref": "#/components/schemas/SiteQuestionAnswerRelevance"
|
|
15100
15113
|
}
|
|
15101
15114
|
},
|
|
15115
|
+
{
|
|
15116
|
+
"name": "question.type",
|
|
15117
|
+
"in": "query",
|
|
15118
|
+
"description": "Filter answers by question type.",
|
|
15119
|
+
"schema": {
|
|
15120
|
+
"$ref": "#/components/schemas/SiteQuestionType"
|
|
15121
|
+
}
|
|
15122
|
+
},
|
|
15123
|
+
{
|
|
15124
|
+
"name": "topic",
|
|
15125
|
+
"in": "query",
|
|
15126
|
+
"description": "Filter answers by associated site topic ID.",
|
|
15127
|
+
"schema": {
|
|
15128
|
+
"type": "string"
|
|
15129
|
+
}
|
|
15130
|
+
},
|
|
15102
15131
|
{
|
|
15103
15132
|
"name": "thread",
|
|
15104
15133
|
"in": "query",
|
|
@@ -16935,7 +16964,7 @@
|
|
|
16935
16964
|
"$ref": "#/components/schemas/SiteRedirectSourcePath"
|
|
16936
16965
|
},
|
|
16937
16966
|
"destination": {
|
|
16938
|
-
"$ref": "#/components/schemas/
|
|
16967
|
+
"$ref": "#/components/schemas/SiteRedirectInputDestination"
|
|
16939
16968
|
}
|
|
16940
16969
|
},
|
|
16941
16970
|
"required": [
|
|
@@ -16959,6 +16988,157 @@
|
|
|
16959
16988
|
}
|
|
16960
16989
|
}
|
|
16961
16990
|
},
|
|
16991
|
+
"put": {
|
|
16992
|
+
"operationId": "bulkUpsertSiteRedirects",
|
|
16993
|
+
"summary": "Create or update site redirects in bulk",
|
|
16994
|
+
"tags": [
|
|
16995
|
+
"site-redirects"
|
|
16996
|
+
],
|
|
16997
|
+
"security": [
|
|
16998
|
+
{
|
|
16999
|
+
"user": []
|
|
17000
|
+
}
|
|
17001
|
+
],
|
|
17002
|
+
"parameters": [
|
|
17003
|
+
{
|
|
17004
|
+
"$ref": "#/components/parameters/organizationId"
|
|
17005
|
+
},
|
|
17006
|
+
{
|
|
17007
|
+
"$ref": "#/components/parameters/siteId"
|
|
17008
|
+
}
|
|
17009
|
+
],
|
|
17010
|
+
"requestBody": {
|
|
17011
|
+
"required": true,
|
|
17012
|
+
"content": {
|
|
17013
|
+
"application/json": {
|
|
17014
|
+
"schema": {
|
|
17015
|
+
"type": "object",
|
|
17016
|
+
"properties": {
|
|
17017
|
+
"redirects": {
|
|
17018
|
+
"type": "array",
|
|
17019
|
+
"minItems": 1,
|
|
17020
|
+
"maxItems": 500,
|
|
17021
|
+
"items": {
|
|
17022
|
+
"type": "object",
|
|
17023
|
+
"properties": {
|
|
17024
|
+
"source": {
|
|
17025
|
+
"$ref": "#/components/schemas/SiteRedirectSourcePath"
|
|
17026
|
+
},
|
|
17027
|
+
"destination": {
|
|
17028
|
+
"$ref": "#/components/schemas/SiteRedirectInputDestination"
|
|
17029
|
+
}
|
|
17030
|
+
},
|
|
17031
|
+
"required": [
|
|
17032
|
+
"source",
|
|
17033
|
+
"destination"
|
|
17034
|
+
]
|
|
17035
|
+
}
|
|
17036
|
+
}
|
|
17037
|
+
},
|
|
17038
|
+
"required": [
|
|
17039
|
+
"redirects"
|
|
17040
|
+
]
|
|
17041
|
+
}
|
|
17042
|
+
}
|
|
17043
|
+
}
|
|
17044
|
+
},
|
|
17045
|
+
"responses": {
|
|
17046
|
+
"200": {
|
|
17047
|
+
"description": "List of results for each redirect processed.",
|
|
17048
|
+
"content": {
|
|
17049
|
+
"application/json": {
|
|
17050
|
+
"schema": {
|
|
17051
|
+
"type": "object",
|
|
17052
|
+
"properties": {
|
|
17053
|
+
"results": {
|
|
17054
|
+
"type": "array",
|
|
17055
|
+
"items": {
|
|
17056
|
+
"oneOf": [
|
|
17057
|
+
{
|
|
17058
|
+
"type": "object",
|
|
17059
|
+
"properties": {
|
|
17060
|
+
"status": {
|
|
17061
|
+
"type": "string",
|
|
17062
|
+
"enum": [
|
|
17063
|
+
"created"
|
|
17064
|
+
],
|
|
17065
|
+
"description": "The redirect was created."
|
|
17066
|
+
},
|
|
17067
|
+
"source": {
|
|
17068
|
+
"$ref": "#/components/schemas/SiteRedirectSourcePath"
|
|
17069
|
+
},
|
|
17070
|
+
"id": {
|
|
17071
|
+
"type": "string",
|
|
17072
|
+
"description": "The ID of the created redirect."
|
|
17073
|
+
}
|
|
17074
|
+
},
|
|
17075
|
+
"required": [
|
|
17076
|
+
"status",
|
|
17077
|
+
"source",
|
|
17078
|
+
"id"
|
|
17079
|
+
]
|
|
17080
|
+
},
|
|
17081
|
+
{
|
|
17082
|
+
"type": "object",
|
|
17083
|
+
"properties": {
|
|
17084
|
+
"status": {
|
|
17085
|
+
"type": "string",
|
|
17086
|
+
"enum": [
|
|
17087
|
+
"updated"
|
|
17088
|
+
],
|
|
17089
|
+
"description": "The redirect was updated."
|
|
17090
|
+
},
|
|
17091
|
+
"source": {
|
|
17092
|
+
"$ref": "#/components/schemas/SiteRedirectSourcePath"
|
|
17093
|
+
},
|
|
17094
|
+
"id": {
|
|
17095
|
+
"type": "string",
|
|
17096
|
+
"description": "The ID of the updated redirect."
|
|
17097
|
+
}
|
|
17098
|
+
},
|
|
17099
|
+
"required": [
|
|
17100
|
+
"status",
|
|
17101
|
+
"source",
|
|
17102
|
+
"id"
|
|
17103
|
+
]
|
|
17104
|
+
},
|
|
17105
|
+
{
|
|
17106
|
+
"type": "object",
|
|
17107
|
+
"properties": {
|
|
17108
|
+
"status": {
|
|
17109
|
+
"type": "string",
|
|
17110
|
+
"enum": [
|
|
17111
|
+
"error"
|
|
17112
|
+
],
|
|
17113
|
+
"description": "There was an error processing the redirect."
|
|
17114
|
+
},
|
|
17115
|
+
"source": {
|
|
17116
|
+
"$ref": "#/components/schemas/SiteRedirectSourcePath"
|
|
17117
|
+
},
|
|
17118
|
+
"error": {
|
|
17119
|
+
"type": "string",
|
|
17120
|
+
"description": "The error message."
|
|
17121
|
+
}
|
|
17122
|
+
},
|
|
17123
|
+
"required": [
|
|
17124
|
+
"status",
|
|
17125
|
+
"source",
|
|
17126
|
+
"error"
|
|
17127
|
+
]
|
|
17128
|
+
}
|
|
17129
|
+
]
|
|
17130
|
+
}
|
|
17131
|
+
}
|
|
17132
|
+
},
|
|
17133
|
+
"required": [
|
|
17134
|
+
"results"
|
|
17135
|
+
]
|
|
17136
|
+
}
|
|
17137
|
+
}
|
|
17138
|
+
}
|
|
17139
|
+
}
|
|
17140
|
+
}
|
|
17141
|
+
},
|
|
16962
17142
|
"get": {
|
|
16963
17143
|
"operationId": "listSiteRedirects",
|
|
16964
17144
|
"summary": "List all site redirects",
|
|
@@ -18613,11 +18793,11 @@
|
|
|
18613
18793
|
"type": "string"
|
|
18614
18794
|
}
|
|
18615
18795
|
},
|
|
18616
|
-
"
|
|
18617
|
-
"name": "
|
|
18796
|
+
"siteTopicId": {
|
|
18797
|
+
"name": "siteTopicId",
|
|
18618
18798
|
"in": "path",
|
|
18619
18799
|
"required": true,
|
|
18620
|
-
"description": "The unique id of the
|
|
18800
|
+
"description": "The unique id of the topic",
|
|
18621
18801
|
"schema": {
|
|
18622
18802
|
"type": "string"
|
|
18623
18803
|
}
|
|
@@ -33455,6 +33635,12 @@
|
|
|
33455
33635
|
"type": "object",
|
|
33456
33636
|
"description": "Search result representing a space.",
|
|
33457
33637
|
"properties": {
|
|
33638
|
+
"type": {
|
|
33639
|
+
"type": "string",
|
|
33640
|
+
"enum": [
|
|
33641
|
+
"space"
|
|
33642
|
+
]
|
|
33643
|
+
},
|
|
33458
33644
|
"id": {
|
|
33459
33645
|
"type": "string"
|
|
33460
33646
|
},
|
|
@@ -33469,6 +33655,7 @@
|
|
|
33469
33655
|
}
|
|
33470
33656
|
},
|
|
33471
33657
|
"required": [
|
|
33658
|
+
"type",
|
|
33472
33659
|
"id",
|
|
33473
33660
|
"title",
|
|
33474
33661
|
"pages"
|
|
@@ -36768,6 +36955,41 @@
|
|
|
36768
36955
|
}
|
|
36769
36956
|
]
|
|
36770
36957
|
},
|
|
36958
|
+
"SearchRecordResult": {
|
|
36959
|
+
"type": "object",
|
|
36960
|
+
"description": "Search result representing a site context record.",
|
|
36961
|
+
"properties": {
|
|
36962
|
+
"type": {
|
|
36963
|
+
"type": "string",
|
|
36964
|
+
"enum": [
|
|
36965
|
+
"record"
|
|
36966
|
+
]
|
|
36967
|
+
},
|
|
36968
|
+
"id": {
|
|
36969
|
+
"type": "string",
|
|
36970
|
+
"description": "The ID of the context record."
|
|
36971
|
+
},
|
|
36972
|
+
"title": {
|
|
36973
|
+
"type": "string",
|
|
36974
|
+
"description": "The title of the record."
|
|
36975
|
+
},
|
|
36976
|
+
"description": {
|
|
36977
|
+
"type": "string",
|
|
36978
|
+
"description": "The description of the record."
|
|
36979
|
+
},
|
|
36980
|
+
"url": {
|
|
36981
|
+
"type": "string",
|
|
36982
|
+
"format": "uri",
|
|
36983
|
+
"description": "URL of the record in the source system."
|
|
36984
|
+
}
|
|
36985
|
+
},
|
|
36986
|
+
"required": [
|
|
36987
|
+
"type",
|
|
36988
|
+
"id",
|
|
36989
|
+
"title",
|
|
36990
|
+
"url"
|
|
36991
|
+
]
|
|
36992
|
+
},
|
|
36771
36993
|
"ContextRecordType": {
|
|
36772
36994
|
"type": "string",
|
|
36773
36995
|
"enum": [
|
|
@@ -37117,7 +37339,74 @@
|
|
|
37117
37339
|
}
|
|
37118
37340
|
]
|
|
37119
37341
|
},
|
|
37120
|
-
"
|
|
37342
|
+
"SiteQuestionStatsFeedback": {
|
|
37343
|
+
"type": "object",
|
|
37344
|
+
"description": "Aggregated feedback for answers linked to a site question.",
|
|
37345
|
+
"properties": {
|
|
37346
|
+
"positive": {
|
|
37347
|
+
"type": "number",
|
|
37348
|
+
"description": "Count of answers with positive feedback."
|
|
37349
|
+
},
|
|
37350
|
+
"negative": {
|
|
37351
|
+
"type": "number",
|
|
37352
|
+
"description": "Count of answers with negative feedback."
|
|
37353
|
+
},
|
|
37354
|
+
"unrated": {
|
|
37355
|
+
"type": "number",
|
|
37356
|
+
"description": "Count of answers without feedback."
|
|
37357
|
+
}
|
|
37358
|
+
},
|
|
37359
|
+
"required": [
|
|
37360
|
+
"positive",
|
|
37361
|
+
"negative",
|
|
37362
|
+
"unrated"
|
|
37363
|
+
]
|
|
37364
|
+
},
|
|
37365
|
+
"SiteQuestionStatsAnswered": {
|
|
37366
|
+
"type": "object",
|
|
37367
|
+
"description": "Aggregated answered assessment for answers linked to a site question.",
|
|
37368
|
+
"properties": {
|
|
37369
|
+
"yes": {
|
|
37370
|
+
"type": "number",
|
|
37371
|
+
"description": "Count of answers assessed as fully answered."
|
|
37372
|
+
},
|
|
37373
|
+
"partially": {
|
|
37374
|
+
"type": "number",
|
|
37375
|
+
"description": "Count of answers assessed as partially answered."
|
|
37376
|
+
},
|
|
37377
|
+
"no": {
|
|
37378
|
+
"type": "number",
|
|
37379
|
+
"description": "Count of answers assessed as not answered."
|
|
37380
|
+
}
|
|
37381
|
+
},
|
|
37382
|
+
"required": [
|
|
37383
|
+
"yes",
|
|
37384
|
+
"partially",
|
|
37385
|
+
"no"
|
|
37386
|
+
]
|
|
37387
|
+
},
|
|
37388
|
+
"SiteQuestionStats": {
|
|
37389
|
+
"type": "object",
|
|
37390
|
+
"description": "Aggregated stats for answers linked to a site question.",
|
|
37391
|
+
"properties": {
|
|
37392
|
+
"answers": {
|
|
37393
|
+
"type": "number",
|
|
37394
|
+
"description": "Total count of answers linked to the question."
|
|
37395
|
+
},
|
|
37396
|
+
"feedback": {
|
|
37397
|
+
"$ref": "#/components/schemas/SiteQuestionStatsFeedback"
|
|
37398
|
+
},
|
|
37399
|
+
"answered": {
|
|
37400
|
+
"$ref": "#/components/schemas/SiteQuestionStatsAnswered"
|
|
37401
|
+
}
|
|
37402
|
+
},
|
|
37403
|
+
"required": [
|
|
37404
|
+
"answers",
|
|
37405
|
+
"feedback",
|
|
37406
|
+
"answered"
|
|
37407
|
+
]
|
|
37408
|
+
},
|
|
37409
|
+
"SiteTopic": {
|
|
37121
37410
|
"type": "object",
|
|
37122
37411
|
"properties": {
|
|
37123
37412
|
"object": {
|
|
@@ -37134,6 +37423,24 @@
|
|
|
37134
37423
|
"type": "string",
|
|
37135
37424
|
"description": "The label of the topic"
|
|
37136
37425
|
},
|
|
37426
|
+
"parent": {
|
|
37427
|
+
"type": "object",
|
|
37428
|
+
"description": "The parent topic when this topic is nested under another one",
|
|
37429
|
+
"properties": {
|
|
37430
|
+
"id": {
|
|
37431
|
+
"type": "string",
|
|
37432
|
+
"description": "The ID of the parent topic"
|
|
37433
|
+
},
|
|
37434
|
+
"label": {
|
|
37435
|
+
"type": "string",
|
|
37436
|
+
"description": "The label of the parent topic"
|
|
37437
|
+
}
|
|
37438
|
+
},
|
|
37439
|
+
"required": [
|
|
37440
|
+
"id",
|
|
37441
|
+
"label"
|
|
37442
|
+
]
|
|
37443
|
+
},
|
|
37137
37444
|
"createdAt": {
|
|
37138
37445
|
"$ref": "#/components/schemas/Timestamp"
|
|
37139
37446
|
},
|
|
@@ -37153,30 +37460,21 @@
|
|
|
37153
37460
|
"type": "array",
|
|
37154
37461
|
"minItems": 13,
|
|
37155
37462
|
"maxItems": 13,
|
|
37156
|
-
"description": "The weekly pulse of
|
|
37463
|
+
"description": "The weekly pulse of related question answers for the past 3 months",
|
|
37157
37464
|
"items": {
|
|
37158
37465
|
"type": "number"
|
|
37159
37466
|
}
|
|
37160
37467
|
},
|
|
37161
|
-
"
|
|
37162
|
-
"type": "
|
|
37163
|
-
"
|
|
37164
|
-
"type": "number",
|
|
37165
|
-
"description": "The number of records for the connector"
|
|
37166
|
-
}
|
|
37468
|
+
"pages": {
|
|
37469
|
+
"type": "number",
|
|
37470
|
+
"description": "The number of pages associated with the topic"
|
|
37167
37471
|
},
|
|
37168
|
-
"
|
|
37169
|
-
"type": "
|
|
37170
|
-
"description": "The
|
|
37171
|
-
|
|
37172
|
-
|
|
37173
|
-
|
|
37174
|
-
"description": "The number of records in the topic"
|
|
37175
|
-
}
|
|
37176
|
-
},
|
|
37177
|
-
"required": [
|
|
37178
|
-
"records"
|
|
37179
|
-
]
|
|
37472
|
+
"records": {
|
|
37473
|
+
"type": "number",
|
|
37474
|
+
"description": "The number of records in the topic"
|
|
37475
|
+
},
|
|
37476
|
+
"questions": {
|
|
37477
|
+
"$ref": "#/components/schemas/SiteQuestionStats"
|
|
37180
37478
|
},
|
|
37181
37479
|
"urls": {
|
|
37182
37480
|
"type": "object",
|
|
@@ -37200,79 +37498,24 @@
|
|
|
37200
37498
|
"summary",
|
|
37201
37499
|
"icon",
|
|
37202
37500
|
"usageSettings",
|
|
37203
|
-
"
|
|
37204
|
-
"
|
|
37501
|
+
"pages",
|
|
37502
|
+
"records",
|
|
37503
|
+
"questions",
|
|
37205
37504
|
"weeklyPulse",
|
|
37206
37505
|
"createdAt",
|
|
37207
37506
|
"updatedAt",
|
|
37208
37507
|
"urls"
|
|
37209
37508
|
]
|
|
37210
37509
|
},
|
|
37211
|
-
"
|
|
37212
|
-
"type": "
|
|
37213
|
-
"description": "
|
|
37214
|
-
"
|
|
37215
|
-
"
|
|
37216
|
-
|
|
37217
|
-
|
|
37218
|
-
|
|
37219
|
-
"
|
|
37220
|
-
"type": "number",
|
|
37221
|
-
"description": "Count of answers with negative feedback."
|
|
37222
|
-
},
|
|
37223
|
-
"unrated": {
|
|
37224
|
-
"type": "number",
|
|
37225
|
-
"description": "Count of answers without feedback."
|
|
37226
|
-
}
|
|
37227
|
-
},
|
|
37228
|
-
"required": [
|
|
37229
|
-
"positive",
|
|
37230
|
-
"negative",
|
|
37231
|
-
"unrated"
|
|
37232
|
-
]
|
|
37233
|
-
},
|
|
37234
|
-
"SiteQuestionStatsAnswered": {
|
|
37235
|
-
"type": "object",
|
|
37236
|
-
"description": "Aggregated answered assessment for answers linked to a site question.",
|
|
37237
|
-
"properties": {
|
|
37238
|
-
"yes": {
|
|
37239
|
-
"type": "number",
|
|
37240
|
-
"description": "Count of answers assessed as fully answered."
|
|
37241
|
-
},
|
|
37242
|
-
"partially": {
|
|
37243
|
-
"type": "number",
|
|
37244
|
-
"description": "Count of answers assessed as partially answered."
|
|
37245
|
-
},
|
|
37246
|
-
"no": {
|
|
37247
|
-
"type": "number",
|
|
37248
|
-
"description": "Count of answers assessed as not answered."
|
|
37249
|
-
}
|
|
37250
|
-
},
|
|
37251
|
-
"required": [
|
|
37252
|
-
"yes",
|
|
37253
|
-
"partially",
|
|
37254
|
-
"no"
|
|
37255
|
-
]
|
|
37256
|
-
},
|
|
37257
|
-
"SiteQuestionStats": {
|
|
37258
|
-
"type": "object",
|
|
37259
|
-
"description": "Aggregated stats for answers linked to a site question.",
|
|
37260
|
-
"properties": {
|
|
37261
|
-
"answers": {
|
|
37262
|
-
"type": "number",
|
|
37263
|
-
"description": "Total count of answers linked to the question."
|
|
37264
|
-
},
|
|
37265
|
-
"feedback": {
|
|
37266
|
-
"$ref": "#/components/schemas/SiteQuestionStatsFeedback"
|
|
37267
|
-
},
|
|
37268
|
-
"answered": {
|
|
37269
|
-
"$ref": "#/components/schemas/SiteQuestionStatsAnswered"
|
|
37270
|
-
}
|
|
37271
|
-
},
|
|
37272
|
-
"required": [
|
|
37273
|
-
"answers",
|
|
37274
|
-
"feedback",
|
|
37275
|
-
"answered"
|
|
37510
|
+
"SiteQuestionType": {
|
|
37511
|
+
"type": "string",
|
|
37512
|
+
"description": "Type classification of the user question.",
|
|
37513
|
+
"enum": [
|
|
37514
|
+
"exploring",
|
|
37515
|
+
"how-to",
|
|
37516
|
+
"troubleshooting",
|
|
37517
|
+
"reference",
|
|
37518
|
+
"unknown"
|
|
37276
37519
|
]
|
|
37277
37520
|
},
|
|
37278
37521
|
"SiteQuestion": {
|
|
@@ -37292,6 +37535,9 @@
|
|
|
37292
37535
|
"type": "string",
|
|
37293
37536
|
"description": "Canonical text for the unique site question."
|
|
37294
37537
|
},
|
|
37538
|
+
"type": {
|
|
37539
|
+
"$ref": "#/components/schemas/SiteQuestionType"
|
|
37540
|
+
},
|
|
37295
37541
|
"createdAt": {
|
|
37296
37542
|
"$ref": "#/components/schemas/Timestamp"
|
|
37297
37543
|
},
|
|
@@ -37317,6 +37563,7 @@
|
|
|
37317
37563
|
"object",
|
|
37318
37564
|
"id",
|
|
37319
37565
|
"question",
|
|
37566
|
+
"type",
|
|
37320
37567
|
"createdAt",
|
|
37321
37568
|
"stats",
|
|
37322
37569
|
"urls"
|
|
@@ -37382,8 +37629,27 @@
|
|
|
37382
37629
|
"description": "The ID of the site question answer."
|
|
37383
37630
|
},
|
|
37384
37631
|
"question": {
|
|
37385
|
-
"type": "
|
|
37386
|
-
"
|
|
37632
|
+
"type": "object",
|
|
37633
|
+
"properties": {
|
|
37634
|
+
"id": {
|
|
37635
|
+
"type": "string",
|
|
37636
|
+
"description": "The ID of the parent site question."
|
|
37637
|
+
},
|
|
37638
|
+
"type": {
|
|
37639
|
+
"$ref": "#/components/schemas/SiteQuestionType"
|
|
37640
|
+
}
|
|
37641
|
+
},
|
|
37642
|
+
"required": [
|
|
37643
|
+
"id",
|
|
37644
|
+
"type"
|
|
37645
|
+
]
|
|
37646
|
+
},
|
|
37647
|
+
"topics": {
|
|
37648
|
+
"type": "array",
|
|
37649
|
+
"description": "The IDs of the associated site topics.",
|
|
37650
|
+
"items": {
|
|
37651
|
+
"type": "string"
|
|
37652
|
+
}
|
|
37387
37653
|
},
|
|
37388
37654
|
"input": {
|
|
37389
37655
|
"type": "object",
|
|
@@ -37476,6 +37742,7 @@
|
|
|
37476
37742
|
"object",
|
|
37477
37743
|
"id",
|
|
37478
37744
|
"question",
|
|
37745
|
+
"topics",
|
|
37479
37746
|
"input",
|
|
37480
37747
|
"responseId",
|
|
37481
37748
|
"language",
|
|
@@ -41905,6 +42172,40 @@
|
|
|
41905
42172
|
"destination"
|
|
41906
42173
|
]
|
|
41907
42174
|
},
|
|
42175
|
+
"SiteRedirectInputDestinationPath": {
|
|
42176
|
+
"type": "object",
|
|
42177
|
+
"properties": {
|
|
42178
|
+
"kind": {
|
|
42179
|
+
"type": "string",
|
|
42180
|
+
"enum": [
|
|
42181
|
+
"path"
|
|
42182
|
+
]
|
|
42183
|
+
},
|
|
42184
|
+
"spaceId": {
|
|
42185
|
+
"type": "string",
|
|
42186
|
+
"description": "Unique identifier for the space containing the page referenced by the path."
|
|
42187
|
+
},
|
|
42188
|
+
"path": {
|
|
42189
|
+
"type": "string",
|
|
42190
|
+
"description": "Path to the page within the space revision to resolve."
|
|
42191
|
+
}
|
|
42192
|
+
},
|
|
42193
|
+
"required": [
|
|
42194
|
+
"kind",
|
|
42195
|
+
"spaceId",
|
|
42196
|
+
"path"
|
|
42197
|
+
]
|
|
42198
|
+
},
|
|
42199
|
+
"SiteRedirectInputDestination": {
|
|
42200
|
+
"oneOf": [
|
|
42201
|
+
{
|
|
42202
|
+
"$ref": "#/components/schemas/SiteRedirectDestination"
|
|
42203
|
+
},
|
|
42204
|
+
{
|
|
42205
|
+
"$ref": "#/components/schemas/SiteRedirectInputDestinationPath"
|
|
42206
|
+
}
|
|
42207
|
+
]
|
|
42208
|
+
},
|
|
41908
42209
|
"SiteMcpServerName": {
|
|
41909
42210
|
"type": "string",
|
|
41910
42211
|
"description": "Name of the MCP server",
|