diff --git a/packages/server/src/api/routes/row.js b/packages/server/src/api/routes/row.js index c48f492909..4765327562 100644 --- a/packages/server/src/api/routes/row.js +++ b/packages/server/src/api/routes/row.js @@ -38,6 +38,12 @@ router authorized(PermissionTypes.TABLE, PermissionLevels.READ), rowController.search ) + // DEPRECATED - this is an old API, but for backwards compat it needs to be + // supported still + .post("/api/search/:tableId/rows", + paramResource("tableId"), + authorized(PermissionTypes.TABLE, PermissionLevels.READ), + rowController.search) .post( "/api/:tableId/rows", paramResource("tableId"),