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: endpoint folder/:uuid/content now returns all the content #364

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

apsantiso
Copy link
Collaborator

@apsantiso apsantiso commented Jul 17, 2024

The frontend uses the folder/:id endpoint (created in drive-server) to retrieve all content within a folder. This endpoint is utilized in multiple parts of drive-web, making it challenging to deprecate it all at once. Therefore, we are migrating this endpoint.

Issue:
The migrated endpoint currently does not function as expected, returning only 20 files or folders.

Fix:
This PR includes changes to ensure the folder/:folderUuid/content endpoint works as intended, retrieving all the content within a folder without the 20-item limit.

@apsantiso apsantiso self-assigned this Jul 17, 2024
@apsantiso apsantiso force-pushed the fix/return-all-the-folder-content-endpoint branch from 2353ad1 to ed0ab48 Compare July 17, 2024 01:51
@apsantiso apsantiso force-pushed the fix/return-all-the-folder-content-endpoint branch from ed0ab48 to 1f0c8c6 Compare July 17, 2024 01:53
@apsantiso apsantiso changed the title [_] fix: the endpoint folder/:uuid/content now returns all the content [_] fix: endpoint folder/:uuid/content now returns all the content Jul 17, 2024
@apsantiso apsantiso requested review from sg-gs and CandelR July 17, 2024 01:58
Copy link

sonarcloud bot commented Jul 18, 2024

@apsantiso apsantiso merged commit 30235b4 into master Jul 18, 2024
10 of 11 checks passed
@apsantiso apsantiso deleted the fix/return-all-the-folder-content-endpoint branch July 18, 2024 04:11
@apsantiso apsantiso restored the fix/return-all-the-folder-content-endpoint branch July 18, 2024 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants