MAAS API: 'GET /MAAS/api/2.0/subnets/' does not show "description" parameter allowed in 'POST /MAAS/api/2.0/subnets/'

Bug #1864563 reported by Mark Cunningham
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Medium
Alberto Donato

Bug Description

Reading the MAAS API documentation (https://maas.io/docs/api#subnets), there appears to be an option to add a "description" field to a subnet when creating the subnet using the API. This description appears to be visible in the MAAS GUI, but is not visible when using the API to retrieve subnet information.

---
GET /MAAS/api/2.0/subnets/
Get a list of all subnets.

---
POST /MAAS/api/2.0/subnets/
Creates a new subnet.

Parameters
...
description (String): Optional. The subnet's description.

---

This has been submitted as a feature request to have the "description" field listed when existing subnets are listed, using the API as described in the API documentation.

Related branches

Alberto Donato (ack)
Changed in maas:
assignee: nobody → Alberto Donato (ack)
milestone: none → 2.8.0b1
importance: Undecided → Medium
status: New → In Progress
Changed in maas:
status: In Progress → Fix Committed
Alberto Donato (ack)
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.