@gitbook/api 0.162.0 → 0.164.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 +201 -67
- package/dist/constants.d.ts +5 -2
- package/dist/index.cjs +44 -11
- package/dist/index.js +40 -11
- package/package.json +1 -1
- package/spec/openapi.json +596 -160
- package/spec/openapi.yaml +413 -125
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": {
|
|
@@ -14523,6 +14541,43 @@
|
|
|
14523
14541
|
}
|
|
14524
14542
|
}
|
|
14525
14543
|
},
|
|
14544
|
+
"/orgs/{organizationId}/sites/{siteId}/context-records/{siteContextRecordId}": {
|
|
14545
|
+
"get": {
|
|
14546
|
+
"operationId": "getSiteContextRecordById",
|
|
14547
|
+
"summary": "Get a context record",
|
|
14548
|
+
"tags": [
|
|
14549
|
+
"site-context"
|
|
14550
|
+
],
|
|
14551
|
+
"security": [
|
|
14552
|
+
{
|
|
14553
|
+
"user": []
|
|
14554
|
+
}
|
|
14555
|
+
],
|
|
14556
|
+
"parameters": [
|
|
14557
|
+
{
|
|
14558
|
+
"$ref": "#/components/parameters/organizationId"
|
|
14559
|
+
},
|
|
14560
|
+
{
|
|
14561
|
+
"$ref": "#/components/parameters/siteId"
|
|
14562
|
+
},
|
|
14563
|
+
{
|
|
14564
|
+
"$ref": "#/components/parameters/siteContextRecordId"
|
|
14565
|
+
}
|
|
14566
|
+
],
|
|
14567
|
+
"responses": {
|
|
14568
|
+
"200": {
|
|
14569
|
+
"description": "OK",
|
|
14570
|
+
"content": {
|
|
14571
|
+
"application/json": {
|
|
14572
|
+
"schema": {
|
|
14573
|
+
"$ref": "#/components/schemas/ContextRecord"
|
|
14574
|
+
}
|
|
14575
|
+
}
|
|
14576
|
+
}
|
|
14577
|
+
}
|
|
14578
|
+
}
|
|
14579
|
+
}
|
|
14580
|
+
},
|
|
14526
14581
|
"/orgs/{organizationId}/sites/{siteId}/context-connections": {
|
|
14527
14582
|
"get": {
|
|
14528
14583
|
"operationId": "listSiteContextConnections",
|
|
@@ -14797,10 +14852,10 @@
|
|
|
14797
14852
|
}
|
|
14798
14853
|
}
|
|
14799
14854
|
},
|
|
14800
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
14855
|
+
"/orgs/{organizationId}/sites/{siteId}/topics": {
|
|
14801
14856
|
"get": {
|
|
14802
|
-
"operationId": "
|
|
14803
|
-
"summary": "List all
|
|
14857
|
+
"operationId": "listSiteTopics",
|
|
14858
|
+
"summary": "List all topics",
|
|
14804
14859
|
"tags": [
|
|
14805
14860
|
"site-context"
|
|
14806
14861
|
],
|
|
@@ -14815,12 +14870,6 @@
|
|
|
14815
14870
|
},
|
|
14816
14871
|
{
|
|
14817
14872
|
"$ref": "#/components/parameters/siteId"
|
|
14818
|
-
},
|
|
14819
|
-
{
|
|
14820
|
-
"$ref": "#/components/parameters/listPage"
|
|
14821
|
-
},
|
|
14822
|
-
{
|
|
14823
|
-
"$ref": "#/components/parameters/listLimit"
|
|
14824
14873
|
}
|
|
14825
14874
|
],
|
|
14826
14875
|
"responses": {
|
|
@@ -14829,25 +14878,18 @@
|
|
|
14829
14878
|
"content": {
|
|
14830
14879
|
"application/json": {
|
|
14831
14880
|
"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
|
-
}
|
|
14881
|
+
"type": "object",
|
|
14882
|
+
"required": [
|
|
14883
|
+
"items"
|
|
14884
|
+
],
|
|
14885
|
+
"properties": {
|
|
14886
|
+
"items": {
|
|
14887
|
+
"type": "array",
|
|
14888
|
+
"items": {
|
|
14889
|
+
"$ref": "#/components/schemas/SiteTopic"
|
|
14848
14890
|
}
|
|
14849
14891
|
}
|
|
14850
|
-
|
|
14892
|
+
}
|
|
14851
14893
|
}
|
|
14852
14894
|
}
|
|
14853
14895
|
}
|
|
@@ -14855,10 +14897,10 @@
|
|
|
14855
14897
|
}
|
|
14856
14898
|
}
|
|
14857
14899
|
},
|
|
14858
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
14900
|
+
"/orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}": {
|
|
14859
14901
|
"get": {
|
|
14860
|
-
"operationId": "
|
|
14861
|
-
"summary": "Get a
|
|
14902
|
+
"operationId": "getSiteTopicById",
|
|
14903
|
+
"summary": "Get a topic",
|
|
14862
14904
|
"tags": [
|
|
14863
14905
|
"site-context"
|
|
14864
14906
|
],
|
|
@@ -14875,7 +14917,7 @@
|
|
|
14875
14917
|
"$ref": "#/components/parameters/siteId"
|
|
14876
14918
|
},
|
|
14877
14919
|
{
|
|
14878
|
-
"$ref": "#/components/parameters/
|
|
14920
|
+
"$ref": "#/components/parameters/siteTopicId"
|
|
14879
14921
|
}
|
|
14880
14922
|
],
|
|
14881
14923
|
"responses": {
|
|
@@ -14884,7 +14926,7 @@
|
|
|
14884
14926
|
"content": {
|
|
14885
14927
|
"application/json": {
|
|
14886
14928
|
"schema": {
|
|
14887
|
-
"$ref": "#/components/schemas/
|
|
14929
|
+
"$ref": "#/components/schemas/SiteTopic"
|
|
14888
14930
|
}
|
|
14889
14931
|
}
|
|
14890
14932
|
}
|
|
@@ -14892,8 +14934,8 @@
|
|
|
14892
14934
|
}
|
|
14893
14935
|
},
|
|
14894
14936
|
"patch": {
|
|
14895
|
-
"operationId": "
|
|
14896
|
-
"summary": "Update a
|
|
14937
|
+
"operationId": "updateSiteTopicById",
|
|
14938
|
+
"summary": "Update a topic",
|
|
14897
14939
|
"tags": [
|
|
14898
14940
|
"site-context"
|
|
14899
14941
|
],
|
|
@@ -14910,7 +14952,7 @@
|
|
|
14910
14952
|
"$ref": "#/components/parameters/siteId"
|
|
14911
14953
|
},
|
|
14912
14954
|
{
|
|
14913
|
-
"$ref": "#/components/parameters/
|
|
14955
|
+
"$ref": "#/components/parameters/siteTopicId"
|
|
14914
14956
|
}
|
|
14915
14957
|
],
|
|
14916
14958
|
"requestBody": {
|
|
@@ -14937,7 +14979,7 @@
|
|
|
14937
14979
|
"content": {
|
|
14938
14980
|
"application/json": {
|
|
14939
14981
|
"schema": {
|
|
14940
|
-
"$ref": "#/components/schemas/
|
|
14982
|
+
"$ref": "#/components/schemas/SiteTopic"
|
|
14941
14983
|
}
|
|
14942
14984
|
}
|
|
14943
14985
|
}
|
|
@@ -14964,6 +15006,14 @@
|
|
|
14964
15006
|
{
|
|
14965
15007
|
"$ref": "#/components/parameters/siteId"
|
|
14966
15008
|
},
|
|
15009
|
+
{
|
|
15010
|
+
"name": "type",
|
|
15011
|
+
"in": "query",
|
|
15012
|
+
"description": "Filter questions by question type.",
|
|
15013
|
+
"schema": {
|
|
15014
|
+
"$ref": "#/components/schemas/SiteQuestionType"
|
|
15015
|
+
}
|
|
15016
|
+
},
|
|
14967
15017
|
{
|
|
14968
15018
|
"$ref": "#/components/parameters/listPage"
|
|
14969
15019
|
},
|
|
@@ -15099,6 +15149,22 @@
|
|
|
15099
15149
|
"$ref": "#/components/schemas/SiteQuestionAnswerRelevance"
|
|
15100
15150
|
}
|
|
15101
15151
|
},
|
|
15152
|
+
{
|
|
15153
|
+
"name": "question.type",
|
|
15154
|
+
"in": "query",
|
|
15155
|
+
"description": "Filter answers by question type.",
|
|
15156
|
+
"schema": {
|
|
15157
|
+
"$ref": "#/components/schemas/SiteQuestionType"
|
|
15158
|
+
}
|
|
15159
|
+
},
|
|
15160
|
+
{
|
|
15161
|
+
"name": "topic",
|
|
15162
|
+
"in": "query",
|
|
15163
|
+
"description": "Filter answers by associated site topic ID.",
|
|
15164
|
+
"schema": {
|
|
15165
|
+
"type": "string"
|
|
15166
|
+
}
|
|
15167
|
+
},
|
|
15102
15168
|
{
|
|
15103
15169
|
"name": "thread",
|
|
15104
15170
|
"in": "query",
|
|
@@ -16934,8 +17000,13 @@
|
|
|
16934
17000
|
"source": {
|
|
16935
17001
|
"$ref": "#/components/schemas/SiteRedirectSourcePath"
|
|
16936
17002
|
},
|
|
17003
|
+
"captureWildcard": {
|
|
17004
|
+
"type": "boolean",
|
|
17005
|
+
"default": false,
|
|
17006
|
+
"description": "Capture and append the wildcard-matched suffix to the destination URL."
|
|
17007
|
+
},
|
|
16937
17008
|
"destination": {
|
|
16938
|
-
"$ref": "#/components/schemas/
|
|
17009
|
+
"$ref": "#/components/schemas/SiteRedirectInputDestination"
|
|
16939
17010
|
}
|
|
16940
17011
|
},
|
|
16941
17012
|
"required": [
|
|
@@ -16959,6 +17030,162 @@
|
|
|
16959
17030
|
}
|
|
16960
17031
|
}
|
|
16961
17032
|
},
|
|
17033
|
+
"put": {
|
|
17034
|
+
"operationId": "bulkUpsertSiteRedirects",
|
|
17035
|
+
"summary": "Create or update site redirects in bulk",
|
|
17036
|
+
"tags": [
|
|
17037
|
+
"site-redirects"
|
|
17038
|
+
],
|
|
17039
|
+
"security": [
|
|
17040
|
+
{
|
|
17041
|
+
"user": []
|
|
17042
|
+
}
|
|
17043
|
+
],
|
|
17044
|
+
"parameters": [
|
|
17045
|
+
{
|
|
17046
|
+
"$ref": "#/components/parameters/organizationId"
|
|
17047
|
+
},
|
|
17048
|
+
{
|
|
17049
|
+
"$ref": "#/components/parameters/siteId"
|
|
17050
|
+
}
|
|
17051
|
+
],
|
|
17052
|
+
"requestBody": {
|
|
17053
|
+
"required": true,
|
|
17054
|
+
"content": {
|
|
17055
|
+
"application/json": {
|
|
17056
|
+
"schema": {
|
|
17057
|
+
"type": "object",
|
|
17058
|
+
"properties": {
|
|
17059
|
+
"redirects": {
|
|
17060
|
+
"type": "array",
|
|
17061
|
+
"minItems": 1,
|
|
17062
|
+
"maxItems": 500,
|
|
17063
|
+
"items": {
|
|
17064
|
+
"type": "object",
|
|
17065
|
+
"properties": {
|
|
17066
|
+
"source": {
|
|
17067
|
+
"$ref": "#/components/schemas/SiteRedirectSourcePath"
|
|
17068
|
+
},
|
|
17069
|
+
"captureWildcard": {
|
|
17070
|
+
"type": "boolean",
|
|
17071
|
+
"default": false,
|
|
17072
|
+
"description": "Capture and append the wildcard-matched suffix to the destination URL."
|
|
17073
|
+
},
|
|
17074
|
+
"destination": {
|
|
17075
|
+
"$ref": "#/components/schemas/SiteRedirectInputDestination"
|
|
17076
|
+
}
|
|
17077
|
+
},
|
|
17078
|
+
"required": [
|
|
17079
|
+
"source",
|
|
17080
|
+
"destination"
|
|
17081
|
+
]
|
|
17082
|
+
}
|
|
17083
|
+
}
|
|
17084
|
+
},
|
|
17085
|
+
"required": [
|
|
17086
|
+
"redirects"
|
|
17087
|
+
]
|
|
17088
|
+
}
|
|
17089
|
+
}
|
|
17090
|
+
}
|
|
17091
|
+
},
|
|
17092
|
+
"responses": {
|
|
17093
|
+
"200": {
|
|
17094
|
+
"description": "List of results for each redirect processed.",
|
|
17095
|
+
"content": {
|
|
17096
|
+
"application/json": {
|
|
17097
|
+
"schema": {
|
|
17098
|
+
"type": "object",
|
|
17099
|
+
"properties": {
|
|
17100
|
+
"results": {
|
|
17101
|
+
"type": "array",
|
|
17102
|
+
"items": {
|
|
17103
|
+
"oneOf": [
|
|
17104
|
+
{
|
|
17105
|
+
"type": "object",
|
|
17106
|
+
"properties": {
|
|
17107
|
+
"status": {
|
|
17108
|
+
"type": "string",
|
|
17109
|
+
"enum": [
|
|
17110
|
+
"created"
|
|
17111
|
+
],
|
|
17112
|
+
"description": "The redirect was created."
|
|
17113
|
+
},
|
|
17114
|
+
"source": {
|
|
17115
|
+
"$ref": "#/components/schemas/SiteRedirectSourcePath"
|
|
17116
|
+
},
|
|
17117
|
+
"id": {
|
|
17118
|
+
"type": "string",
|
|
17119
|
+
"description": "The ID of the created redirect."
|
|
17120
|
+
}
|
|
17121
|
+
},
|
|
17122
|
+
"required": [
|
|
17123
|
+
"status",
|
|
17124
|
+
"source",
|
|
17125
|
+
"id"
|
|
17126
|
+
]
|
|
17127
|
+
},
|
|
17128
|
+
{
|
|
17129
|
+
"type": "object",
|
|
17130
|
+
"properties": {
|
|
17131
|
+
"status": {
|
|
17132
|
+
"type": "string",
|
|
17133
|
+
"enum": [
|
|
17134
|
+
"updated"
|
|
17135
|
+
],
|
|
17136
|
+
"description": "The redirect was updated."
|
|
17137
|
+
},
|
|
17138
|
+
"source": {
|
|
17139
|
+
"$ref": "#/components/schemas/SiteRedirectSourcePath"
|
|
17140
|
+
},
|
|
17141
|
+
"id": {
|
|
17142
|
+
"type": "string",
|
|
17143
|
+
"description": "The ID of the updated redirect."
|
|
17144
|
+
}
|
|
17145
|
+
},
|
|
17146
|
+
"required": [
|
|
17147
|
+
"status",
|
|
17148
|
+
"source",
|
|
17149
|
+
"id"
|
|
17150
|
+
]
|
|
17151
|
+
},
|
|
17152
|
+
{
|
|
17153
|
+
"type": "object",
|
|
17154
|
+
"properties": {
|
|
17155
|
+
"status": {
|
|
17156
|
+
"type": "string",
|
|
17157
|
+
"enum": [
|
|
17158
|
+
"error"
|
|
17159
|
+
],
|
|
17160
|
+
"description": "There was an error processing the redirect."
|
|
17161
|
+
},
|
|
17162
|
+
"source": {
|
|
17163
|
+
"$ref": "#/components/schemas/SiteRedirectSourcePath"
|
|
17164
|
+
},
|
|
17165
|
+
"error": {
|
|
17166
|
+
"type": "string",
|
|
17167
|
+
"description": "The error message."
|
|
17168
|
+
}
|
|
17169
|
+
},
|
|
17170
|
+
"required": [
|
|
17171
|
+
"status",
|
|
17172
|
+
"source",
|
|
17173
|
+
"error"
|
|
17174
|
+
]
|
|
17175
|
+
}
|
|
17176
|
+
]
|
|
17177
|
+
}
|
|
17178
|
+
}
|
|
17179
|
+
},
|
|
17180
|
+
"required": [
|
|
17181
|
+
"results"
|
|
17182
|
+
]
|
|
17183
|
+
}
|
|
17184
|
+
}
|
|
17185
|
+
}
|
|
17186
|
+
}
|
|
17187
|
+
}
|
|
17188
|
+
},
|
|
16962
17189
|
"get": {
|
|
16963
17190
|
"operationId": "listSiteRedirects",
|
|
16964
17191
|
"summary": "List all site redirects",
|
|
@@ -17057,6 +17284,10 @@
|
|
|
17057
17284
|
"source": {
|
|
17058
17285
|
"$ref": "#/components/schemas/SiteRedirectSourcePath"
|
|
17059
17286
|
},
|
|
17287
|
+
"captureWildcard": {
|
|
17288
|
+
"type": "boolean",
|
|
17289
|
+
"description": "Capture and append the wildcard-matched suffix to the destination URL."
|
|
17290
|
+
},
|
|
17060
17291
|
"destination": {
|
|
17061
17292
|
"$ref": "#/components/schemas/SiteRedirectDestination"
|
|
17062
17293
|
}
|
|
@@ -18604,6 +18835,15 @@
|
|
|
18604
18835
|
"type": "string"
|
|
18605
18836
|
}
|
|
18606
18837
|
},
|
|
18838
|
+
"siteContextRecordId": {
|
|
18839
|
+
"name": "siteContextRecordId",
|
|
18840
|
+
"in": "path",
|
|
18841
|
+
"required": true,
|
|
18842
|
+
"description": "The unique id of the context record",
|
|
18843
|
+
"schema": {
|
|
18844
|
+
"type": "string"
|
|
18845
|
+
}
|
|
18846
|
+
},
|
|
18607
18847
|
"siteContextConnectionId": {
|
|
18608
18848
|
"name": "siteContextConnectionId",
|
|
18609
18849
|
"in": "path",
|
|
@@ -18613,11 +18853,11 @@
|
|
|
18613
18853
|
"type": "string"
|
|
18614
18854
|
}
|
|
18615
18855
|
},
|
|
18616
|
-
"
|
|
18617
|
-
"name": "
|
|
18856
|
+
"siteTopicId": {
|
|
18857
|
+
"name": "siteTopicId",
|
|
18618
18858
|
"in": "path",
|
|
18619
18859
|
"required": true,
|
|
18620
|
-
"description": "The unique id of the
|
|
18860
|
+
"description": "The unique id of the topic",
|
|
18621
18861
|
"schema": {
|
|
18622
18862
|
"type": "string"
|
|
18623
18863
|
}
|
|
@@ -26072,6 +26312,10 @@
|
|
|
26072
26312
|
"description": "If true, we were unable to collect the last payment",
|
|
26073
26313
|
"type": "boolean"
|
|
26074
26314
|
},
|
|
26315
|
+
"canCheckout": {
|
|
26316
|
+
"description": "If true, organization can create a checkout session to subscribe/update billing. \nIf false, organization must resolve other billing issues before a checkout can be done.\n",
|
|
26317
|
+
"type": "boolean"
|
|
26318
|
+
},
|
|
26075
26319
|
"isScheduledToCancel": {
|
|
26076
26320
|
"description": "If true, the billing is set to cancel at the end of its current period",
|
|
26077
26321
|
"type": "boolean"
|
|
@@ -26104,6 +26348,7 @@
|
|
|
26104
26348
|
"interval",
|
|
26105
26349
|
"endDate",
|
|
26106
26350
|
"hasPaymentFailed",
|
|
26351
|
+
"canCheckout",
|
|
26107
26352
|
"isScheduledToCancel",
|
|
26108
26353
|
"pricing",
|
|
26109
26354
|
"usageAddons"
|
|
@@ -33107,6 +33352,12 @@
|
|
|
33107
33352
|
"updateSites"
|
|
33108
33353
|
]
|
|
33109
33354
|
},
|
|
33355
|
+
"BillingCoupon": {
|
|
33356
|
+
"type": "string",
|
|
33357
|
+
"description": "Coupon or promotion code to apply to billing operations.",
|
|
33358
|
+
"minLength": 1,
|
|
33359
|
+
"maxLength": 500
|
|
33360
|
+
},
|
|
33110
33361
|
"UpgradeOrganizationBilling": {
|
|
33111
33362
|
"type": "object",
|
|
33112
33363
|
"properties": {
|
|
@@ -33123,6 +33374,10 @@
|
|
|
33123
33374
|
"type": "string",
|
|
33124
33375
|
"description": "Reason that triggered the billing upgrade"
|
|
33125
33376
|
},
|
|
33377
|
+
"coupon": {
|
|
33378
|
+
"$ref": "#/components/schemas/BillingCoupon",
|
|
33379
|
+
"description": "Coupon or promotion code to apply to the subscription"
|
|
33380
|
+
},
|
|
33126
33381
|
"mode": {
|
|
33127
33382
|
"type": "string",
|
|
33128
33383
|
"description": "Mode to use for the upgrade (default value is `commit`): - `auto`: user is redirect to checkout if possible, other a preview of the auto-upgrade is returned. - `commit`: a checkout session is returned or an auto-upgrade is done - `preview`: a preview invoice is always returned\n",
|
|
@@ -33184,23 +33439,26 @@
|
|
|
33184
33439
|
]
|
|
33185
33440
|
}
|
|
33186
33441
|
},
|
|
33187
|
-
"
|
|
33188
|
-
"type": "
|
|
33189
|
-
"description": "
|
|
33190
|
-
"
|
|
33191
|
-
"
|
|
33192
|
-
|
|
33193
|
-
"
|
|
33442
|
+
"discounts": {
|
|
33443
|
+
"type": "array",
|
|
33444
|
+
"description": "Discounts applied to the subscription.",
|
|
33445
|
+
"items": {
|
|
33446
|
+
"type": "object",
|
|
33447
|
+
"properties": {
|
|
33448
|
+
"description": {
|
|
33449
|
+
"description": "The description of the applied discount.",
|
|
33450
|
+
"type": "string"
|
|
33451
|
+
},
|
|
33452
|
+
"amount": {
|
|
33453
|
+
"description": "The amount of the applied discount.",
|
|
33454
|
+
"type": "number"
|
|
33455
|
+
}
|
|
33194
33456
|
},
|
|
33195
|
-
"
|
|
33196
|
-
"
|
|
33197
|
-
"
|
|
33198
|
-
|
|
33199
|
-
}
|
|
33200
|
-
"required": [
|
|
33201
|
-
"amount",
|
|
33202
|
-
"description"
|
|
33203
|
-
]
|
|
33457
|
+
"required": [
|
|
33458
|
+
"amount",
|
|
33459
|
+
"description"
|
|
33460
|
+
]
|
|
33461
|
+
}
|
|
33204
33462
|
}
|
|
33205
33463
|
},
|
|
33206
33464
|
"required": [
|
|
@@ -33404,7 +33662,6 @@
|
|
|
33404
33662
|
"upgrade",
|
|
33405
33663
|
"upgrade_passive",
|
|
33406
33664
|
"downgrade",
|
|
33407
|
-
"undo_cancel",
|
|
33408
33665
|
"switch_interval"
|
|
33409
33666
|
]
|
|
33410
33667
|
},
|
|
@@ -33455,6 +33712,12 @@
|
|
|
33455
33712
|
"type": "object",
|
|
33456
33713
|
"description": "Search result representing a space.",
|
|
33457
33714
|
"properties": {
|
|
33715
|
+
"type": {
|
|
33716
|
+
"type": "string",
|
|
33717
|
+
"enum": [
|
|
33718
|
+
"space"
|
|
33719
|
+
]
|
|
33720
|
+
},
|
|
33458
33721
|
"id": {
|
|
33459
33722
|
"type": "string"
|
|
33460
33723
|
},
|
|
@@ -33469,6 +33732,7 @@
|
|
|
33469
33732
|
}
|
|
33470
33733
|
},
|
|
33471
33734
|
"required": [
|
|
33735
|
+
"type",
|
|
33472
33736
|
"id",
|
|
33473
33737
|
"title",
|
|
33474
33738
|
"pages"
|
|
@@ -36768,6 +37032,41 @@
|
|
|
36768
37032
|
}
|
|
36769
37033
|
]
|
|
36770
37034
|
},
|
|
37035
|
+
"SearchRecordResult": {
|
|
37036
|
+
"type": "object",
|
|
37037
|
+
"description": "Search result representing a site context record.",
|
|
37038
|
+
"properties": {
|
|
37039
|
+
"type": {
|
|
37040
|
+
"type": "string",
|
|
37041
|
+
"enum": [
|
|
37042
|
+
"record"
|
|
37043
|
+
]
|
|
37044
|
+
},
|
|
37045
|
+
"id": {
|
|
37046
|
+
"type": "string",
|
|
37047
|
+
"description": "The ID of the context record."
|
|
37048
|
+
},
|
|
37049
|
+
"title": {
|
|
37050
|
+
"type": "string",
|
|
37051
|
+
"description": "The title of the record."
|
|
37052
|
+
},
|
|
37053
|
+
"description": {
|
|
37054
|
+
"type": "string",
|
|
37055
|
+
"description": "The description of the record."
|
|
37056
|
+
},
|
|
37057
|
+
"url": {
|
|
37058
|
+
"type": "string",
|
|
37059
|
+
"format": "uri",
|
|
37060
|
+
"description": "URL of the record in the source system."
|
|
37061
|
+
}
|
|
37062
|
+
},
|
|
37063
|
+
"required": [
|
|
37064
|
+
"type",
|
|
37065
|
+
"id",
|
|
37066
|
+
"title",
|
|
37067
|
+
"url"
|
|
37068
|
+
]
|
|
37069
|
+
},
|
|
36771
37070
|
"ContextRecordType": {
|
|
36772
37071
|
"type": "string",
|
|
36773
37072
|
"enum": [
|
|
@@ -37117,7 +37416,74 @@
|
|
|
37117
37416
|
}
|
|
37118
37417
|
]
|
|
37119
37418
|
},
|
|
37120
|
-
"
|
|
37419
|
+
"SiteQuestionStatsFeedback": {
|
|
37420
|
+
"type": "object",
|
|
37421
|
+
"description": "Aggregated feedback for answers linked to a site question.",
|
|
37422
|
+
"properties": {
|
|
37423
|
+
"positive": {
|
|
37424
|
+
"type": "number",
|
|
37425
|
+
"description": "Count of answers with positive feedback."
|
|
37426
|
+
},
|
|
37427
|
+
"negative": {
|
|
37428
|
+
"type": "number",
|
|
37429
|
+
"description": "Count of answers with negative feedback."
|
|
37430
|
+
},
|
|
37431
|
+
"unrated": {
|
|
37432
|
+
"type": "number",
|
|
37433
|
+
"description": "Count of answers without feedback."
|
|
37434
|
+
}
|
|
37435
|
+
},
|
|
37436
|
+
"required": [
|
|
37437
|
+
"positive",
|
|
37438
|
+
"negative",
|
|
37439
|
+
"unrated"
|
|
37440
|
+
]
|
|
37441
|
+
},
|
|
37442
|
+
"SiteQuestionStatsAnswered": {
|
|
37443
|
+
"type": "object",
|
|
37444
|
+
"description": "Aggregated answered assessment for answers linked to a site question.",
|
|
37445
|
+
"properties": {
|
|
37446
|
+
"yes": {
|
|
37447
|
+
"type": "number",
|
|
37448
|
+
"description": "Count of answers assessed as fully answered."
|
|
37449
|
+
},
|
|
37450
|
+
"partially": {
|
|
37451
|
+
"type": "number",
|
|
37452
|
+
"description": "Count of answers assessed as partially answered."
|
|
37453
|
+
},
|
|
37454
|
+
"no": {
|
|
37455
|
+
"type": "number",
|
|
37456
|
+
"description": "Count of answers assessed as not answered."
|
|
37457
|
+
}
|
|
37458
|
+
},
|
|
37459
|
+
"required": [
|
|
37460
|
+
"yes",
|
|
37461
|
+
"partially",
|
|
37462
|
+
"no"
|
|
37463
|
+
]
|
|
37464
|
+
},
|
|
37465
|
+
"SiteQuestionStats": {
|
|
37466
|
+
"type": "object",
|
|
37467
|
+
"description": "Aggregated stats for answers linked to a site question.",
|
|
37468
|
+
"properties": {
|
|
37469
|
+
"answers": {
|
|
37470
|
+
"type": "number",
|
|
37471
|
+
"description": "Total count of answers linked to the question."
|
|
37472
|
+
},
|
|
37473
|
+
"feedback": {
|
|
37474
|
+
"$ref": "#/components/schemas/SiteQuestionStatsFeedback"
|
|
37475
|
+
},
|
|
37476
|
+
"answered": {
|
|
37477
|
+
"$ref": "#/components/schemas/SiteQuestionStatsAnswered"
|
|
37478
|
+
}
|
|
37479
|
+
},
|
|
37480
|
+
"required": [
|
|
37481
|
+
"answers",
|
|
37482
|
+
"feedback",
|
|
37483
|
+
"answered"
|
|
37484
|
+
]
|
|
37485
|
+
},
|
|
37486
|
+
"SiteTopic": {
|
|
37121
37487
|
"type": "object",
|
|
37122
37488
|
"properties": {
|
|
37123
37489
|
"object": {
|
|
@@ -37134,6 +37500,24 @@
|
|
|
37134
37500
|
"type": "string",
|
|
37135
37501
|
"description": "The label of the topic"
|
|
37136
37502
|
},
|
|
37503
|
+
"parent": {
|
|
37504
|
+
"type": "object",
|
|
37505
|
+
"description": "The parent topic when this topic is nested under another one",
|
|
37506
|
+
"properties": {
|
|
37507
|
+
"id": {
|
|
37508
|
+
"type": "string",
|
|
37509
|
+
"description": "The ID of the parent topic"
|
|
37510
|
+
},
|
|
37511
|
+
"label": {
|
|
37512
|
+
"type": "string",
|
|
37513
|
+
"description": "The label of the parent topic"
|
|
37514
|
+
}
|
|
37515
|
+
},
|
|
37516
|
+
"required": [
|
|
37517
|
+
"id",
|
|
37518
|
+
"label"
|
|
37519
|
+
]
|
|
37520
|
+
},
|
|
37137
37521
|
"createdAt": {
|
|
37138
37522
|
"$ref": "#/components/schemas/Timestamp"
|
|
37139
37523
|
},
|
|
@@ -37153,30 +37537,21 @@
|
|
|
37153
37537
|
"type": "array",
|
|
37154
37538
|
"minItems": 13,
|
|
37155
37539
|
"maxItems": 13,
|
|
37156
|
-
"description": "The weekly pulse of
|
|
37540
|
+
"description": "The weekly pulse of related question answers for the past 3 months",
|
|
37157
37541
|
"items": {
|
|
37158
37542
|
"type": "number"
|
|
37159
37543
|
}
|
|
37160
37544
|
},
|
|
37161
|
-
"
|
|
37162
|
-
"type": "
|
|
37163
|
-
"
|
|
37164
|
-
"type": "number",
|
|
37165
|
-
"description": "The number of records for the connector"
|
|
37166
|
-
}
|
|
37545
|
+
"pages": {
|
|
37546
|
+
"type": "number",
|
|
37547
|
+
"description": "The number of pages associated with the topic"
|
|
37167
37548
|
},
|
|
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
|
-
]
|
|
37549
|
+
"records": {
|
|
37550
|
+
"type": "number",
|
|
37551
|
+
"description": "The number of records in the topic"
|
|
37552
|
+
},
|
|
37553
|
+
"questions": {
|
|
37554
|
+
"$ref": "#/components/schemas/SiteQuestionStats"
|
|
37180
37555
|
},
|
|
37181
37556
|
"urls": {
|
|
37182
37557
|
"type": "object",
|
|
@@ -37200,79 +37575,24 @@
|
|
|
37200
37575
|
"summary",
|
|
37201
37576
|
"icon",
|
|
37202
37577
|
"usageSettings",
|
|
37203
|
-
"
|
|
37204
|
-
"
|
|
37578
|
+
"pages",
|
|
37579
|
+
"records",
|
|
37580
|
+
"questions",
|
|
37205
37581
|
"weeklyPulse",
|
|
37206
37582
|
"createdAt",
|
|
37207
37583
|
"updatedAt",
|
|
37208
37584
|
"urls"
|
|
37209
37585
|
]
|
|
37210
37586
|
},
|
|
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"
|
|
37587
|
+
"SiteQuestionType": {
|
|
37588
|
+
"type": "string",
|
|
37589
|
+
"description": "Type classification of the user question.",
|
|
37590
|
+
"enum": [
|
|
37591
|
+
"exploring",
|
|
37592
|
+
"how-to",
|
|
37593
|
+
"troubleshooting",
|
|
37594
|
+
"reference",
|
|
37595
|
+
"unknown"
|
|
37276
37596
|
]
|
|
37277
37597
|
},
|
|
37278
37598
|
"SiteQuestion": {
|
|
@@ -37292,6 +37612,9 @@
|
|
|
37292
37612
|
"type": "string",
|
|
37293
37613
|
"description": "Canonical text for the unique site question."
|
|
37294
37614
|
},
|
|
37615
|
+
"type": {
|
|
37616
|
+
"$ref": "#/components/schemas/SiteQuestionType"
|
|
37617
|
+
},
|
|
37295
37618
|
"createdAt": {
|
|
37296
37619
|
"$ref": "#/components/schemas/Timestamp"
|
|
37297
37620
|
},
|
|
@@ -37317,6 +37640,7 @@
|
|
|
37317
37640
|
"object",
|
|
37318
37641
|
"id",
|
|
37319
37642
|
"question",
|
|
37643
|
+
"type",
|
|
37320
37644
|
"createdAt",
|
|
37321
37645
|
"stats",
|
|
37322
37646
|
"urls"
|
|
@@ -37382,8 +37706,27 @@
|
|
|
37382
37706
|
"description": "The ID of the site question answer."
|
|
37383
37707
|
},
|
|
37384
37708
|
"question": {
|
|
37385
|
-
"type": "
|
|
37386
|
-
"
|
|
37709
|
+
"type": "object",
|
|
37710
|
+
"properties": {
|
|
37711
|
+
"id": {
|
|
37712
|
+
"type": "string",
|
|
37713
|
+
"description": "The ID of the parent site question."
|
|
37714
|
+
},
|
|
37715
|
+
"type": {
|
|
37716
|
+
"$ref": "#/components/schemas/SiteQuestionType"
|
|
37717
|
+
}
|
|
37718
|
+
},
|
|
37719
|
+
"required": [
|
|
37720
|
+
"id",
|
|
37721
|
+
"type"
|
|
37722
|
+
]
|
|
37723
|
+
},
|
|
37724
|
+
"topics": {
|
|
37725
|
+
"type": "array",
|
|
37726
|
+
"description": "The IDs of the associated site topics.",
|
|
37727
|
+
"items": {
|
|
37728
|
+
"type": "string"
|
|
37729
|
+
}
|
|
37387
37730
|
},
|
|
37388
37731
|
"input": {
|
|
37389
37732
|
"type": "object",
|
|
@@ -37476,6 +37819,7 @@
|
|
|
37476
37819
|
"object",
|
|
37477
37820
|
"id",
|
|
37478
37821
|
"question",
|
|
37822
|
+
"topics",
|
|
37479
37823
|
"input",
|
|
37480
37824
|
"responseId",
|
|
37481
37825
|
"language",
|
|
@@ -39511,20 +39855,37 @@
|
|
|
39511
39855
|
"description": "Query of the search."
|
|
39512
39856
|
},
|
|
39513
39857
|
"result": {
|
|
39514
|
-
"
|
|
39515
|
-
"
|
|
39516
|
-
|
|
39517
|
-
"type": "
|
|
39518
|
-
"
|
|
39858
|
+
"description": "Target of the opened search result.",
|
|
39859
|
+
"oneOf": [
|
|
39860
|
+
{
|
|
39861
|
+
"type": "object",
|
|
39862
|
+
"properties": {
|
|
39863
|
+
"spaceId": {
|
|
39864
|
+
"type": "string",
|
|
39865
|
+
"description": "ID of the concerned space."
|
|
39866
|
+
},
|
|
39867
|
+
"pageId": {
|
|
39868
|
+
"type": "string",
|
|
39869
|
+
"description": "ID of the concerned page."
|
|
39870
|
+
}
|
|
39871
|
+
},
|
|
39872
|
+
"required": [
|
|
39873
|
+
"spaceId",
|
|
39874
|
+
"pageId"
|
|
39875
|
+
]
|
|
39519
39876
|
},
|
|
39520
|
-
|
|
39521
|
-
"type": "
|
|
39522
|
-
"
|
|
39877
|
+
{
|
|
39878
|
+
"type": "object",
|
|
39879
|
+
"properties": {
|
|
39880
|
+
"recordId": {
|
|
39881
|
+
"type": "string",
|
|
39882
|
+
"description": "ID of the concerned record."
|
|
39883
|
+
}
|
|
39884
|
+
},
|
|
39885
|
+
"required": [
|
|
39886
|
+
"recordId"
|
|
39887
|
+
]
|
|
39523
39888
|
}
|
|
39524
|
-
},
|
|
39525
|
-
"required": [
|
|
39526
|
-
"spaceId",
|
|
39527
|
-
"pageId"
|
|
39528
39889
|
]
|
|
39529
39890
|
}
|
|
39530
39891
|
},
|
|
@@ -40320,6 +40681,20 @@
|
|
|
40320
40681
|
}
|
|
40321
40682
|
}
|
|
40322
40683
|
},
|
|
40684
|
+
{
|
|
40685
|
+
"type": "object",
|
|
40686
|
+
"required": [
|
|
40687
|
+
"column"
|
|
40688
|
+
],
|
|
40689
|
+
"properties": {
|
|
40690
|
+
"column": {
|
|
40691
|
+
"type": "string",
|
|
40692
|
+
"enum": [
|
|
40693
|
+
"eventSearchResultRecordId"
|
|
40694
|
+
]
|
|
40695
|
+
}
|
|
40696
|
+
}
|
|
40697
|
+
},
|
|
40323
40698
|
{
|
|
40324
40699
|
"type": "object",
|
|
40325
40700
|
"required": [
|
|
@@ -41272,6 +41647,28 @@
|
|
|
41272
41647
|
}
|
|
41273
41648
|
}
|
|
41274
41649
|
},
|
|
41650
|
+
{
|
|
41651
|
+
"type": "object",
|
|
41652
|
+
"required": [
|
|
41653
|
+
"column",
|
|
41654
|
+
"values"
|
|
41655
|
+
],
|
|
41656
|
+
"properties": {
|
|
41657
|
+
"column": {
|
|
41658
|
+
"type": "string",
|
|
41659
|
+
"enum": [
|
|
41660
|
+
"eventSearchResultRecordId"
|
|
41661
|
+
]
|
|
41662
|
+
},
|
|
41663
|
+
"values": {
|
|
41664
|
+
"type": "array",
|
|
41665
|
+
"items": {
|
|
41666
|
+
"type": "string",
|
|
41667
|
+
"nullable": true
|
|
41668
|
+
}
|
|
41669
|
+
}
|
|
41670
|
+
}
|
|
41671
|
+
},
|
|
41275
41672
|
{
|
|
41276
41673
|
"type": "object",
|
|
41277
41674
|
"required": [
|
|
@@ -41801,7 +42198,7 @@
|
|
|
41801
42198
|
"type": "string",
|
|
41802
42199
|
"description": "The source path to redirect from.",
|
|
41803
42200
|
"maxLength": 512,
|
|
41804
|
-
"pattern": "^\\/(?:[A-Za-z0-9\\-._~]|%[0-9A-Fa-f]{2})+(?:\\/(?:[A-Za-z0-9\\-._~]|%[0-9A-Fa-f]{2})+)
|
|
42201
|
+
"pattern": "^\\/(?!\\*)(?!.*\\*.+)(?:[A-Za-z0-9\\-._~]|%[0-9A-Fa-f]{2})+(?:\\/(?:[A-Za-z0-9\\-._~]|%[0-9A-Fa-f]{2})+)*(?:\\/\\*|\\*)?$"
|
|
41805
42202
|
},
|
|
41806
42203
|
"SiteRedirectDestinationSiteSection": {
|
|
41807
42204
|
"type": "object",
|
|
@@ -41894,6 +42291,10 @@
|
|
|
41894
42291
|
"source": {
|
|
41895
42292
|
"$ref": "#/components/schemas/SiteRedirectSourcePath"
|
|
41896
42293
|
},
|
|
42294
|
+
"captureWildcard": {
|
|
42295
|
+
"type": "boolean",
|
|
42296
|
+
"description": "Capture and append the wildcard-matched suffix to the destination URL."
|
|
42297
|
+
},
|
|
41897
42298
|
"destination": {
|
|
41898
42299
|
"$ref": "#/components/schemas/SiteRedirectDestination"
|
|
41899
42300
|
}
|
|
@@ -41902,9 +42303,44 @@
|
|
|
41902
42303
|
"object",
|
|
41903
42304
|
"id",
|
|
41904
42305
|
"source",
|
|
42306
|
+
"captureWildcard",
|
|
41905
42307
|
"destination"
|
|
41906
42308
|
]
|
|
41907
42309
|
},
|
|
42310
|
+
"SiteRedirectInputDestinationPath": {
|
|
42311
|
+
"type": "object",
|
|
42312
|
+
"properties": {
|
|
42313
|
+
"kind": {
|
|
42314
|
+
"type": "string",
|
|
42315
|
+
"enum": [
|
|
42316
|
+
"path"
|
|
42317
|
+
]
|
|
42318
|
+
},
|
|
42319
|
+
"spaceId": {
|
|
42320
|
+
"type": "string",
|
|
42321
|
+
"description": "Unique identifier for the space containing the page referenced by the path."
|
|
42322
|
+
},
|
|
42323
|
+
"path": {
|
|
42324
|
+
"type": "string",
|
|
42325
|
+
"description": "Path to the page within the space revision to resolve."
|
|
42326
|
+
}
|
|
42327
|
+
},
|
|
42328
|
+
"required": [
|
|
42329
|
+
"kind",
|
|
42330
|
+
"spaceId",
|
|
42331
|
+
"path"
|
|
42332
|
+
]
|
|
42333
|
+
},
|
|
42334
|
+
"SiteRedirectInputDestination": {
|
|
42335
|
+
"oneOf": [
|
|
42336
|
+
{
|
|
42337
|
+
"$ref": "#/components/schemas/SiteRedirectDestination"
|
|
42338
|
+
},
|
|
42339
|
+
{
|
|
42340
|
+
"$ref": "#/components/schemas/SiteRedirectInputDestinationPath"
|
|
42341
|
+
}
|
|
42342
|
+
]
|
|
42343
|
+
},
|
|
41908
42344
|
"SiteMcpServerName": {
|
|
41909
42345
|
"type": "string",
|
|
41910
42346
|
"description": "Name of the MCP server",
|