Exports
Retrieve an export job
Retrieve an export job, including its current status and the location of the associated export, if one has been generated successfully.
To use this endpoint, you must have one of the following roles: comply-admin comply-operator comply-viewer
get/v1/export-job/{id}
Request
- Base URLhttps://help.puppet.com/api/public
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
The ID of the export job.
Response
GetExportJobResponse is the response for a get export job request.
Example response
{
"created_at": "2023-09-25T13:57:16.743Z",
"description": "Compliance summary for production Red Hat nodes.",
"export_file_location": "/api/public/v1/export/456/file",
"id": 123,
"name": "compliance_summary_production_redhat",
"node_filters": {
"environments": [
"production"
],
"name": [
"my-node-789.prod.example.com"
],
"node_groups": [
"auditable nodes"
],
"operating_systems": [
"redhat 7",
"redhat 8"
]
},
"status": "successful",
"type": "compliance_status_summary"
}Changes
No recorded changes to this operation across all 1 revision of this API.