PromucFlow_constructor/app/client/src/api
Shrikant Sharat Kandula 4c073129fc
chore: Fix datasource creation throwing 400 (#34588)
The recent changes to deny any requests that have unrecognized fields in
the body, is making the datasource creation API fail. This is because we
are sending extra fields that shouldn't be sent.

[Slack
conversation](https://theappsmith.slack.com/archives/CPQNLFHTN/p1719577339838649?thread_ts=1719466294.012589&cid=CPQNLFHTN).


**/test sanity datasource**



<!-- This is an auto-generated comment: Cypress test results  -->
> [!WARNING]
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9714799545>
> Commit: 85495fbcf6ec641162c7c30ea8f758dcaee380e3
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9714799545&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity, @tag.Datasource`
> It seems like **no tests ran** 😔. We are not able to recognize it,
please check <a
href="https://github.com/appsmithorg/appsmith/actions/runs/9714799545"
target="_blank">workflow here</a>.

<!-- end of auto-generated comment: Cypress test results  -->




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

- **New Features**
- Enhanced data security by adding a method to sanitize and retain only
necessary authentication information for various authentication types.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-29 14:27:36 +05:30
..
ActionAPI.tsx chore: Strict payloads for update action and gen template API (#34446) 2024-06-25 13:03:36 +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: Strict payloads for update action and gen template API (#34446) 2024-06-25 13:03:36 +05:30
CloudServicesApi.ts
ConsolidatedPageLoadApi.tsx chore: Prefetch module apis in service worker (#34003) 2024-06-14 16:30:23 +05:30
DatasourcesApi.ts chore: Fix datasource creation throwing 400 (#34588) 2024-06-29 14:27:36 +05:30
GitSyncAPI.tsx chore: autocommit feature branch (#34062) 2024-06-10 12:35:23 +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: Only send uidString to remove a JSLib (#34473) 2024-06-26 10:58:01 +05:30
OAuthApi.ts chore: change saas authentication to context based (#31064) 2024-03-07 15:36:31 +05:30
PageApi.tsx chore: Strict payloads for update action and gen template API (#34446) 2024-06-25 13:03:36 +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