Project

General

Profile

Actions

Bug #26679

closed

Missing attributes for report templates in API output

Added by Ondřej Pražák about 6 years ago. Updated about 6 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

Also available in: Atom PDF