Comments (3)
Which part needs enlightening?
from github4s.
The Organization API, the first function that consists of returning the members of the organization with their related contributions.
If I did understand, the getmembers should return the members of the organization with their associated number of contributions
When I use it, the returned User(..) consists of plenty of None value for the contribution fields. Therefore, the developer should use the repository API as well as the Organization API to get the needed data.
from github4s.
@muunaar That is correct. The GitHub API does not specify the contributions
field as something that can be returned from this endpoint, but it shares a lot of overlap so we are reusing a common case class. Not all of the fields will be populated by every API request so it might seem misleading from the usage point of the library, but it is consistent with the official API.
https://docs.github.com/en/rest/reference/orgs#list-organization-members
from github4s.
Related Issues (20)
- Default value for optional field HOT 6
- GithubApp Auth HOT 12
- Support creation of pull request reviews HOT 1
- Receive 422 response when searching Issues HOT 6
- Ignore the reviewers test HOT 1
- Remove Auth.newAuth as it has been discontinued
- Repository doesn't contain a parent HOT 1
- "/" not accepted in searchRepos 's query HOT 8
- Update codebase to cats-effect 3 HOT 3
- ScalaJS artifacts for Scala 2.13 and Scala 3 HOT 4
- Support for error "Moved Permanently" HOT 2
- patch field being String in FileComparison causing compareCommit to crash HOT 1
- GET /search/code supported? HOT 2
- Flaky tests
- patch field being String in FileComparison causing compareCommit to crash
- List followers of a user HOT 3
- Support for Scala Native
- Flaky test `Repos >> ListStatus`
- bad documentation URL in github enterprise HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github4s.