You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 1, 2017. It is now read-only.
Copy file name to clipboardExpand all lines: content/changes/2015-07-22-more-flexible-options-for-listing-repositories.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,14 @@ created_at: 2015-07-22
5
5
author_name:jakeboxer
6
6
---
7
7
8
-
We're offering an improved way to filter the repositories returned by the[List your repositories][list-your-repos] API. We've added two newparametersthat supercedetheold`type` parameter:`visibility` and`affiliation`.
8
+
The[List your repositories][list-your-repos] API now offers additionalparametersto help you fetchtheexact set of repositories you're looking for:
9
9
10
-
The`visibility` parameter filters repositories by their visibility, while the`affiliation` parameter filters repositories by how they're affiliated with the authenticated user. They can be used separately, together, and in combination with other parameters to craft flexible queries that will fetch the exact repositories you're looking for.
10
+
- The`visibility` parameter lets you request only your public repositories, only your private repositories, or both.
11
+
- With the`affiliation` parameter, you can ask for repositories you own, repositories where you are a collaborator, repositories you have access to as an organization member, or any combination that suits your needs.
11
12
12
-
For full details, check out the[List your repositories API documentation][list-your-repos]. If you have any questions or feedback, please[get in touch with us][contact]!
13
+
Use these new parameters separately, together, or in combination with other parameters to craft flexible queries that fetch the specific repositories you're seeking.
14
+
15
+
For full details, check out the[documentation][list-your-repos]. If you have any questions, please[get in touch][contact]!