Added a Vote model to the API and made the necessary changes for it to be processed by and sent to the API.
Added a functional test to verify that the voting works properly. This way, I discovered a problem with the decoding of the parameters received by the REST endpoint. The issue is presented here in more detail. The issue is fixed in later versions of XWiki, but not in 11.10, so I had to copy the solution into the code.
Added a Vote model to the API and made the necessary changes for it to be processed by and sent to the API.
Added a functional test to verify that the voting works properly. This way, I discovered a problem with the decoding of the parameters received by the REST endpoint. The issue is presented here in more detail. The issue is fixed in later versions of XWiki, but not in 11.10, so I had to copy the solution into the code.