This PR was created by [GitStart](https://gitstart.com/) to address the requirements from this ticket: [TWNTY-5472](https://clients.gitstart.com/twenty/5449/tickets/TWNTY-5472). This ticket was imported from: [TWNTY-5472](https://github.com/twentyhq/twenty/issues/5472) --- ### Description: - Following what is already done in the code, we create a REST endpoint that generates the Graphql query and returns its result. ### Refs: #5472 ### Demo: <https://www.loom.com/share/e0b1030f056945a0bf93bdd88ea01d8f?sid=6f128e8c-370b-4079-958e-0ea2d073a241> FIxes #5472 --------- Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com> Co-authored-by: gitstart-twenty <140154534+gitstart-twenty@users.noreply.github.com> Co-authored-by: martmull <martmull@hotmail.fr>
- Improve the rest api by introducing startingAfter/endingBefore (we previously had lastCursor), and moving pageInfo/totalCount outside of the data object. - Fix broken GraphQL playground on website - Improve analytics by sending server url
## Before  ## After   
- add POST rest/batch/<OBJECT> endpoint - rearrange rest api code with Twenty quality standard - unify REST API error format - Added PATCH verb to update objects - In openapi schema, we replaced PUT with PATCH verb to comply with REST standard - fix openApi schema to match the REST api ### Batch Create  ### Replace PUT by PATCH in open Api  ### Error format unification   