PromucFlow_constructor/app/client/src/api
Shrikant Sharat Kandula bba0ecb112
chore: Remove blockNavigation in Page create API body (#32859)
1. The `blockNavigation` parameter in request body isn't being used, so
removing it.
2. We're sending the page `id` in both the URL path as well as the
request body. This is confusing, and may lead to a security regression
in the future. Removing it from the body.

All tag Cypress tests pass on EE, with no extra changes over the diff
here.
Ref: https://github.com/appsmithorg/appsmith-ee/pull/3698

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Enhanced page creation process with streamlined parameters and
validation constraints.

- **Refactor**
	- Simplified navigation and page creation logic in the application.
- Updated method parameters and logging to improve clarity and
maintainability.

- **Bug Fixes**
- Fixed the issue where unnecessary data was included in page update
requests.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-04-25 21:31:51 +05:30
..
ActionAPI.tsx feat: workflow queries/actions rename code split (#31300) 2024-03-05 10:28:34 +05:30
Api.ts chore:add eslint rules (#27878) 2023-10-09 16:54:06 +03:00
ApiResponses.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
AppThemingApi.tsx chore: Remove "Save theme" functionality (#31481) 2024-03-12 18:54:39 +05:30
CloudServicesApi.ts feat: Support OAuth for all plugin types (#9657) 2022-01-14 12:01:54 +05:30
ConsolidatedPageLoadApi.tsx feat: Frontend changes for consolidated-api with EE test case support (#30506) 2024-01-24 12:14:16 +05:30
DatasourcesApi.ts chore:add eslint rules (#27878) 2023-10-09 16:54:06 +03:00
GitSyncAPI.tsx chore: remove git release feature flags (#30962) 2024-02-09 10:22:47 +05:30
ImportApi.ts chore: refactor curl import API to support context type (#30934) 2024-02-14 12:18:30 +05:30
LibraryAPI.tsx chore: remove xml parser v3 as a default library (#28012) 2023-10-20 11:08:47 +05:30
OAuthApi.ts chore: change saas authentication to context based (#31064) 2024-03-07 15:36:31 +05:30
PageApi.tsx chore: Remove blockNavigation in Page create API body (#32859) 2024-04-25 21:31:51 +05:30
PluginApi.ts feat: Add knowledge retrieval in Appsmith AI (#30725) 2024-02-05 17:15:45 +05:30
ReleasesAPI.tsx chore:add eslint rules (#27878) 2023-10-09 16:54:06 +03:00
SaasApi.ts chore:add eslint rules (#27878) 2023-10-09 16:54:06 +03:00
SearchApi.tsx feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
TemplatesApi.ts feat: implement dropping building blocks on canvas (#31857) 2024-04-16 09:41:09 +01:00
WidgetConfigsApi.tsx chore:add eslint rules (#27878) 2023-10-09 16:54:06 +03:00
WidgetSidebarApi.tsx chore:add eslint rules (#27878) 2023-10-09 16:54:06 +03:00