Generate a Portal using the Sync API
Step 1: Generate Portal
Use APIMatic API to invoke the Generate On-Prem Portal via Build Input endpoint. Provide the required Build Input in your request. For details on preparing the Build Input, refer to this guide. A successful request returns a ZIP file containing the portal artifacts.
HTTP/1.1 200 OK
Content-Type: application/zip
Content-Disposition: attachment; filename="portal.zip"
Content-Length: 123456
[Binary data not displayed]
Step 2: Host the API Portal
Extract and host the static API Portal generated through the endpoint on any web server.ou can preview it locally using http-server or similar tools.
To automate the entire docs as code process, go to the Automate API Portal Generation using the Sync API.