Project

General

Profile

Actions

Bug #26679

closed

Missing attributes for report templates in API output

Added by Ondřej Pražák about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:
-
Fixed in Releases:
Found in Releases:

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.

Steps to Reproduce:
1. Create a report template
2. GET report template through API:
  1. curl -u admin:<password> -H "Accept: version=2, application/json" -H "Content-Type: application/json" -k -X GET https://$(hostname)/api/report_templates/&lt;id>

Actual results:
Report template returned, but some attributes are missing

Expected results:
Report template returned with all attributes

Actions #1

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
Actions #2

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
Actions #3

Updated by Ondřej Pražák about 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Marek Hulán about 5 years ago

  • Fixed in Releases 1.23.0 added
Actions #5

Updated by The Foreman Bot almost 5 years ago

  • Pull request https://github.com/theforeman/foreman/pull/6821 added
Actions #6

Updated by Tomer Brisker almost 5 years ago

  • Fixed in Releases 1.22.0 added
  • Fixed in Releases deleted (1.23.0)
Actions

Also available in: Atom PDF