Designate DNS DOC – Zone Import is missing the description for mandatory POST payload.

Bug #1922875 reported by Arkady Shtempler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Designate
New
Undecided
Unassigned

Bug Description

According the documentation we have for “Zone import”: https://docs.openstack.org/api-ref/dns/?expanded=get-the-name-servers-for-a-zone-detail,list-zones-detail,create-a-zone-import-detail#zone-import

it says that the POST should have no body, and the content-type should be text/dns
“This POST should have no body, and the content-type should be text/dns”

BTW the above sentence has no logical sense as if there is no payload in the POST adding “content-type” becomes irrelevant.

Actually basing on code that we have in designate and in its tempest for that API, it does require payload data (body that defines the zone) to be sent. The description of the request and the example are both missing.

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.