You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/swagger/client/api.ts
+59-27Lines changed: 59 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -361,19 +361,24 @@ export class SwaggerAPI {
361
361
}
362
362
363
363
/**
364
-
* Publish a portal product and generate a published URL with environment-specific domain.
365
-
* Returns `liveUrl` for live publishes and `previewUrl` for preview publishes.
364
+
* Prepare publication metadata and URL for a portal product and page.
365
+
* Fetches product, portal, and section details, resolves TOC item if provided,
366
+
* and builds the publication URL.
366
367
* @param productId - ID of the product to publish
367
-
* @param preview - Whether to publish in preview mode (default: false)
368
-
* @param tableOfContentsId - Optional table of contents UUID, or identifier in the format 'portal-subdomain:product-slug:section-slug:table-of-contents-slug'
369
-
* @returnsComplete publish response with product details and the resolved published URL
368
+
* @param preview - Whether this is a preview publish
369
+
* @param tableOfContentsId - Optional table of contents UUID or identifier
370
+
* @returnsPublication metadata including URL and narrowed entity details
* Publish a portal product and generate a published URL with environment-specific domain.
437
+
* Returns `liveUrl` for live publishes and `previewUrl` for preview publishes.
438
+
* @param productId - ID of the product to publish
439
+
* @param preview - Whether to publish in preview mode (default: false)
440
+
* @param tableOfContentsId - Optional table of contents UUID, or identifier in the format 'portal-subdomain:product-slug:section-slug:table-of-contents-slug'
441
+
* @returns Complete publish response with product details and the resolved published URL
0 commit comments