Skip to content

PUT: update connection details and allow for adding new files to conn…#45

Merged
aliamerj merged 1 commit intoDcup-dev:mainfrom
aliamerj:feat-api/update
Apr 10, 2025
Merged

PUT: update connection details and allow for adding new files to conn…#45
aliamerj merged 1 commit intoDcup-dev:mainfrom
aliamerj:feat-api/update

Conversation

@aliamerj
Copy link
Collaborator

part: #29

Description:

This PR introduces a new POST endpoint at /api/connection/{id}/update to enable users to update connections, supporting both immediate and queued processing workflows.

  • If wait=true (query parameter), : processes files immediately with directProcessFiles and returns a success message: "Your file was successfully uploaded and processed."
  • If wait=false (default), : queues files for later processing with addToProcessFilesQueue and returns: "Your file has been successfully uploaded and queued for processing."
  • and fix typo
{
    "code": "ok",
    "message": "Connection has been successfully updated and queued for processing"
}

@aliamerj aliamerj merged commit e781056 into Dcup-dev:main Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant