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
Updated by Ondřej Pražák about 5 years ago
- Subject changed from Missing attributes for report templates in API output to Missing attributes for report templates in API output
- Category changed from Statistics to Templates
Updated by The Foreman Bot about 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ondřej Pražák
- Pull request https://github.com/theforeman/foreman/pull/6711 added
Updated by Ondřej Pražák about 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset b24b0f91083aea16d6df6faa26f476c2436e9f00.
Updated by The Foreman Bot almost 5 years ago
- Pull request https://github.com/theforeman/foreman/pull/6821 added
Updated by Tomer Brisker almost 5 years ago
- Fixed in Releases 1.22.0 added
- Fixed in Releases deleted (
1.23.0)
Actions