stable

Clone or download

Read-only

Hidden releases can be created via REST

Part of request #10039: Retrieve/update FRS packages via REST User can optionally set the status of the release during creation: POST /frs_release { "package_id": 42, "name": "Cajun Chicken Pasta 2.0", "status": "hidden" } By default, status is "active". Allowed status values: active|hidden. The status is now returned in the GET /frs_release/:id Change-Id: I3f9ee03c75808a1de76fe8c8d0096aeafb02002a

Modified Files

Name
M plugins/frs/include/FRS/REST/v1/ReleasePOSTRepresentation.php +5 −0 Go to diff View file
M plugins/frs/include/FRS/REST/v1/ReleaseRepresentation.php +23 −7 Go to diff View file
M plugins/frs/include/FRS/REST/v1/ReleaseResource.php +21 −2 Go to diff View file
M plugins/frs/tests/rest/FRS/ReleaseTest.php +3 −1 Go to diff View file