Skip to content

Commit b1fe048

Browse files
authored
GitHub moved some of the REST API documentation. (#404)
Fixes two GitHub documentation links in the Repository Activity Score pattern.
1 parent c9dccda commit b1fe048

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patterns/2-structured/repository-activity-score.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The repository activity score is a numeric value that represents the (GitHub) ac
4646
In addition, it considers activity parameters like last update and creation date of the repo to give young projects with a lot of traction a boost.
4747
Projects with contributing guidelines, active participation stats, and issues (public backlog) receive a higher ranking as well.
4848

49-
All of this can be fetched and calculated automatically using the result set of the [GitHub search API](https://developer.github.com/v3/search/#search-repositories) and [GitHub statistics API](https://developer.github.com/v3/repos/statistics/). Other code versioning systems like BitBucket, Gitlab, Gerrit can be integrated as well if a similar API is available.
49+
All of this can be fetched and calculated automatically using the result set of the [GitHub search API](https://docs.github.com/en/rest/reference/search#search-repositories) and [GitHub statistics API](https://docs.github.com/en/rest/reference/metrics#statistics). Other code versioning systems like BitBucket, Gitlab, Gerrit can be integrated as well if a similar API is available.
5050

5151
The code below assumes the variable `repo` contains an entity fetched from the GitHub `search` API and the `participation` object contains an entity from the GitHub `stats/participation` API.
5252

0 commit comments

Comments
 (0)