Return alert IIDs and title in create response
What does this MR do and why?
This adds a response body to the create GitLab Alert endpoint.
Request:
{
"title": "Memory usage exceeded threshold"
}
Response:
[
{
"iid": "1",
"title": "Memory usage exceeded threshold"
}
]
This is not considered a breaking change because the existing behaviour remains of returning a 200
response code. (Previously we returned a 200
with no response body).
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #342730 (closed)
Edited by Sean Arnold