The /fact-names endpoint can be used to retrieve all known fact names.

Note: The v4 API is experimental and may change without notice. For stability, it is recommended that you use the v3 API instead.

GET /fact-names

This will return an alphabetical list of all known fact names, including those which are known only for deactivated nodes.

This endpoint does not use any URL parameters or query strings.

Response Format

The response will be in application/json, and will contain an alphabetical JSON array containing fact names. Each fact name will appear only once, regardless of how many nodes have that fact.

[<fact>, <fact>, ..., <fact>, <fact>]

Examples

Using curl from localhost:

curl -X GET http://localhost:8080/v4/fact-names

["kernel", "operatingsystem", "osfamily", "uptime"]

Paging

This query endpoint supports paged results via the common PuppetDB paging URL parameters. For more information, please see the documentation on paging.

Back to top
The page rank or the 1 our of 5 rating a user has given the page.
The email address of the user submitting feedback.
The URL of the page being ranked/rated.