Get all iPXE templates
Get all iPXE templates propagated from nico-core. Optionally restrict to one or more sites with the siteId query parameter.
The Infrastructure Provider and Tenant are inferred from the org’s membership. User must have authorization role with PROVIDER_ADMIN, PROVIDER_VIEWER, or TENANT_ADMIN suffix.
Authentication
AuthorizationBearer
```
export JWT_BEARER_TOKEN="<jwt-bearer-token>"
# Example org name: "acme-inc
export ORG_NAME=<org-name>
# Use the JWT bearer token in your API request auth header:
curl -v -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $JWT_BEARER_TOKEN" https://nico-rest-api.nico.svc.cluster.local/v2/org/$ORG_NAME/nico/user/current
```
Path parameters
org
Name of the Org
Query parameters
siteId
Optional site ID(s); may be repeated to restrict results to templates available at any of the sites
pageNumber
Page number for pagination query
pageSize
Page size for pagination query
orderBy
Ordering for pagination query
Response headers
X-Pagination
Pagination result in JSON format
Response
OK
id
Stable template UUID assigned by core
name
Globally unique template name
template
Raw iPXE script content
requiredParams
Parameters that must be provided to render the template
reservedParams
Parameters reserved by the template and not user-supplied
requiredArtifacts
Artifact names required for the template
visibility
Template visibility: Internal or Public
created
updated
Errors
403
Forbidden Error