8000 feat(api): Get all contents of a specific folder by dushimsam · Pull Request #2555 · fossology/fossology · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(api): Get all contents of a specific folder #2555

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

Merged
merged 2 commits into from
Oct 3, 2023

Conversation

dushimsam
Copy link
Contributor
@dushimsam dushimsam commented Jul 27, 2023

Description

Added the API to retrieve the get a list of removable contents in a folder.

Changes

  1. Added a new method in FolderController to build the functionality.
  2. Updated the main file(index.php) by adding a new route GET /folders/{id}/contents.
  3. Updated the openapi.yaml file to write the new API's documentation.

How to test

Make a GET request on the endpoint: /folders/{id}/contents.

Screenshots

image

Related Issue:

Fixes #2554

cc: @shaheemazmalmmd @GMishx

@github-actions
Copy link
github-actions bot commented Oct 3, 2023

This pull request has conflicts, please rebase with master to resolve those before we can evaluate the pull request.

dushimsam and others added 2 commits October 3, 2023 12:51
Signed-off-by: dushimsam <dushsam@gmail.com>
Signed-off-by: Gaurav Mishra <mishra.gaurav@siemens.com>
@GMishx GMishx force-pushed the get-folder-contents branch from 93256c4 to 5764e24 Compare October 3, 2023 07:34
@github-actions github-actions bot removed the has merge conflicts PR to be rebased label Oct 3, 2023
@GMishx GMishx merged commit cc5313d into fossology:master Oct 3, 2023
@GMishx GMishx deleted the get-folder-contents branch October 3, 2023 07:54
GMishx added a commit to siemens/fossology that referenced this pull request Oct 6, 2023
Ibrahim-Muhammad13 pushed a commit to Ibrahim-Muhammad13/fossology that referenced this pull request Feb 20, 2024
valens200 pushed a commit to valens200/fossology that referenced this pull request Aug 20, 2024
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.

Create Get Folder contents API
2 participants
0