Forming status API requests
When forming status API requests, you must specify the port corresponding to the Puppet Enterprise (PE) service you want to inspect.
URIpath following the pattern:
DNS: Your PE console host's DNS name. You can manually enter it or use a
puppetcommand, as explained in Using example commands.
PORT: The port associated with the service(s) you want to query.
ENDPOINT: One or more sections specifying the endpoint, such as
simple. Some endpoints require additional sections, such as the GET /status/v1/services/<SERVICE NAME> endpoint.
GET https://$(puppet config print server):8140/status/v1/services
https://puppet.status.example:4433/status/v1/services/rbac-service https://(puppet config print server):4433/status/v1/services/rbac-service
To form a complete curl command, you need to provide appropriate curl arguments, Status API authentication, and you might need to supply the content type and/or additional parameters specific to the endpoint you are calling.
For information about
puppet config commands and curl
commands in Windows, go to Using example commands.