Skip to content

feat(core): allow sending parameters in req body for bulk operations

Rastislav Kruták requested to merge rkrutak/STR-1229/bulk_ops_body_params into main

Description

feat(core): allow sending parameters in req body for bulk operations

  • created alternatives to some rpc calls with parameters placed in the request body instead of the query
  • this is for calls with array parameters that might not fit to apache request length limit

How to test

Call the modified methods from gui and check that they work and that the params are sent in body.

Author's checklist

  • I have followed the contribution guidelines
  • This MR has been tested or does not change functionality
  • I have added relevant merge request dependencies (if this MR has any)
  • I have added the correct labels
  • I have assigned reviewers (if any are relevant)
  • I have edited the documentation (if the changes require it) or I have noted the need for the change if I do not have access to the documentation
  • I have marked all introduced BREAKING CHANGES or necessary DEPLOYMENT NOTES in the commit message(s)

Reviewer's checklist

  • This MR has been tested or does not change functionality
  • This MR has correct commit message format

Other information

I've gone through the methods that use array in the query params and created the body versions for only those, where I deemed that it is possible to send a request that will not fit into the limit of http query length (~100s of items), e.g. it will probably never happen that user will want to delete 300 owners. So let me know if you think that I missed something.

Related issues

re STR-1229

Merge request reports