-
Notifications
You must be signed in to change notification settings - Fork 302
Open
Labels
triagedThis ticket has been accepted to our backlog and migrated internallyThis ticket has been accepted to our backlog and migrated internally
Description
Describe the Bug
https://www.puppet.com/docs/pe/2023.8/nodes_endpoint.html lists some URL examples. The text says
When Forming node classifier API requests to this endpoint, the request is a basic GET call with authentication
but also:
GET https://localhost:4433/classifier-api/v1/nodes?limit=25&offset=25
Which doesn't work out of the box.
Expected Behavior
A working copy and paste example would be awesome:
cert="$(puppet config print hostcert)"; \
cacert="$(puppet config print localcacert)"; \
key="$(puppet config print hostprivkey)"; \
uri="https://$(puppet config print server):4433/classifier-api/v1/nodes?limit=25&offset=25"; \
curl --cert "$cert" --cacert "$cacert" --key "$key" "$uri"
Steps to Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
Environment
- Version [e.g. 1.27.0]
- Platform [e.g. Ubuntu 18.04]
Additional Context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
triagedThis ticket has been accepted to our backlog and migrated internallyThis ticket has been accepted to our backlog and migrated internally