@gitbook/api 0.47.0 → 0.49.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 CHANGED
@@ -1276,7 +1276,6 @@ export declare enum SpaceEditMode {
1276
1276
  }
1277
1277
  /**
1278
1278
  * Title of the space
1279
- * @minLength 1
1280
1279
  * @maxLength 50
1281
1280
  */
1282
1281
  export declare type SpaceTitle = string;
@@ -1693,6 +1692,9 @@ export declare enum OrganizationType {
1693
1692
  export declare type OrganizationTitle = string;
1694
1693
  export declare type OrganizationEmailDomains = string[];
1695
1694
  export declare enum OrganizationUseCase {
1695
+ InternalDocs = "internalDocs",
1696
+ DocsSite = "docsSite",
1697
+ AudienceControlledSite = "audienceControlledSite",
1696
1698
  ProductDocs = "productDocs",
1697
1699
  TeamKnowledgeBase = "teamKnowledgeBase",
1698
1700
  DesignSystem = "designSystem",
@@ -2490,7 +2492,6 @@ export interface Collection {
2490
2492
  }
2491
2493
  /**
2492
2494
  * Title of the collection
2493
- * @minLength 0
2494
2495
  * @maxLength 50
2495
2496
  */
2496
2497
  export declare type CollectionTitle = string;
@@ -4243,7 +4244,9 @@ export declare enum CustomizationLocale {
4243
4244
  Fr = "fr",
4244
4245
  Es = "es",
4245
4246
  Zh = "zh",
4246
- Ja = "ja"
4247
+ Ja = "ja",
4248
+ De = "de",
4249
+ Br = "br"
4247
4250
  }
4248
4251
  export declare enum CustomizationFont {
4249
4252
  ABCFavorit = "ABCFavorit",
@@ -5323,6 +5326,27 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5323
5326
  */
5324
5327
  metadata?: boolean;
5325
5328
  }, params?: RequestParams) => Promise<HttpResponse<RevisionPage, Error>>;
5329
+ /**
5330
+ * No description
5331
+ *
5332
+ * @tags spaces
5333
+ * @name ListSpacePageBacklinks
5334
+ * @summary Get backlink locations for a page existing in a space.
5335
+ * @request GET:/spaces/{spaceId}/content/files/{pageId}/backlinks
5336
+ * @secure
5337
+ */
5338
+ listSpacePageBacklinks: (spaceId: string, pageId: string, query?: {
5339
+ /** Identifier of the page results to fetch. */
5340
+ page?: string;
5341
+ /**
5342
+ * The number of results per page
5343
+ * @min 0
5344
+ * @max 1000
5345
+ */
5346
+ limit?: number;
5347
+ }, params?: RequestParams) => Promise<HttpResponse<List & {
5348
+ items: ContentLocation[];
5349
+ }, Error>>;
5326
5350
  /**
5327
5351
  * No description
5328
5352
  *
@@ -5858,6 +5882,27 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5858
5882
  */
5859
5883
  metadata?: boolean;
5860
5884
  }, params?: RequestParams) => Promise<HttpResponse<RevisionPage, Error>>;
5885
+ /**
5886
+ * No description
5887
+ *
5888
+ * @tags spaces
5889
+ * @name ListChangeRequestPageBacklinks
5890
+ * @summary Get backlink locations for a page existing in a change request.
5891
+ * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/backlinks
5892
+ * @secure
5893
+ */
5894
+ listChangeRequestPageBacklinks: (spaceId: string, changeRequestId: string, pageId: string, query?: {
5895
+ /** Identifier of the page results to fetch. */
5896
+ page?: string;
5897
+ /**
5898
+ * The number of results per page
5899
+ * @min 0
5900
+ * @max 1000
5901
+ */
5902
+ limit?: number;
5903
+ }, params?: RequestParams) => Promise<HttpResponse<List & {
5904
+ items: ContentLocation[];
5905
+ }, Error>>;
5861
5906
  /**
5862
5907
  * No description
5863
5908
  *
@@ -8873,7 +8918,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8873
8918
  */
8874
8919
  getSiteCustomizationById: (organizationId: string, siteId: string, query?: {
8875
8920
  /**
8876
- * Access the customization settings without applying any masking from the advanced customization flag.
8921
+ * (Deprecated) Use the getRawCustomizationSettingsById internal endpoint.
8922
+ * @deprecated
8877
8923
  * @default false
8878
8924
  */
8879
8925
  unmasked?: boolean;
@@ -8900,6 +8946,22 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8900
8946
  message: string;
8901
8947
  };
8902
8948
  }>>;
8949
+ /**
8950
+ * No description
8951
+ *
8952
+ * @tags sites
8953
+ * @name GetSiteRawCustomizationById
8954
+ * @summary Get the raw customization settings of a site.
8955
+ * @request GET:/orgs/{organizationId}/sites/{siteId}/customization/raw
8956
+ * @secure
8957
+ */
8958
+ getSiteRawCustomizationById: (organizationId: string, siteId: string, params?: RequestParams) => Promise<HttpResponse<SiteCustomizationSettings, Error | {
8959
+ error: {
8960
+ /** @format int32 */
8961
+ code: 400;
8962
+ message: string;
8963
+ };
8964
+ }>>;
8903
8965
  /**
8904
8966
  * No description
8905
8967
  *
@@ -8937,7 +8999,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8937
8999
  * @tags sites
8938
9000
  * @name AddSpaceToSite
8939
9001
  * @summary Add a space to a site in an organization
8940
- * @request POST:/orgs/{organizationId}/sites/{siteId}/spaces
9002
+ * @request POST:/orgs/{organizationId}/sites/{siteId}/site-spaces
8941
9003
  * @secure
8942
9004
  */
8943
9005
  addSpaceToSite: (organizationId: string, siteId: string, data: {
@@ -8950,10 +9012,15 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8950
9012
  * @tags sites
8951
9013
  * @name ListSiteSpaces
8952
9014
  * @summary List all the site spaces under a site in an organization
8953
- * @request GET:/orgs/{organizationId}/sites/{siteId}/spaces
9015
+ * @request GET:/orgs/{organizationId}/sites/{siteId}/site-spaces
8954
9016
  * @secure
8955
9017
  */
8956
9018
  listSiteSpaces: (organizationId: string, siteId: string, query?: {
9019
+ /**
9020
+ * Site URL that can be used as context for the request to resolve other URLs.
9021
+ * @format uri
9022
+ */
9023
+ context?: string;
8957
9024
  /** Identifier of the page results to fetch. */
8958
9025
  page?: string;
8959
9026
  /**
@@ -8971,7 +9038,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8971
9038
  * @tags sites
8972
9039
  * @name UpdateSiteSpaceById
8973
9040
  * @summary Update a space on a site in an organization
8974
- * @request PATCH:/orgs/{organizationId}/sites/{siteId}/spaces/{siteSpaceId}
9041
+ * @request PATCH:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}
8975
9042
  * @secure
8976
9043
  */
8977
9044
  updateSiteSpaceById: (organizationId: string, siteId: string, siteSpaceId: string, data: {
@@ -8984,7 +9051,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8984
9051
  * @tags sites
8985
9052
  * @name DeleteSiteSpaceById
8986
9053
  * @summary Delete a space on a site in an organization
8987
- * @request DELETE:/orgs/{organizationId}/sites/{siteId}/spaces/{siteSpaceId}
9054
+ * @request DELETE:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}
8988
9055
  * @secure
8989
9056
  */
8990
9057
  deleteSiteSpaceById: (organizationId: string, siteId: string, siteSpaceId: string, params?: RequestParams) => Promise<HttpResponse<void, Error>>;
@@ -8994,12 +9061,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8994
9061
  * @tags sites
8995
9062
  * @name GetSiteSpaceCustomizationById
8996
9063
  * @summary Get the customization configuration for a site space.
8997
- * @request GET:/orgs/{organizationId}/sites/{siteId}/spaces/{siteSpaceId}/customization
9064
+ * @request GET:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization
8998
9065
  * @secure
8999
9066
  */
9000
9067
  getSiteSpaceCustomizationById: (organizationId: string, siteId: string, siteSpaceId: string, query?: {
9001
9068
  /**
9002
- * Access the customization settings without applying any masking from the advanced customization flag.
9069
+ * (Deprecated) Use the getRawCustomizationSettingsById internal endpoint.
9070
+ * @deprecated
9003
9071
  * @default false
9004
9072
  */
9005
9073
  unmasked?: boolean;
@@ -9016,7 +9084,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9016
9084
  * @tags sites
9017
9085
  * @name OverrideSiteSpaceCustomizationById
9018
9086
  * @summary Override the customization configuration for a site space.
9019
- * @request PATCH:/orgs/{organizationId}/sites/{siteId}/spaces/{siteSpaceId}/customization
9087
+ * @request PATCH:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization
9020
9088
  * @secure
9021
9089
  */
9022
9090
  overrideSiteSpaceCustomizationById: (organizationId: string, siteId: string, siteSpaceId: string, data: SiteSpaceCustomizationOverrides, params?: RequestParams) => Promise<HttpResponse<SiteCustomizationSettings, Error | {
@@ -9026,13 +9094,29 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9026
9094
  message: string;
9027
9095
  };
9028
9096
  }>>;
9097
+ /**
9098
+ * No description
9099
+ *
9100
+ * @tags sites
9101
+ * @name GetSiteSpaceRawCustomizationById
9102
+ * @summary Get the raw customization settings of a site space.
9103
+ * @request GET:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization/raw
9104
+ * @secure
9105
+ */
9106
+ getSiteSpaceRawCustomizationById: (organizationId: string, siteId: string, siteSpaceId: string, params?: RequestParams) => Promise<HttpResponse<SiteCustomizationSettings, Error | {
9107
+ error: {
9108
+ /** @format int32 */
9109
+ code: 400;
9110
+ message: string;
9111
+ };
9112
+ }>>;
9029
9113
  /**
9030
9114
  * No description
9031
9115
  *
9032
9116
  * @tags sites
9033
9117
  * @name MoveSiteSpace
9034
9118
  * @summary Move a site space to a new position in the site.
9035
- * @request POST:/orgs/{organizationId}/sites/{siteId}/spaces/{siteSpaceId}/move
9119
+ * @request POST:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/move
9036
9120
  * @secure
9037
9121
  */
9038
9122
  moveSiteSpace: (organizationId: string, siteId: string, siteSpaceId: string, data: {
@@ -9069,20 +9153,10 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9069
9153
  * @max 1000
9070
9154
  */
9071
9155
  limit?: number;
9072
- /** If defined, only members with this role will be returned. */
9073
- role?: MemberRole;
9074
9156
  }, params?: RequestParams) => Promise<HttpResponse<List & {
9075
9157
  items: {
9076
- /**
9077
- * "The role of a member in an organization.
9078
- * "admin": Can administrate the content: create, delete spaces, ...
9079
- * "create": Can create content.
9080
- * "review": Can review content.
9081
- * "edit": Can edit the content (live or change requests).
9082
- * "comment": Can access the content and its discussions.
9083
- * "read": Can access the content, but cannot update it in any way.
9084
- */
9085
- permission: MemberRole;
9158
+ /** The role of a member in an organization, null for guests */
9159
+ permission: MemberRoleOrGuest;
9086
9160
  user: User;
9087
9161
  /** The content or organization that enforced this permission level. */
9088
9162
  origin: SpacePointer | OrganizationPointer;
package/dist/index.cjs CHANGED
@@ -238,7 +238,7 @@ module.exports = __toCommonJS(src_exports);
238
238
 
239
239
  // package.json
240
240
  var name = "@gitbook/api";
241
- var version = "0.47.0";
241
+ var version = "0.49.0";
242
242
 
243
243
  // src/client.ts
244
244
  var import_event_iterator = __toESM(require_node(), 1);
@@ -433,6 +433,9 @@ var OrganizationType = /* @__PURE__ */ ((OrganizationType2) => {
433
433
  return OrganizationType2;
434
434
  })(OrganizationType || {});
435
435
  var OrganizationUseCase = /* @__PURE__ */ ((OrganizationUseCase2) => {
436
+ OrganizationUseCase2["InternalDocs"] = "internalDocs";
437
+ OrganizationUseCase2["DocsSite"] = "docsSite";
438
+ OrganizationUseCase2["AudienceControlledSite"] = "audienceControlledSite";
436
439
  OrganizationUseCase2["ProductDocs"] = "productDocs";
437
440
  OrganizationUseCase2["TeamKnowledgeBase"] = "teamKnowledgeBase";
438
441
  OrganizationUseCase2["DesignSystem"] = "designSystem";
@@ -657,6 +660,8 @@ var CustomizationLocale = /* @__PURE__ */ ((CustomizationLocale2) => {
657
660
  CustomizationLocale2["Es"] = "es";
658
661
  CustomizationLocale2["Zh"] = "zh";
659
662
  CustomizationLocale2["Ja"] = "ja";
663
+ CustomizationLocale2["De"] = "de";
664
+ CustomizationLocale2["Br"] = "br";
660
665
  return CustomizationLocale2;
661
666
  })(CustomizationLocale || {});
662
667
  var CustomizationFont = /* @__PURE__ */ ((CustomizationFont2) => {
@@ -1230,6 +1235,14 @@ var Api = class extends HttpClient {
1230
1235
  format: "json",
1231
1236
  ...params
1232
1237
  }),
1238
+ listSpacePageBacklinks: (spaceId, pageId, query, params = {}) => this.request({
1239
+ path: `/spaces/${spaceId}/content/files/${pageId}/backlinks`,
1240
+ method: "GET",
1241
+ query,
1242
+ secure: true,
1243
+ format: "json",
1244
+ ...params
1245
+ }),
1233
1246
  importContentInPageById: (spaceId, pageId, data, params = {}) => this.request({
1234
1247
  path: `/spaces/${spaceId}/content/page/${pageId}/import`,
1235
1248
  method: "POST",
@@ -1489,6 +1502,14 @@ var Api = class extends HttpClient {
1489
1502
  format: "json",
1490
1503
  ...params
1491
1504
  }),
1505
+ listChangeRequestPageBacklinks: (spaceId, changeRequestId, pageId, query, params = {}) => this.request({
1506
+ path: `/spaces/${spaceId}/change-requests/${changeRequestId}/content/page/${pageId}/backlinks`,
1507
+ method: "GET",
1508
+ query,
1509
+ secure: true,
1510
+ format: "json",
1511
+ ...params
1512
+ }),
1492
1513
  importContentInChangeRequestPageById: (spaceId, changeRequestId, pageId, data, params = {}) => this.request({
1493
1514
  path: `/spaces/${spaceId}/change-requests/${changeRequestId}/content/page/${pageId}/import`,
1494
1515
  method: "POST",
@@ -2948,6 +2969,13 @@ var Api = class extends HttpClient {
2948
2969
  format: "json",
2949
2970
  ...params
2950
2971
  }),
2972
+ getSiteRawCustomizationById: (organizationId, siteId, params = {}) => this.request({
2973
+ path: `/orgs/${organizationId}/sites/${siteId}/customization/raw`,
2974
+ method: "GET",
2975
+ secure: true,
2976
+ format: "json",
2977
+ ...params
2978
+ }),
2951
2979
  listSiteIntegrationScripts: (organizationId, siteId, params = {}) => this.request({
2952
2980
  path: `/orgs/${organizationId}/sites/${siteId}/integration-scripts`,
2953
2981
  method: "GET",
@@ -2964,7 +2992,7 @@ var Api = class extends HttpClient {
2964
2992
  ...params
2965
2993
  }),
2966
2994
  addSpaceToSite: (organizationId, siteId, data, params = {}) => this.request({
2967
- path: `/orgs/${organizationId}/sites/${siteId}/spaces`,
2995
+ path: `/orgs/${organizationId}/sites/${siteId}/site-spaces`,
2968
2996
  method: "POST",
2969
2997
  body: data,
2970
2998
  secure: true,
@@ -2973,7 +3001,7 @@ var Api = class extends HttpClient {
2973
3001
  ...params
2974
3002
  }),
2975
3003
  listSiteSpaces: (organizationId, siteId, query, params = {}) => this.request({
2976
- path: `/orgs/${organizationId}/sites/${siteId}/spaces`,
3004
+ path: `/orgs/${organizationId}/sites/${siteId}/site-spaces`,
2977
3005
  method: "GET",
2978
3006
  query,
2979
3007
  secure: true,
@@ -2981,7 +3009,7 @@ var Api = class extends HttpClient {
2981
3009
  ...params
2982
3010
  }),
2983
3011
  updateSiteSpaceById: (organizationId, siteId, siteSpaceId, data, params = {}) => this.request({
2984
- path: `/orgs/${organizationId}/sites/${siteId}/spaces/${siteSpaceId}`,
3012
+ path: `/orgs/${organizationId}/sites/${siteId}/site-spaces/${siteSpaceId}`,
2985
3013
  method: "PATCH",
2986
3014
  body: data,
2987
3015
  secure: true,
@@ -2990,13 +3018,13 @@ var Api = class extends HttpClient {
2990
3018
  ...params
2991
3019
  }),
2992
3020
  deleteSiteSpaceById: (organizationId, siteId, siteSpaceId, params = {}) => this.request({
2993
- path: `/orgs/${organizationId}/sites/${siteId}/spaces/${siteSpaceId}`,
3021
+ path: `/orgs/${organizationId}/sites/${siteId}/site-spaces/${siteSpaceId}`,
2994
3022
  method: "DELETE",
2995
3023
  secure: true,
2996
3024
  ...params
2997
3025
  }),
2998
3026
  getSiteSpaceCustomizationById: (organizationId, siteId, siteSpaceId, query, params = {}) => this.request({
2999
- path: `/orgs/${organizationId}/sites/${siteId}/spaces/${siteSpaceId}/customization`,
3027
+ path: `/orgs/${organizationId}/sites/${siteId}/site-spaces/${siteSpaceId}/customization`,
3000
3028
  method: "GET",
3001
3029
  query,
3002
3030
  secure: true,
@@ -3004,7 +3032,7 @@ var Api = class extends HttpClient {
3004
3032
  ...params
3005
3033
  }),
3006
3034
  overrideSiteSpaceCustomizationById: (organizationId, siteId, siteSpaceId, data, params = {}) => this.request({
3007
- path: `/orgs/${organizationId}/sites/${siteId}/spaces/${siteSpaceId}/customization`,
3035
+ path: `/orgs/${organizationId}/sites/${siteId}/site-spaces/${siteSpaceId}/customization`,
3008
3036
  method: "PATCH",
3009
3037
  body: data,
3010
3038
  secure: true,
@@ -3012,8 +3040,15 @@ var Api = class extends HttpClient {
3012
3040
  format: "json",
3013
3041
  ...params
3014
3042
  }),
3043
+ getSiteSpaceRawCustomizationById: (organizationId, siteId, siteSpaceId, params = {}) => this.request({
3044
+ path: `/orgs/${organizationId}/sites/${siteId}/site-spaces/${siteSpaceId}/customization/raw`,
3045
+ method: "GET",
3046
+ secure: true,
3047
+ format: "json",
3048
+ ...params
3049
+ }),
3015
3050
  moveSiteSpace: (organizationId, siteId, siteSpaceId, data, params = {}) => this.request({
3016
- path: `/orgs/${organizationId}/sites/${siteId}/spaces/${siteSpaceId}/move`,
3051
+ path: `/orgs/${organizationId}/sites/${siteId}/site-spaces/${siteSpaceId}/move`,
3017
3052
  method: "POST",
3018
3053
  body: data,
3019
3054
  secure: true,
package/dist/index.js CHANGED
@@ -172,7 +172,7 @@ var require_node = __commonJS({
172
172
 
173
173
  // package.json
174
174
  var name = "@gitbook/api";
175
- var version = "0.47.0";
175
+ var version = "0.49.0";
176
176
 
177
177
  // src/client.ts
178
178
  var import_event_iterator = __toESM(require_node(), 1);
@@ -367,6 +367,9 @@ var OrganizationType = /* @__PURE__ */ ((OrganizationType2) => {
367
367
  return OrganizationType2;
368
368
  })(OrganizationType || {});
369
369
  var OrganizationUseCase = /* @__PURE__ */ ((OrganizationUseCase2) => {
370
+ OrganizationUseCase2["InternalDocs"] = "internalDocs";
371
+ OrganizationUseCase2["DocsSite"] = "docsSite";
372
+ OrganizationUseCase2["AudienceControlledSite"] = "audienceControlledSite";
370
373
  OrganizationUseCase2["ProductDocs"] = "productDocs";
371
374
  OrganizationUseCase2["TeamKnowledgeBase"] = "teamKnowledgeBase";
372
375
  OrganizationUseCase2["DesignSystem"] = "designSystem";
@@ -591,6 +594,8 @@ var CustomizationLocale = /* @__PURE__ */ ((CustomizationLocale2) => {
591
594
  CustomizationLocale2["Es"] = "es";
592
595
  CustomizationLocale2["Zh"] = "zh";
593
596
  CustomizationLocale2["Ja"] = "ja";
597
+ CustomizationLocale2["De"] = "de";
598
+ CustomizationLocale2["Br"] = "br";
594
599
  return CustomizationLocale2;
595
600
  })(CustomizationLocale || {});
596
601
  var CustomizationFont = /* @__PURE__ */ ((CustomizationFont2) => {
@@ -1164,6 +1169,14 @@ var Api = class extends HttpClient {
1164
1169
  format: "json",
1165
1170
  ...params
1166
1171
  }),
1172
+ listSpacePageBacklinks: (spaceId, pageId, query, params = {}) => this.request({
1173
+ path: `/spaces/${spaceId}/content/files/${pageId}/backlinks`,
1174
+ method: "GET",
1175
+ query,
1176
+ secure: true,
1177
+ format: "json",
1178
+ ...params
1179
+ }),
1167
1180
  importContentInPageById: (spaceId, pageId, data, params = {}) => this.request({
1168
1181
  path: `/spaces/${spaceId}/content/page/${pageId}/import`,
1169
1182
  method: "POST",
@@ -1423,6 +1436,14 @@ var Api = class extends HttpClient {
1423
1436
  format: "json",
1424
1437
  ...params
1425
1438
  }),
1439
+ listChangeRequestPageBacklinks: (spaceId, changeRequestId, pageId, query, params = {}) => this.request({
1440
+ path: `/spaces/${spaceId}/change-requests/${changeRequestId}/content/page/${pageId}/backlinks`,
1441
+ method: "GET",
1442
+ query,
1443
+ secure: true,
1444
+ format: "json",
1445
+ ...params
1446
+ }),
1426
1447
  importContentInChangeRequestPageById: (spaceId, changeRequestId, pageId, data, params = {}) => this.request({
1427
1448
  path: `/spaces/${spaceId}/change-requests/${changeRequestId}/content/page/${pageId}/import`,
1428
1449
  method: "POST",
@@ -2882,6 +2903,13 @@ var Api = class extends HttpClient {
2882
2903
  format: "json",
2883
2904
  ...params
2884
2905
  }),
2906
+ getSiteRawCustomizationById: (organizationId, siteId, params = {}) => this.request({
2907
+ path: `/orgs/${organizationId}/sites/${siteId}/customization/raw`,
2908
+ method: "GET",
2909
+ secure: true,
2910
+ format: "json",
2911
+ ...params
2912
+ }),
2885
2913
  listSiteIntegrationScripts: (organizationId, siteId, params = {}) => this.request({
2886
2914
  path: `/orgs/${organizationId}/sites/${siteId}/integration-scripts`,
2887
2915
  method: "GET",
@@ -2898,7 +2926,7 @@ var Api = class extends HttpClient {
2898
2926
  ...params
2899
2927
  }),
2900
2928
  addSpaceToSite: (organizationId, siteId, data, params = {}) => this.request({
2901
- path: `/orgs/${organizationId}/sites/${siteId}/spaces`,
2929
+ path: `/orgs/${organizationId}/sites/${siteId}/site-spaces`,
2902
2930
  method: "POST",
2903
2931
  body: data,
2904
2932
  secure: true,
@@ -2907,7 +2935,7 @@ var Api = class extends HttpClient {
2907
2935
  ...params
2908
2936
  }),
2909
2937
  listSiteSpaces: (organizationId, siteId, query, params = {}) => this.request({
2910
- path: `/orgs/${organizationId}/sites/${siteId}/spaces`,
2938
+ path: `/orgs/${organizationId}/sites/${siteId}/site-spaces`,
2911
2939
  method: "GET",
2912
2940
  query,
2913
2941
  secure: true,
@@ -2915,7 +2943,7 @@ var Api = class extends HttpClient {
2915
2943
  ...params
2916
2944
  }),
2917
2945
  updateSiteSpaceById: (organizationId, siteId, siteSpaceId, data, params = {}) => this.request({
2918
- path: `/orgs/${organizationId}/sites/${siteId}/spaces/${siteSpaceId}`,
2946
+ path: `/orgs/${organizationId}/sites/${siteId}/site-spaces/${siteSpaceId}`,
2919
2947
  method: "PATCH",
2920
2948
  body: data,
2921
2949
  secure: true,
@@ -2924,13 +2952,13 @@ var Api = class extends HttpClient {
2924
2952
  ...params
2925
2953
  }),
2926
2954
  deleteSiteSpaceById: (organizationId, siteId, siteSpaceId, params = {}) => this.request({
2927
- path: `/orgs/${organizationId}/sites/${siteId}/spaces/${siteSpaceId}`,
2955
+ path: `/orgs/${organizationId}/sites/${siteId}/site-spaces/${siteSpaceId}`,
2928
2956
  method: "DELETE",
2929
2957
  secure: true,
2930
2958
  ...params
2931
2959
  }),
2932
2960
  getSiteSpaceCustomizationById: (organizationId, siteId, siteSpaceId, query, params = {}) => this.request({
2933
- path: `/orgs/${organizationId}/sites/${siteId}/spaces/${siteSpaceId}/customization`,
2961
+ path: `/orgs/${organizationId}/sites/${siteId}/site-spaces/${siteSpaceId}/customization`,
2934
2962
  method: "GET",
2935
2963
  query,
2936
2964
  secure: true,
@@ -2938,7 +2966,7 @@ var Api = class extends HttpClient {
2938
2966
  ...params
2939
2967
  }),
2940
2968
  overrideSiteSpaceCustomizationById: (organizationId, siteId, siteSpaceId, data, params = {}) => this.request({
2941
- path: `/orgs/${organizationId}/sites/${siteId}/spaces/${siteSpaceId}/customization`,
2969
+ path: `/orgs/${organizationId}/sites/${siteId}/site-spaces/${siteSpaceId}/customization`,
2942
2970
  method: "PATCH",
2943
2971
  body: data,
2944
2972
  secure: true,
@@ -2946,8 +2974,15 @@ var Api = class extends HttpClient {
2946
2974
  format: "json",
2947
2975
  ...params
2948
2976
  }),
2977
+ getSiteSpaceRawCustomizationById: (organizationId, siteId, siteSpaceId, params = {}) => this.request({
2978
+ path: `/orgs/${organizationId}/sites/${siteId}/site-spaces/${siteSpaceId}/customization/raw`,
2979
+ method: "GET",
2980
+ secure: true,
2981
+ format: "json",
2982
+ ...params
2983
+ }),
2949
2984
  moveSiteSpace: (organizationId, siteId, siteSpaceId, data, params = {}) => this.request({
2950
- path: `/orgs/${organizationId}/sites/${siteId}/spaces/${siteSpaceId}/move`,
2985
+ path: `/orgs/${organizationId}/sites/${siteId}/site-spaces/${siteSpaceId}/move`,
2951
2986
  method: "POST",
2952
2987
  body: data,
2953
2988
  secure: true,
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "main": "./dist/index.cjs",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
- "version": "0.47.0",
7
+ "version": "0.49.0",
8
8
  "sideEffects": false,
9
9
  "files": [
10
10
  "README.md",
package/spec/openapi.json CHANGED
@@ -151,12 +151,22 @@
151
151
  "siteCustomizationUnmasked": {
152
152
  "name": "unmasked",
153
153
  "in": "query",
154
- "description": "Access the customization settings without applying any masking from the advanced customization flag.",
154
+ "description": "(Deprecated) Use the getRawCustomizationSettingsById internal endpoint.",
155
+ "deprecated": true,
155
156
  "schema": {
156
157
  "type": "boolean",
157
158
  "default": false
158
159
  }
159
160
  },
161
+ "siteUrlContext": {
162
+ "name": "context",
163
+ "in": "query",
164
+ "description": "Site URL that can be used as context for the request to resolve other URLs.",
165
+ "schema": {
166
+ "type": "string",
167
+ "format": "uri"
168
+ }
169
+ },
160
170
  "spaceId": {
161
171
  "name": "spaceId",
162
172
  "in": "path",
@@ -5311,7 +5321,6 @@
5311
5321
  "SpaceTitle": {
5312
5322
  "type": "string",
5313
5323
  "description": "Title of the space",
5314
- "minLength": 1,
5315
5324
  "maxLength": 50
5316
5325
  },
5317
5326
  "SpaceVisitorAuth": {
@@ -6594,6 +6603,9 @@
6594
6603
  "OrganizationUseCase": {
6595
6604
  "type": "string",
6596
6605
  "enum": [
6606
+ "internalDocs",
6607
+ "docsSite",
6608
+ "audienceControlledSite",
6597
6609
  "productDocs",
6598
6610
  "teamKnowledgeBase",
6599
6611
  "designSystem",
@@ -8729,7 +8741,6 @@
8729
8741
  "CollectionTitle": {
8730
8742
  "type": "string",
8731
8743
  "description": "Title of the collection",
8732
- "minLength": 0,
8733
8744
  "maxLength": 50
8734
8745
  },
8735
8746
  "CollectionDescription": {
@@ -14785,7 +14796,9 @@
14785
14796
  "fr",
14786
14797
  "es",
14787
14798
  "zh",
14788
- "ja"
14799
+ "ja",
14800
+ "de",
14801
+ "br"
14789
14802
  ]
14790
14803
  },
14791
14804
  "CustomizationFont": {
@@ -17810,6 +17823,67 @@
17810
17823
  }
17811
17824
  }
17812
17825
  },
17826
+ "/spaces/{spaceId}/content/files/{pageId}/backlinks": {
17827
+ "get": {
17828
+ "operationId": "listSpacePageBacklinks",
17829
+ "summary": "Get backlink locations for a page existing in a space.",
17830
+ "tags": [
17831
+ "spaces"
17832
+ ],
17833
+ "security": [
17834
+ {
17835
+ "user": []
17836
+ }
17837
+ ],
17838
+ "parameters": [
17839
+ {
17840
+ "$ref": "#/components/parameters/spaceId"
17841
+ },
17842
+ {
17843
+ "$ref": "#/components/parameters/pageId"
17844
+ },
17845
+ {
17846
+ "$ref": "#/components/parameters/listPage"
17847
+ },
17848
+ {
17849
+ "$ref": "#/components/parameters/listLimit"
17850
+ }
17851
+ ],
17852
+ "responses": {
17853
+ "200": {
17854
+ "description": "OK",
17855
+ "content": {
17856
+ "application/json": {
17857
+ "schema": {
17858
+ "allOf": [
17859
+ {
17860
+ "$ref": "#/components/schemas/List"
17861
+ },
17862
+ {
17863
+ "type": "object",
17864
+ "required": [
17865
+ "items"
17866
+ ],
17867
+ "properties": {
17868
+ "items": {
17869
+ "type": "array",
17870
+ "items": {
17871
+ "$ref": "#/components/schemas/ContentLocation"
17872
+ }
17873
+ }
17874
+ }
17875
+ }
17876
+ ]
17877
+ }
17878
+ }
17879
+ }
17880
+ },
17881
+ "default": {
17882
+ "$ref": "#/components/responses/UnexpectedError"
17883
+ }
17884
+ }
17885
+ }
17886
+ },
17813
17887
  "/spaces/{spaceId}/content/page/{pageId}/import": {
17814
17888
  "post": {
17815
17889
  "operationId": "importContentInPageById",
@@ -19525,6 +19599,70 @@
19525
19599
  }
19526
19600
  }
19527
19601
  },
19602
+ "/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/backlinks": {
19603
+ "get": {
19604
+ "operationId": "listChangeRequestPageBacklinks",
19605
+ "summary": "Get backlink locations for a page existing in a change request.",
19606
+ "tags": [
19607
+ "spaces"
19608
+ ],
19609
+ "security": [
19610
+ {
19611
+ "user": []
19612
+ }
19613
+ ],
19614
+ "parameters": [
19615
+ {
19616
+ "$ref": "#/components/parameters/spaceId"
19617
+ },
19618
+ {
19619
+ "$ref": "#/components/parameters/changeRequestId"
19620
+ },
19621
+ {
19622
+ "$ref": "#/components/parameters/pageId"
19623
+ },
19624
+ {
19625
+ "$ref": "#/components/parameters/listPage"
19626
+ },
19627
+ {
19628
+ "$ref": "#/components/parameters/listLimit"
19629
+ }
19630
+ ],
19631
+ "responses": {
19632
+ "200": {
19633
+ "description": "OK",
19634
+ "content": {
19635
+ "application/json": {
19636
+ "schema": {
19637
+ "allOf": [
19638
+ {
19639
+ "$ref": "#/components/schemas/List"
19640
+ },
19641
+ {
19642
+ "type": "object",
19643
+ "required": [
19644
+ "items"
19645
+ ],
19646
+ "properties": {
19647
+ "items": {
19648
+ "type": "array",
19649
+ "items": {
19650
+ "$ref": "#/components/schemas/ContentLocation"
19651
+ }
19652
+ }
19653
+ }
19654
+ }
19655
+ ]
19656
+ }
19657
+ }
19658
+ }
19659
+ },
19660
+ "default": {
19661
+ "$ref": "#/components/responses/UnexpectedError"
19662
+ }
19663
+ }
19664
+ }
19665
+ },
19528
19666
  "/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/import": {
19529
19667
  "post": {
19530
19668
  "operationId": "importContentInChangeRequestPageById",
@@ -28882,6 +29020,46 @@
28882
29020
  }
28883
29021
  }
28884
29022
  },
29023
+ "/orgs/{organizationId}/sites/{siteId}/customization/raw": {
29024
+ "get": {
29025
+ "operationId": "getSiteRawCustomizationById",
29026
+ "summary": "Get the raw customization settings of a site.",
29027
+ "tags": [
29028
+ "sites"
29029
+ ],
29030
+ "security": [
29031
+ {
29032
+ "user-internal": []
29033
+ }
29034
+ ],
29035
+ "parameters": [
29036
+ {
29037
+ "$ref": "#/components/parameters/organizationId"
29038
+ },
29039
+ {
29040
+ "$ref": "#/components/parameters/siteId"
29041
+ }
29042
+ ],
29043
+ "responses": {
29044
+ "200": {
29045
+ "description": "OK",
29046
+ "content": {
29047
+ "application/json": {
29048
+ "schema": {
29049
+ "$ref": "#/components/schemas/SiteCustomizationSettings"
29050
+ }
29051
+ }
29052
+ }
29053
+ },
29054
+ "400": {
29055
+ "$ref": "#/components/responses/BadRequestError"
29056
+ },
29057
+ "default": {
29058
+ "$ref": "#/components/responses/UnexpectedError"
29059
+ }
29060
+ }
29061
+ }
29062
+ },
28885
29063
  "/orgs/{organizationId}/sites/{siteId}/integration-scripts": {
28886
29064
  "get": {
28887
29065
  "operationId": "listSiteIntegrationScripts",
@@ -28985,7 +29163,7 @@
28985
29163
  }
28986
29164
  }
28987
29165
  },
28988
- "/orgs/{organizationId}/sites/{siteId}/spaces": {
29166
+ "/orgs/{organizationId}/sites/{siteId}/site-spaces": {
28989
29167
  "post": {
28990
29168
  "operationId": "addSpaceToSite",
28991
29169
  "summary": "Add a space to a site in an organization",
@@ -29066,6 +29244,9 @@
29066
29244
  {
29067
29245
  "$ref": "#/components/parameters/siteId"
29068
29246
  },
29247
+ {
29248
+ "$ref": "#/components/parameters/siteUrlContext"
29249
+ },
29069
29250
  {
29070
29251
  "$ref": "#/components/parameters/listPage"
29071
29252
  },
@@ -29108,7 +29289,7 @@
29108
29289
  }
29109
29290
  }
29110
29291
  },
29111
- "/orgs/{organizationId}/sites/{siteId}/spaces/{siteSpaceId}": {
29292
+ "/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}": {
29112
29293
  "patch": {
29113
29294
  "operationId": "updateSiteSpaceById",
29114
29295
  "summary": "Update a space on a site in an organization",
@@ -29194,7 +29375,7 @@
29194
29375
  }
29195
29376
  }
29196
29377
  },
29197
- "/orgs/{organizationId}/sites/{siteId}/spaces/{siteSpaceId}/customization": {
29378
+ "/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization": {
29198
29379
  "get": {
29199
29380
  "operationId": "getSiteSpaceCustomizationById",
29200
29381
  "summary": "Get the customization configuration for a site space.",
@@ -29292,7 +29473,50 @@
29292
29473
  }
29293
29474
  }
29294
29475
  },
29295
- "/orgs/{organizationId}/sites/{siteId}/spaces/{siteSpaceId}/move": {
29476
+ "/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization/raw": {
29477
+ "get": {
29478
+ "operationId": "getSiteSpaceRawCustomizationById",
29479
+ "summary": "Get the raw customization settings of a site space.",
29480
+ "tags": [
29481
+ "sites"
29482
+ ],
29483
+ "security": [
29484
+ {
29485
+ "user-internal": []
29486
+ }
29487
+ ],
29488
+ "parameters": [
29489
+ {
29490
+ "$ref": "#/components/parameters/organizationId"
29491
+ },
29492
+ {
29493
+ "$ref": "#/components/parameters/siteId"
29494
+ },
29495
+ {
29496
+ "$ref": "#/components/parameters/siteSpaceId"
29497
+ }
29498
+ ],
29499
+ "responses": {
29500
+ "200": {
29501
+ "description": "OK",
29502
+ "content": {
29503
+ "application/json": {
29504
+ "schema": {
29505
+ "$ref": "#/components/schemas/SiteCustomizationSettings"
29506
+ }
29507
+ }
29508
+ }
29509
+ },
29510
+ "400": {
29511
+ "$ref": "#/components/responses/BadRequestError"
29512
+ },
29513
+ "default": {
29514
+ "$ref": "#/components/responses/UnexpectedError"
29515
+ }
29516
+ }
29517
+ }
29518
+ },
29519
+ "/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/move": {
29296
29520
  "post": {
29297
29521
  "operationId": "moveSiteSpace",
29298
29522
  "summary": "Move a site space to a new position in the site.",
@@ -29380,14 +29604,6 @@
29380
29604
  },
29381
29605
  {
29382
29606
  "$ref": "#/components/parameters/listLimit"
29383
- },
29384
- {
29385
- "name": "role",
29386
- "in": "query",
29387
- "description": "If defined, only members with this role will be returned.",
29388
- "schema": {
29389
- "$ref": "#/components/schemas/MemberRole"
29390
- }
29391
29607
  }
29392
29608
  ],
29393
29609
  "responses": {
@@ -29413,7 +29629,7 @@
29413
29629
  "description": "Permission of a user in a site.",
29414
29630
  "properties": {
29415
29631
  "permission": {
29416
- "$ref": "#/components/schemas/MemberRole"
29632
+ "$ref": "#/components/schemas/MemberRoleOrGuest"
29417
29633
  },
29418
29634
  "user": {
29419
29635
  "$ref": "#/components/schemas/User"
package/spec/openapi.yaml CHANGED
@@ -106,10 +106,18 @@ components:
106
106
  siteCustomizationUnmasked:
107
107
  name: unmasked
108
108
  in: query
109
- description: Access the customization settings without applying any masking from the advanced customization flag.
109
+ description: (Deprecated) Use the getRawCustomizationSettingsById internal endpoint.
110
+ deprecated: true
110
111
  schema:
111
112
  type: boolean
112
113
  default: false
114
+ siteUrlContext:
115
+ name: context
116
+ in: query
117
+ description: Site URL that can be used as context for the request to resolve other URLs.
118
+ schema:
119
+ type: string
120
+ format: uri
113
121
  spaceId:
114
122
  name: spaceId
115
123
  in: path
@@ -3501,7 +3509,6 @@ components:
3501
3509
  SpaceTitle:
3502
3510
  type: string
3503
3511
  description: Title of the space
3504
- minLength: 1
3505
3512
  maxLength: 50
3506
3513
  SpaceVisitorAuth:
3507
3514
  oneOf:
@@ -4342,6 +4349,9 @@ components:
4342
4349
  OrganizationUseCase:
4343
4350
  type: string
4344
4351
  enum:
4352
+ - internalDocs
4353
+ - docsSite
4354
+ - audienceControlledSite
4345
4355
  - productDocs
4346
4356
  - teamKnowledgeBase
4347
4357
  - designSystem
@@ -5825,7 +5835,6 @@ components:
5825
5835
  CollectionTitle:
5826
5836
  type: string
5827
5837
  description: Title of the collection
5828
- minLength: 0
5829
5838
  maxLength: 50
5830
5839
  CollectionDescription:
5831
5840
  type: string
@@ -9757,6 +9766,8 @@ components:
9757
9766
  - es
9758
9767
  - zh
9759
9768
  - ja
9769
+ - de
9770
+ - br
9760
9771
  CustomizationFont:
9761
9772
  type: string
9762
9773
  enum:
@@ -11612,6 +11623,37 @@ paths:
11612
11623
  $ref: "#/components/schemas/RevisionPage"
11613
11624
  default:
11614
11625
  $ref: "#/components/responses/UnexpectedError"
11626
+ "/spaces/{spaceId}/content/files/{pageId}/backlinks":
11627
+ get:
11628
+ operationId: listSpacePageBacklinks
11629
+ summary: Get backlink locations for a page existing in a space.
11630
+ tags:
11631
+ - spaces
11632
+ security:
11633
+ - user: []
11634
+ parameters:
11635
+ - $ref: "#/components/parameters/spaceId"
11636
+ - $ref: "#/components/parameters/pageId"
11637
+ - $ref: "#/components/parameters/listPage"
11638
+ - $ref: "#/components/parameters/listLimit"
11639
+ responses:
11640
+ "200":
11641
+ description: OK
11642
+ content:
11643
+ application/json:
11644
+ schema:
11645
+ allOf:
11646
+ - $ref: "#/components/schemas/List"
11647
+ - type: object
11648
+ required:
11649
+ - items
11650
+ properties:
11651
+ items:
11652
+ type: array
11653
+ items:
11654
+ $ref: "#/components/schemas/ContentLocation"
11655
+ default:
11656
+ $ref: "#/components/responses/UnexpectedError"
11615
11657
  "/spaces/{spaceId}/content/page/{pageId}/import":
11616
11658
  post:
11617
11659
  operationId: importContentInPageById
@@ -12532,6 +12574,38 @@ paths:
12532
12574
  $ref: "#/components/schemas/RevisionPage"
12533
12575
  default:
12534
12576
  $ref: "#/components/responses/UnexpectedError"
12577
+ "/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/backlinks":
12578
+ get:
12579
+ operationId: listChangeRequestPageBacklinks
12580
+ summary: Get backlink locations for a page existing in a change request.
12581
+ tags:
12582
+ - spaces
12583
+ security:
12584
+ - user: []
12585
+ parameters:
12586
+ - $ref: "#/components/parameters/spaceId"
12587
+ - $ref: "#/components/parameters/changeRequestId"
12588
+ - $ref: "#/components/parameters/pageId"
12589
+ - $ref: "#/components/parameters/listPage"
12590
+ - $ref: "#/components/parameters/listLimit"
12591
+ responses:
12592
+ "200":
12593
+ description: OK
12594
+ content:
12595
+ application/json:
12596
+ schema:
12597
+ allOf:
12598
+ - $ref: "#/components/schemas/List"
12599
+ - type: object
12600
+ required:
12601
+ - items
12602
+ properties:
12603
+ items:
12604
+ type: array
12605
+ items:
12606
+ $ref: "#/components/schemas/ContentLocation"
12607
+ default:
12608
+ $ref: "#/components/responses/UnexpectedError"
12535
12609
  "/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/import":
12536
12610
  post:
12537
12611
  operationId: importContentInChangeRequestPageById
@@ -17771,6 +17845,28 @@ paths:
17771
17845
  $ref: "#/components/responses/BadRequestError"
17772
17846
  default:
17773
17847
  $ref: "#/components/responses/UnexpectedError"
17848
+ "/orgs/{organizationId}/sites/{siteId}/customization/raw":
17849
+ get:
17850
+ operationId: getSiteRawCustomizationById
17851
+ summary: Get the raw customization settings of a site.
17852
+ tags:
17853
+ - sites
17854
+ security:
17855
+ - user-internal: []
17856
+ parameters:
17857
+ - $ref: "#/components/parameters/organizationId"
17858
+ - $ref: "#/components/parameters/siteId"
17859
+ responses:
17860
+ "200":
17861
+ description: OK
17862
+ content:
17863
+ application/json:
17864
+ schema:
17865
+ $ref: "#/components/schemas/SiteCustomizationSettings"
17866
+ "400":
17867
+ $ref: "#/components/responses/BadRequestError"
17868
+ default:
17869
+ $ref: "#/components/responses/UnexpectedError"
17774
17870
  "/orgs/{organizationId}/sites/{siteId}/integration-scripts":
17775
17871
  get:
17776
17872
  operationId: listSiteIntegrationScripts
@@ -17827,7 +17923,7 @@ paths:
17827
17923
  $ref: "#/components/schemas/Integration"
17828
17924
  default:
17829
17925
  $ref: "#/components/responses/UnexpectedError"
17830
- "/orgs/{organizationId}/sites/{siteId}/spaces":
17926
+ "/orgs/{organizationId}/sites/{siteId}/site-spaces":
17831
17927
  post:
17832
17928
  operationId: addSpaceToSite
17833
17929
  summary: Add a space to a site in an organization
@@ -17874,6 +17970,7 @@ paths:
17874
17970
  parameters:
17875
17971
  - $ref: "#/components/parameters/organizationId"
17876
17972
  - $ref: "#/components/parameters/siteId"
17973
+ - $ref: "#/components/parameters/siteUrlContext"
17877
17974
  - $ref: "#/components/parameters/listPage"
17878
17975
  - $ref: "#/components/parameters/listLimit"
17879
17976
  responses:
@@ -17894,7 +17991,7 @@ paths:
17894
17991
  $ref: "#/components/schemas/SiteSpace"
17895
17992
  default:
17896
17993
  $ref: "#/components/responses/UnexpectedError"
17897
- "/orgs/{organizationId}/sites/{siteId}/spaces/{siteSpaceId}":
17994
+ "/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}":
17898
17995
  patch:
17899
17996
  operationId: updateSiteSpaceById
17900
17997
  summary: Update a space on a site in an organization
@@ -17940,7 +18037,7 @@ paths:
17940
18037
  description: Site space has been deleted
17941
18038
  default:
17942
18039
  $ref: "#/components/responses/UnexpectedError"
17943
- "/orgs/{organizationId}/sites/{siteId}/spaces/{siteSpaceId}/customization":
18040
+ "/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization":
17944
18041
  get:
17945
18042
  operationId: getSiteSpaceCustomizationById
17946
18043
  summary: Get the customization configuration for a site space.
@@ -17993,7 +18090,30 @@ paths:
17993
18090
  $ref: "#/components/responses/BadRequestError"
17994
18091
  default:
17995
18092
  $ref: "#/components/responses/UnexpectedError"
17996
- "/orgs/{organizationId}/sites/{siteId}/spaces/{siteSpaceId}/move":
18093
+ "/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization/raw":
18094
+ get:
18095
+ operationId: getSiteSpaceRawCustomizationById
18096
+ summary: Get the raw customization settings of a site space.
18097
+ tags:
18098
+ - sites
18099
+ security:
18100
+ - user-internal: []
18101
+ parameters:
18102
+ - $ref: "#/components/parameters/organizationId"
18103
+ - $ref: "#/components/parameters/siteId"
18104
+ - $ref: "#/components/parameters/siteSpaceId"
18105
+ responses:
18106
+ "200":
18107
+ description: OK
18108
+ content:
18109
+ application/json:
18110
+ schema:
18111
+ $ref: "#/components/schemas/SiteCustomizationSettings"
18112
+ "400":
18113
+ $ref: "#/components/responses/BadRequestError"
18114
+ default:
18115
+ $ref: "#/components/responses/UnexpectedError"
18116
+ "/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/move":
17997
18117
  post:
17998
18118
  operationId: moveSiteSpace
17999
18119
  summary: Move a site space to a new position in the site.
@@ -18043,11 +18163,6 @@ paths:
18043
18163
  - $ref: "#/components/parameters/siteId"
18044
18164
  - $ref: "#/components/parameters/listPage"
18045
18165
  - $ref: "#/components/parameters/listLimit"
18046
- - name: role
18047
- in: query
18048
- description: If defined, only members with this role will be returned.
18049
- schema:
18050
- $ref: "#/components/schemas/MemberRole"
18051
18166
  responses:
18052
18167
  "200":
18053
18168
  description: Listing of users who can access the site.
@@ -18067,7 +18182,7 @@ paths:
18067
18182
  description: Permission of a user in a site.
18068
18183
  properties:
18069
18184
  permission:
18070
- $ref: "#/components/schemas/MemberRole"
18185
+ $ref: "#/components/schemas/MemberRoleOrGuest"
18071
18186
  user:
18072
18187
  $ref: "#/components/schemas/User"
18073
18188
  origin: