Project

General

Profile

Bug #11242

os_default_templates route under provisioning template shows no OS details

Added by Dominic Cleal about 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

The response from "GET /api/v2/provisioning_templates/Kickstart default/os_default_templates" shows the following fields:

    {
      "id": 3,
      "provisioning_template_id": 4,
      "provisioning_template_name": "Kickstart default",
      "template_kind_id": 3,
      "template_kind_name": "provision",
      "config_template_id": 4,
      "config_template_name": "Kickstart default" 
    }

This makes sense if you're using the nested route under /operatingsystems, but it should include the operatingsystem ID in case you're accessing it under templates.

Associated revisions

Revision 3c1af256 (diff)
Added by Shlomi Zadok almost 4 years ago

fixes #11242 - Add operatingsystem_id to os_default_templates in API

History

#1 Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2715 added
  • Pull request deleted ()

#2 Updated by Shlomi Zadok almost 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Dominic Cleal almost 4 years ago

  • Assignee set to Shlomi Zadok
  • Legacy Backlogs Release (now unused) set to 63

Also available in: Atom PDF