Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(rest): Added code for updating multiple project attachments. #2492

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nikkuma7
Copy link

@nikkuma7 nikkuma7 commented Jun 20, 2024

Closes : #2491

Description

Recently, we were able to upload a single file as an attachment, but after these code changes, we can now upload multiple files, including the same file or modified versions.

http://localhost:8080/resource/api/projects/{projectId}/attachments

@rudra-superrr rudra-superrr added needs code review needs general test This is general testing, meaning that there is no org specific issue to check for labels Aug 13, 2024
@rudra-superrr rudra-superrr self-assigned this Aug 13, 2024
@rudra-superrr
Copy link
Contributor

Not working as expected.
image

and please update the rest doc properly for this endpoint as both the parameter of the body is taking file type. The attachment paramter should be taking attachment required information.

@nikkuma7 nikkuma7 force-pushed the fix/update_multiple_project_attachment branch 2 times, most recently from 1d8244a to 6e7b6eb Compare August 30, 2024 07:49
@nikkuma7 nikkuma7 force-pushed the fix/update_multiple_project_attachment branch from 6e7b6eb to 7452a02 Compare September 2, 2024 07:33
@rudra-superrr
Copy link
Contributor

rudra-superrr commented Sep 4, 2024

The current endpoint returns the whole project in response and your endpoint response is empty.
image

@rudra-superrr
Copy link
Contributor

On uploading multiple files, all files having same attachment information. User should be able to change the attachment information(type, status, comment) with respect to each file.
image

@rudra-superrr
Copy link
Contributor

rudra-superrr commented Sep 4, 2024

Please display some message if same file is uploaded again and also update the doc for this endpoint.

@nikkuma7 nikkuma7 force-pushed the fix/update_multiple_project_attachment branch from f956f3c to 84aad89 Compare October 18, 2024 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs code review needs general test This is general testing, meaning that there is no org specific issue to check for
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix(rest): Added code for updating multiple project attachments.
3 participants