Skip to content

AIP-81 Include Overwrite Functionality to Bulk Insert API Endpoints for Connection&Pool #45303

Closed

Description

@bugraoz93

Description

When inserting bulk objects in REST API (FastAPI), a flag should decide whether passed objects should be updated in case of existence (--overwrite).

  • /connections/bulk
  • /pools/bulk

Use case/motivation

To provide the same functionality for the CLI Connection command with API integration.
AIP-81

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. added
    kind:feature
    area:API
    AIP-81
    on Dec 30, 2024
  2. jason810496 commented on Jan 3, 2025

    @jason810496
    Member

    Hi @bugraoz93, I can work on this issue, could you assign to me ? Thanks !
    I also have a small question: Should we replace the HTTP method from POST to PUT? For this use case, the endpoint is no longer solely for create operations.

  3. bugraoz93 commented on Jan 3, 2025

    @bugraoz93
    ContributorAuthor

    Hi @jason810496 , great point! I think we can. Indeed, it won't only accept inserts in this case and fits into PUT more as a context and definition.
    Assigned, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

AIP-81area:APIkind:feature

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions