Project

General

Profile

Actions

Feature #39266

open

ptable snippet flag not exposed in API

Added by CERN-LHCb-Online Loic Brarda about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Difficulty:
easy
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

From the API, we can't see the state of the snippet flag in the partition table templates and can't set that flag.

I quickly fixed it with a `sed -ie 's/attributes :layout, :locked/attributes :layout, :locked, :snippet/' /usr/share/foreman/app/views/api/v2/ptables/show.json.rabl`

I'm not enough aware of the foreman source code but I probably can generate a PR.

No data to display

Actions

Also available in: Atom PDF