Skip to content

Commit 58aa5cb

Browse files
author
Peter Degen-Portnoy
committed
Merge pull request #30 from blackducksw/OTWO_3159
OTWO-3159 Updates documentation on the Organization detailed views api
2 parents 15a4562 + 4e30b20 commit 58aa5cb

File tree

5 files changed

+124
-1
lines changed

5 files changed

+124
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Send bug reports to info@openhub.net.
2020
- [Account](reference/account.md)
2121
- [Account News](reference/news.md)
2222
- [ActivityFact](reference/activity_fact.md)
23+
- [AffiliatedCommitters](reference/affiliated_committers.md)
2324
- [Analysis](reference/analysis.md)
2425
- [ContributorFact](reference/contributor_fact.md)
2526
- [ContributorLanguageFact](reference/contributor_language_fact.md)
@@ -29,7 +30,10 @@ Send bug reports to info@openhub.net.
2930
- [KudoScore](reference/kudo_score.md)
3031
- [Language](reference/language.md)
3132
- [Message](reference/message.md)
32-
- [Organization](reference/organization.md)
33+
- [Organization](reference/organization.md)
34+
- [OutsideCommitters](reference/outside_committers.md)
35+
- [OutsideProjects](reference/outside_projects.md)
36+
- [PortfolioProjects](reference/portfolio_projects.md)
3337
- [Position](reference/position.md)
3438
- [Project](reference/project.md)
3539
- [Repository](reference/repository.md)

reference/affiliated_committers.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
##Affiliated Committers
2+
People that are part of an organization and commit to its projects
3+
4+
5+
### Properties
6+
7+
+ __affiliator__
8+
+ __name__ Name of the user account
9+
+ __kudos__ Kudos obtained by the user account
10+
+ __level__ Level of the user account
11+
+ __most_commits__
12+
+ __project__ Name of the project to which the committer has made most commits to
13+
+ __commits__ No of commits made to the most committed project
14+
+ __most_recent_commit__
15+
+ __project__ Name of the project last to committed by the affiliator
16+
+ __date__ Date of the last commit
17+
+ __detailed_page_url__ This page's relative url
18+
19+
20+
### URL
21+
22+
```shell
23+
https://www.openhub.net/orgs/{org_name}/affiliated_committers.xml?api_key={api_key}&page={number}
24+
```
25+
26+
#### Example
27+
28+
```ruby
29+
https://www.openhub.net/orgs/mozilla/affiliated_committers.xml?api_key=some_example_api_key&page=2
30+
```

reference/outside_committers.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
##Outside Committers
2+
People that are not part of an organization but commit to its projects
3+
4+
5+
### Properties
6+
7+
+ __contributor__
8+
+ __name__ Name of the user account
9+
+ __kudos__ Kudos obtained by the user account
10+
+ __level__ Level of the user account
11+
+ __affiliated_with__ Organization to which the user is affiliated to
12+
+ __contributions_to_portfolio_projects__
13+
+ __projects__ Names of the portfolio projects to which the contributor commits to
14+
+ __twelve_mo_commits__ Commits made by the contributor to portfolio projects in the last 12 months
15+
+ __detailed_page_url__ This page's relative url
16+
17+
18+
### URL
19+
20+
```shell
21+
https://www.openhub.net/orgs/{org_name}/outside_committers.xml?api_key={api_key}&page={number}
22+
```
23+
24+
#### Example
25+
26+
```ruby
27+
https://www.openhub.net/orgs/mozilla/outside_committers.xml?api_key=some_example_api_key&page=2
28+
```

reference/outside_projects.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
##Outside Projects
2+
Projects that are not part of an organization but are commtted to by its members
3+
4+
5+
### Properties
6+
7+
+ __project__
8+
+ __name__ Name of the project
9+
+ __activity__ Project's activity level like low, high etc..
10+
+ __primary_language__ The primary language in which the projects repos have code in
11+
+ __i_use_this__ Number of people who mark that they use this
12+
+ __community_rating__ Average rating of the project as rated by openhub users
13+
+ __affiliates_contributing__ No of people that belong to the organization that commit to outside projects
14+
+ __commits_by_current_affiliates__ No of commits made by the organization people to outside projects
15+
+ __detailed_page_url__ This page's relative url
16+
17+
18+
### URL
19+
20+
```shell
21+
https://www.openhub.net/orgs/{org_name}/outside_projects.xml?api_key={api_key}&page={number}
22+
```
23+
24+
#### Example
25+
26+
```ruby
27+
https://www.openhub.net/orgs/mozilla/outside_projects.xml?api_key=some_example_api_key&page=2
28+
```

reference/portfolio_projects.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
##Portfolio Projects
2+
Projects that belong to a specific organization
3+
4+
5+
### Properties
6+
7+
+ __project__
8+
+ __name__ Name of the project
9+
+ __activity__ Project's activity level like low, high etc..
10+
+ __primary_language__ The primary language in which the projects repos have code in
11+
+ __i_use_this__ Number of people who mark that they use this
12+
+ __community_rating__ Average rating of the project as rated by openhub users
13+
+ __twelve_mo_activity_and_year_on_year_change__ Last 12 months activity compared with previous 12 months activity
14+
+ __commits__ No of commits in the last 12 months
15+
+ __change_in_commits__ Diff between no of commits in this 12 months and the previous 12 months before that
16+
+ __percentage_change_in_commits__ % measure of change in commits
17+
+ __contributors__ No of contributors in the last 12 months
18+
+ __change_in_contributors__ Diff between no of committers in this 12 months and the previous 12 months before that
19+
+ __percentage_change_in_committers__ % measure of change in contributors
20+
+ __detailed_page_url__ This page's relative url
21+
22+
23+
### URL
24+
25+
```shell
26+
https://www.openhub.net/orgs/{org_name}/projects.xml?api_key={api_key}&page={number}
27+
```
28+
29+
#### Example
30+
31+
```ruby
32+
https://www.openhub.net/orgs/mozilla/projects.xml?api_key=some_example_api_key&page=2
33+
```

0 commit comments

Comments
 (0)