Endpoint
products query parameter is provided. dev-portal uses this endpoint to discover all available documentation pages at build time.
Query parameters
One or more product slugs to filter results. When omitted, paths for all configured products are returned.Repeat the parameter to include multiple products:
?products=terraform-plugin-framework&products=terraform-enterpriseThe legacy alias ptfe-releases is automatically mapped to terraform-enterprise.Example requests
Response
Returns a JSON object with aresult array. Each element in the array represents a single documentation page path.
200
Response fields
Array of path objects for all matching documentation pages.
Error responses
| Status | Body | Cause |
|---|---|---|
404 | Not found | None of the requested product slugs could be resolved, or no paths exist for any of the specified products. |