Actions
Bug #26679
closedMissing attributes for report templates in API output
Difficulty:
Triaged:
No
Bugzilla link:
Description
Description of problem:
"GET https://$(hostname)/api/report_templates/:id" doesn't show all report template attributes, e.g. Snippet, Locked or Audit_comment. All of these are available through WebUI.
1. Create a report template
2. GET report template through API:
- curl -u admin:<password> -H "Accept: version=2, application/json" -H "Content-Type: application/json" -k -X GET https://$(hostname)/api/report_templates/<id>
Actual results:
Report template returned, but some attributes are missing
Expected results:
Report template returned with all attributes
Actions