[2.1 API] MAAS server endpoint set_config operation returns the text 'OK' rather than an object or redirect

Bug #1612620 reported by Brendan Donegan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
Medium
Unassigned
2.0
Won't Fix
Medium
Unassigned

Bug Description

When using the 'maas/?op=set_config' endpoint in the MAAS HTTP API, we get the response 'OK' from the POST request. It would be more helpful to return a JSON representation of the updated config. The response as it stands doesn't really help us achieve anything as it just tells us what we already know via the HTTP status code

Tags: api
summary: - [API] MAAS server endpoint set_config operation returns OK rather than
- an object or redirect
+ [API] MAAS server endpoint set_config operation returns the text 'OK'
+ rather than an object or redirect
Changed in maas:
milestone: none → 2.1.0
summary: - [API] MAAS server endpoint set_config operation returns the text 'OK'
- rather than an object or redirect
+ [2.1 API] MAAS server endpoint set_config operation returns the text
+ 'OK' rather than an object or redirect
Changed in maas:
importance: Undecided → Medium
status: New → Triaged
Changed in maas:
milestone: 2.1.0 → 2.1.1
Changed in maas:
milestone: 2.1.1 → 2.1.2
Changed in maas:
milestone: 2.1.2 → 2.1.3
Changed in maas:
milestone: 2.1.3 → 2.3.x
tags: added: api
no longer affects: maas/trunk
Revision history for this message
Adam Collard (adam-collard) wrote :

This bug has not seen any activity in the last 6 months, so it is being automatically closed.

If you are still experiencing this issue, please feel free to re-open.

MAAS Team

Changed in maas:
status: Triaged → Invalid
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.