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

Duplicate of #117 #119

Merged
merged 4 commits into from
Mar 3, 2021
Merged

Conversation

kwajiehao
Copy link
Contributor

This PR is a duplicate of #117 since there was a rebasing error in that PR and staging was reset to the last working commit.

This commit adds a RootType to the Directory class so that we can
retrieve directories from the root of a repo.
This commit introduces a new GET `/:siteName/folders/all` endpoint
which:
1) gets the names of all collections/folders within the repo
2) gets the collection.yml directory config file for each collection
@kwajiehao kwajiehao requested a review from gweiying March 3, 2021 06:34
Copy link
Contributor

@gweiying gweiying left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kwajiehao kwajiehao merged commit b5e3e3b into staging Mar 3, 2021
@kwajiehao kwajiehao deleted the feat/get-all-collections-directories branch March 3, 2021 06:35
harishv7 pushed a commit that referenced this pull request Feb 17, 2023
* feat: add RootType Directory

This commit adds a RootType to the Directory class so that we can
retrieve directories from the root of a repo.

* feat: new endpoint for retrieving information on all folders

This commit introduces a new GET `/:siteName/folders/all` endpoint
which:
1) gets the names of all collections/folders within the repo
2) gets the collection.yml directory config file for each collection

* fix: remove _ before sending folder name

* fix: use read route handler wrapper

Co-authored-by: jiehao <[email protected]>
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.

3 participants