ironic-inspector/releasenotes/notes/fix-rules-endpoint-response-d60984c40d927c1f.yaml
Anton Arefiev 0d9c0cdc30 Fix response code for rule creating API
This change introduces new return code (201 instead of 200) for
POST /v1/rules endpoint on success rule creation.

API less 1.6 continues returning 200.

Default API version was changed from minimum to maximum
which Inspector can support.

Change-Id: I911c7c241d16b9948ee4b6db92b127c7f8f374ae
2016-06-14 11:23:03 +03:00

11 lines
389 B
YAML

---
upgrade:
- API "POST /v1/rules" returns 201 response code instead of
200 on creating success. API version was bumped to 1.6.
API less than 1.6 continues to return 200.
- Default API version was changed from minimum to maximum
which Inspector can support.
fixes:
- Fix response return code for rule creating endpoint, it
returns 201 now instead of 200 on success.