Extend the /request API endpoint to handle PUT requests for approving or rejecting extension requests. This enhancement will enable users to manage extension requests and OOO requests using same endpoint.
Expected Behavior
The /request API endpoint should accept PUT requests with appropriate parameters to approve or reject extension requests.
Current Behavior
The /request API endpoint does not support PUT requests for extension requests type.
Screenshots
Not applicable.
Reproducibility
[x] This issue is reproducible
[ ] This issue is not reproducible
Severity/Priority
[ ] Critical
[ ] High
[x] Medium
[ ] Low
Additional Information
This enhancement will provide users with the ability to approve or reject extension requests through the existing /request endpoint, streamlining the process and improving user experience.
Checklist
[ ] I have read and followed the project's code of conduct.
[ ] I have searched for similar issues before creating this one.
[ ] I have provided all the necessary information to understand and reproduce the issue.
[ ] I am willing to contribute to the resolution of this issue.
Issue Description
Extend the
/request
API endpoint to handle PUT requests for approving or rejecting extension requests. This enhancement will enable users to manage extension requests and OOO requests using same endpoint.Expected Behavior
The
/request
API endpoint should accept PUT requests with appropriate parameters to approve or reject extension requests.Current Behavior
The
/request
API endpoint does not support PUT requests for extension requests type.Screenshots
Not applicable.
Reproducibility
Severity/Priority
Additional Information
This enhancement will provide users with the ability to approve or reject extension requests through the existing
/request
endpoint, streamlining the process and improving user experience.Checklist