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

Enhancement: Retrieve default list in site #5856

Open
milanholemans opened this issue Feb 16, 2024 · 4 comments · May be fixed by #6447
Open

Enhancement: Retrieve default list in site #5856

milanholemans opened this issue Feb 16, 2024 · 4 comments · May be fixed by #6447

Comments

@milanholemans
Copy link
Contributor

Let's expand the command spo list get with the possibility to retrieve the default list in a site.
This means that options id, title, and url will no longer be required.

Example

m365 spo list get --webUrl https://contoso.sharepoint.com/sites/project-x

API request

GET https://contoso.sharepoint.com/sites/project-x/_api/web/DefaultDocumentLibrary

Personally, I would find it useful to expand RootFolder by default. This contains some useful information of the list (like server relative URL). Not everyone has knowledge of which properties are available to expand on a list object. Therefore I think it would make it a bit more user-friendly. Does anyone agree to expand this property by default or should we leave it this way?

@milanholemans milanholemans added enhancement needs peer review Needs second pair of eyes to review the spec or PR labels Feb 16, 2024
@Adam-it
Copy link
Member

Adam-it commented Jul 5, 2024

I say 'why not' 😉. Lets do that 👍

@Adam-it Adam-it added help wanted and removed needs peer review Needs second pair of eyes to review the spec or PR labels Jul 5, 2024
@Adam-it Adam-it added the hacktoberfest Issue perfect for hacktoberfest label Sep 24, 2024
@ktskumar
Copy link
Contributor

May I work on this!

@Jwaegebaert
Copy link
Contributor

Hey @ktskumar, thank you for all the hard work you’ve put in, it’s really appreciated! We’ve noticed that you have several issues assigned that haven't yet been created with a PR. To ensure everyone has a chance to get involved, especially with Hacktoberfest, I’ll be unassigning you from some of these issues.

We recommend focusing on 1 to 2 issues at a time. Once you’ve submitted a PR for an issue, you can easily claim another open one. This approach helps you manage the workload more effectively and ensures you can give each task the attention it needs.

Thanks again for your continued contributions!

@tmaestrini
Copy link

May I work on this? This would be my first code contribution to this project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment