CollectOSS REST API

CollectOSS (pronounced "collect us") is the CHAOSS reference data collection and storage tool for open source community health. It harvests data from GitHub and GitLab forges into a PostgreSQL schema and exposes a Flask/Gunicorn REST API of 137 operations that return CHAOSS-aligned metrics grouped by the CHAOSS focus areas — evolution, risk, value, complexity, experimental — plus utility, visualization, DEI Badging and OAuth login endpoints. It is the successor to Augur, which left the CHAOSS project in March 2026; CollectOSS is self-hosted, so each deployment serves the API from its own host under /api/unstable/.

Operations 137

GET /repo-groups #
GET /repos #
GET /repos/:id #
GET /owner/:owner/repo/:repo #
GET /rg-name/:rg_name/repo-name/:repo_name #
GET /rg-name/:rg_name #
GET /repo-groups/:repo_group_id/repos #
GET /repo-groups/:repo_group_id/top-insights #
GET /metadata/repo_info #
GET /metadata/contributions_count #
GET /metadata/contributors_count #
GET /repo-groups/:repo_group_id/average-issue-resolution-time #
GET /repos/:repo_id/average-issue-resolution-time #
GET /repo-groups/:repo_group_id/cii-best-practices-badge #
GET /repos/:repo_id/cii-best-practices-badge #
GET /repo-groups/:repo_group_id/committers #
GET /repos/:repo_id/committers #
GET /repo-groups/:repo_group_id/fork-count #
GET /repos/:repo_id/fork-count #
GET /repo-groups/:repo_group_id/forks #
GET /repos/:repo_id/forks #
GET /repo-groups/:repo_group_id/license-coverage #
GET /repos/:repo_id/license-coverage #
GET /repo-groups/:repo_group_id/license-declared #
GET /repos/:repo_id/license-declared #
GET /repo-groups/:repo_group_id/languages #
GET /repo-groups/:repo_id/languages #
GET /repo-groups/:repo_group_id/license-count #
GET /repo-groups/:repo_id/license-count #
GET /repo-groups/:repo_group_id/aggregate-summary #
GET /repos/:repo_id/aggregate-summary #
GET /repo-groups/:repo_group_id/annual-commit-count-ranked-by-new-repo-in-repo-group #
GET /repo-groups/:repo_id/annual-commit-count-ranked-by-new-repo-in-repo-group #
GET /repo-groups/:repo_group_id/annual-commit-count-ranked-by-repo-in-repo-group #
GET /repo-groups/:repo_id/annual-commit-count-ranked-by-repo-in-repo-group #
GET /repo-groups/:repo_group_id/annual-lines-of-code-count-ranked-by-new-repo-in-repo-group #
GET /repo-groups/:repo_id/annual-lines-of-code-count-ranked-by-new-repo-in-repo-group #
GET /repo-groups/:repo_group_id/annual-lines-of-code-count-ranked-by-repo-in-repo-group #
GET /repo-groups/:repo_id/annual-lines-of-code-count-ranked-by-repo-in-repo-group #
GET /repo-groups/:repo_group_id/issue-comments-mean #
GET /repos/:repo_id/issue-comments-mean #
GET /repo-groups/:repo_group_id/issue-comments-mean-std #
GET /repos/:repo_id/issue-comments-mean-std #
GET /repo-groups/:repo_group_id/pull-request-acceptance-rate #
GET /repos/:repo_id/pull-request-acceptance-rate #
GET /repo-groups/:repo_group_id/pull-requests-new #
GET /repo-groups/:repo_id/pull-requests-new #
GET /repo-groups/:repo_group_id/pull-requests-closed-no-merge #
GET /repos/:repo_id/pull-requests-closed-no-merge #
GET /repo-groups/:repo_group_id/top-committers #
GET /repos/:repo_id/top-committers #
GET /repo-groups/:repo_group_id/abandoned-issues #
GET /repo-groups/:repo_id/abandoned-issues #
GET /repo-groups/:repo_group_id/lines-changed-by-author #
GET /repo-groups/:repo_id/lines-changed-by-author #
GET /repo-groups/:repo_group_id/code-changes #
GET /repos/:repo_id/code-changes #
GET /repo-groups/:repo_group_id/code-changes-lines #
GET /repos/:repo_id/code-changes-lines #
GET /repo-groups/:repo_group_id/contributors #
GET /repos/:repo_id/contributors #
GET /repo-groups/:repo_group_id/contributors-new #
GET /repos/:repo_id/contributors-new #
GET /repo-groups/:repo_group_id/issue-backlog #
GET /repos/:repo_id/issue-backlog #
GET /repo-groups/:repo_group_id/issue-participants #
GET /repos/:repo_id/issue-participants #
GET /repo-groups/:repo_group_id/issue-throughput #
GET /repos/:repo_id/issue-throughput #
GET /repo-groups/:repo_group_id/issues-active #
GET /repos/:repo_id/issues-active #
GET /repo-groups/:repo_group_id/issues-closed #
GET /repos/:repo_id/issues-closed #
GET /repo-groups/:repo_group_id/issues-closed-resolution-duration #
GET /repos/:repo_id/issues-closed-resolution-duration #
GET /repo-groups/:repo_group_id/issues-first-time-closed #
GET /repos/:repo_id/issues-first-time-closed #
GET /repo-groups/:repo_group_id/issues-first-time-opened #
GET /repos/:repo_id/issues-first-time-opened #
GET /repo-groups/:repo_group_id/issues-maintainer-response-duration #
GET /repos/:repo_id/issues-maintainer-response-duration #
GET /repo-groups/:repo_group_id/issues-new #
GET /repos/:repo_id/issues-new #
GET /repo-groups/:repo_group_id/issues-open-age #
GET /repos/:repo_id/issues-open-age #
GET /repo-groups/:repo_group_id/pull-requests-merge-contributor-new #
GET /repos/:repo_id/pull-requests-merge-contributor-new #
GET /repo-groups/:repo_group_id/review-duration #
GET /repos/:repo_id/review-duration #
GET /repo-groups/:repo_group_id/reviews #
GET /repos/:repo_id/reviews #
GET /repo-groups/:repo_group_id/reviews-accepted #
GET /repos/:repo_id/reviews-accepted #
GET /repo-groups/:repo_group_id/reviews-declined #
GET /repos/:repo_id/reviews-declined #
GET /repo-groups/:repo_group_id/sub-projects #
GET /repos/:repo_id/sub-projects #
GET /repo-groups/:repo_group_id/closed-issues-count #
GET /repos/:repo_id/closed-issues-count #
GET /repo-groups/:repo_group_id/issue-duration #
GET /repo-groups/:repo_id/issue-duration #
GET /repos/:repo_group_id/releases #
GET /repos/:repo_id/releases #
GET /repo-groups/:repo_group_id/open-issues-count #
GET /repo-groups/:repo_id/open-issues-count #
GET /repo-groups/:repo_group_id/watchers #
GET /repos/:repo_id/watchers #
GET /repo-groups/:repo_group_id/watchers-count #
GET /repos/:repo_id/watchers-count #
GET /repo-groups/:repo_group_id/stars #
GET /repos/:repo_id/stars #
GET /repo-groups/:repo_group_id/stars-count #
GET /repos/:repo_id/stars-count #
GET /contributor_reports/new_contributors_bar/ #
GET /contributor_reports/new_contributors_stacked_bar/ #
GET /contributor_reports/returning_contributors_pie_chart/ #
GET /contributor_reports/returning_contributors_stacked_bar/ #
GET /pull_request_reports/average_commits_per_PR/ #
GET /pull_request_reports/average_comments_per_PR/ #
GET /pull_request_reports/PR_counts_by_merged_status/ #
GET /pull_request_reports/mean_response_times_for_PR/ #
GET /pull_request_reports/mean_days_between_PR_comments/ #
GET /pull_request_reports/PR_time_to_first_response/ #
GET /pull_request_reports/average_PR_events_for_closed_PRs/ #
GET /pull_request_reports/Average_PR_duration/ #
GET /complexity/project_lines #
GET /complexity/project_file_complexity #
GET /complexity/project_blank_lines #
GET /complexity/project_comment_lines #
GET /complexity/project_files #
GET /complexity/project_languages #
GET /repo-groups/:repo_group_id/repo-messages #
GET /repos/:repo_id/repo-messages #
POST /user/session/generate #
POST /user/session/refresh #
POST /dei/repo/add #
POST /dei/report #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/collectoss-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

chaoss-collectoss-openapi.yml Raw ↑
#SPDX-License-Identifier: MIT
basePath: /api/unstable/
externalDocs:
  description: CHAOSS Metric Definitions
  url: https://chaoss.community/kb-metrics-and-metrics-models/
host: example.com
info:
  title: CollectOSS REST API
  version: 0.60.0
openapi: 3.1.0
paths:
  #utility endpoints
  /repo-groups:
    get:
      description: Get all the downloaded repo groups.
      operationId: Get All Repo Groups
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                data_collection_date:
                  description: "Example: 2019-06-05T13:36:25.000Z"
                  type: string
                data_source:
                  description: "Example: git"
                  type: string
                repo_group_id:
                  description: "Example: 20"
                  type: integer
                rg_description:
                  description: "Example: Rails Ecosystem."
                  type: string
                rg_last_modified:
                  description: "Example: 2019-06-03T15:55:20.000Z"
                  type: string
                rg_name:
                  description: "Example: Rails"
                  type: string
                rg_recache:
                  description: "Example: 0"
                  type: integer
                rg_type:
                  description: "Example: GitHub Organization"
                  type: string
                rg_website:
                  description: "Example: "
                  type: string
                tool_source:
                  description: "Example: load"
                  type: string
                tool_version:
                  description: "Example: one"
                  type: string
            type: array
      tags:
        - utility
  /repos:
    get:
      description: Get all the downloaded repos.
      operationId: Get All Repos
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                base64_url:
                  description: "Example: Z2l0aHViLmNvbS9hcGFjaGUvaW5jdWJhdG9yLWFyZ3VzLmdpdA=="
                  type: string
                commits_all_time:
                  description: "Example: None"
                  type: string
                description:
                  description: "Example: None"
                  type: string
                issues_all_time:
                  description: "Example: None"
                  type: string
                repo_id:
                  description: "Example: 21996"
                  type: integer
                repo_name:
                  description: "Example: incubator-argus"
                  type: string
                repo_status:
                  description: "Example: Update"
                  type: string
                rg_name:
                  description: "Example: Apache"
                  type: string
                url:
                  description: "Example: github.com/apache/incubator-argus.git"
                  type: string
            type: array
      tags:
        - utility
  /repos/:id:
    get:
      description: Get a downloaded repo by its ID in CollectOSS. The schema block
        below says it is an array, but it is not.
      operationId: Get Repo By ID
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                base64_url:
                  description: "Base64 encode of the full URL. Example
                    Z2l0aHViLmNvbS8zc2NhbGUvM3NjYWxlLW9wZXJhdG9yLW1ldGFkYXRh"
                  type: string
                description:
                  description: "Repository description. Example: null"
                  type: string
                commits_all_time:
                  description: "How many commits have been made to this repository? Example: 24"
                  type: integer
                issues_all_time:
                  description: "How many issues have been raised on this repository? Example: 1"
                  type: integer
                pull_requests_all_time:
                  description: "How many pull requests have been made to this repository? Example:
                    7"
                  type: integer
                repo_id:
                  description: "Repository ID, should match provided URL parameter. Example:
                    25551"
                  type: integer
                repo_name:
                  description: "Name of the provided repository. Example:
                    3scale-operator-metadata"
                  type: string
                rg_name:
                  description: "Name of the repository group containing this repo. Example:
                    3scale"
                  type: string
                repo_group_id:
                  description: "ID of the repository group containing this repo. Example: 25431"
                  type: integer
                url:
                  description: "URL of this repository, sans leading protocol. Example:
                    github.com/3scale/3scale-operator-metadata"
                  type: string
            type: array
      tags:
        - utility
  /owner/:owner/repo/:repo:
    get:
      description: Get the repo_group_id and repo_id of a particular repo.
      operationId: Get Repo by Owner and Repo Name
      parameters:
        - description: Repo Owner
          in: path
          name: owner
          schema:
            type: string
          type: string
        - description: Repo Name
          in: path
          name: repo
          schema:
            type: string
          type: string
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                repo_group_id:
                  description: "Example: 23"
                  type: integer
                repo_id:
                  description: "Example: 21339"
                  type: integer
            type: array
      tags:
        - utility
  /rg-name/:rg_name/repo-name/:repo_name:
    get:
      description: Get the repo_group_id and repo_id of a particular repo.
      operationId: Get Repo by Repo Group Name and Repo Name
      parameters:
        - description: Repo Group Name
          in: path
          name: rg_name
          schema:
            type: string
          type: string
        - description: Repo Name
          in: path
          name: repo_name
          schema:
            type: string
          type: string
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                repo_git:
                  description: "Example: https://github.com/rails/rails.git"
                  type: string
                repo_group_id:
                  description: "Example: 20"
                  type: integer
                repo_id:
                  description: "Example: 21000"
                  type: integer
            type: array
      tags:
        - utility
  /rg-name/:rg_name:
    get:
      description: Get the repo_id of a particular repo group.
      operationId: Get Repo by Repo Name
      parameters:
        - description: Repo Group Name
          in: path
          name: rg_name
          schema:
            type: string
          type: string
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                repo_group_id:
                  description: "Example: 20"
                  type: integer
                rg_name:
                  description: "Example: Rails"
                  type: string
            type: array
      tags:
        - utility
  /repo-groups/:repo_group_id/repos:
    get:
      description: Get all the repos in a repo group.
      operationId: Get Repos in Repo Group
      parameters:
        - description: Repository Group ID
          in: path
          name: repo_group_id
          schema:
            type: string
          type: string
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                commits_all_time:
                  description: "Example: 6874"
                  type: integer
                description:
                  description: "Example: None"
                  type: string
                issues_all_time:
                  description: "Example: 81"
                  type: integer
                repo_id:
                  description: "Example: 21326"
                  type: integer
                repo_name:
                  description: "Example: graphql-js"
                  type: string
                repo_status:
                  description: "Example: Complete"
                  type: string
                url:
                  description: "Example: https://github.com/graphql/graphql-js.git"
                  type: string
            type: array
      tags:
        - utility
  /repo-groups/:repo_group_id/top-insights:
    get:
      description: Get all the downloaded repo groups.
      operationId: Get Top Insights
      parameters:
        - description: Repository Group ID
          in: path
          name: repo_group_id
          schema:
            type: string
          type: string
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                data_collection_date:
                  description: "Example: 2019-06-05T13:36:25.000Z"
                  type: string
                data_source:
                  description: "Example: git"
                  type: string
                repo_group_id:
                  description: "Example: 20"
                  type: integer
                rg_description:
                  description: "Example: Rails Ecosystem."
                  type: string
                rg_last_modified:
                  description: "Example: 2019-06-03T15:55:20.000Z"
                  type: string
                rg_name:
                  description: "Example: Rails"
                  type: string
                rg_recache:
                  description: "Example: 0"
                  type: integer
                rg_type:
                  description: "Example: GitHub Organization"
                  type: string
                rg_website:
                  description: "Example: "
                  type: string
                tool_source:
                  description: "Example: load"
                  type: string
                tool_version:
                  description: "Example: one"
                  type: string
            type: array
      tags:
        - utility
  #risk endpoints
  /metadata/repo_info:
    get:
      description: "Returns the metadata about all repositories in a CollectOSS
        instance, using information from a git platform (GitHub, GitLab, etc.).
        Each record includes the default branch, forks, stars, watchers, and
        committers. Also includes metadata about current repository issue and
        pull request status and counts."
      operationId: Activity Metadata (Repo)
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                repo_git:
                  description: "Example: https://github.com/chaoss/collectoss"
                  type: string
                repo_name:
                  description: "Example: collectoss"
                  type: string
                repo_id:
                  description: "Example: 25540"
                  type: integer
                default_branch:
                  description: "Example: Main"
                  type: string
                license:
                  description: "Example: MIT"
                  type: string
                fork_count:
                  description: "Example: 554"
                  type: integer
                watchers_count:
                  description: "Example: 424"
                  type: integer
                stars_count:
                  description: "Example: 443"
                  type: integer
                commits_count:
                  description: "4434"
                  type: integer
                committers_count:
                  description: "Example: 42"
                  type: integer
                open_issues:
                  description: "Example: 7"
                  type: integer
                issues_count:
                  description: "Example: 23332"
                  type: integer
                issues_closed:
                  description: "Example: 23322"
                  type: integer
                pull_request_count:
                  description: "Example: 19445"
                  type: integer
                pull_requests_open:
                  description: "Example: 10"
                  type: integer
                pull_requests_closed:
                  description: "Example: 19435"
                  type: integer
                pull_requests_merged:
                  description: "Example: 17473"
                  type: integer
            type: array
      tags:
        - risk
  /metadata/contributions_count:
    get:
      description: "Returns a list of repositories contributed to by all the
        contributors in a CollectOSS Instance: INCLUDING all repositories on a
        platform, *not* merely those repositories in the CollectOSS Instance.
        Numerical totals represent total CONTRIBUTIONS."
      externalDocs:
        description: CHAOSS Metric Definition
        url: https://chaoss.community/kb/metric-contributors/
      operationId: Contributions Count (Repo)
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                repo_git:
                  description: "Example: https://github.com/chaoss/collectoss"
                  type: string
                contributions:
                  description: "Example: 43301"
                  type: integer
            type: array
      tags:
        - risk
  /metadata/contributors_count:
    get:
      description: "Returns a list of repositories contributed to by all the
        contributors in a CollectOSS Instance: INCLUDING all repositories on a
        platform, *not* merely those repositories in the CollectOSS Instance.
        Numerical totals represent total CONTRIBUTORS."
      externalDocs:
        description: CHAOSS Metric Definition
        url: https://chaoss.community/kb/metric-contributors/
      operationId: Contributors Count (Repo)
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                repo_git:
                  description: "Example: https://github.com/chaoss/collectoss"
                  type: string
                contributors:
                  description: "Example: 77"
                  type: integer
            type: array
      tags:
        - risk
  /repo-groups/:repo_group_id/average-issue-resolution-time:
    get:
      description: "The average issue resolution time. "
      externalDocs:
        description: CHAOSS Metric Definition
        url: https://chaoss.community/kb/metric-issue-resolution-duration/
      operationId: Average Issue Resolution Time (Repo Group)
      parameters:
        - description: Repository Group ID
          in: path
          name: repo_group_id
          schema:
            type: string
          type: string
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                avg_issue_resolution_time:
                  description: "Example: 1413 days 15:39:48"
                  type: string
                repo_id:
                  description: "Example: 21353"
                  type: integer
                repo_name:
                  description: "Example: open_id_authentication"
                  type: string
            type: array
      tags:
        - risk
  /repos/:repo_id/average-issue-resolution-time:
    get:
      description: "The average issue resolution time. "
      externalDocs:
        description: CHAOSS Metric Definition
        url: https://chaoss.community/kb/metric-issue-resolution-duration/
      operationId: Average Issue Resolution Time (Repo)
      parameters:
        - description: Repository ID.
          in: path
          name: repo_id
          schema:
            type: string
          type: string
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                avg_issue_resolution_time:
                  description: "Example: 276 days 13:54:13.2"
                  type: string
                repo_name:
                  description: "Example: maven-release"
                  type: string
            type: array
      tags:
        - risk
  /repo-groups/:repo_group_id/cii-best-practices-badge:
    get:
      description: "The CII Best Practices Badge level. "
      externalDocs:
        description: CHAOSS Metric Definition
        url: https://chaoss.community/kb/metric-open-source-security-foundation-openssf-best-practices-badge/
      operationId: CII Best Practices Badge (Repo Group)
      parameters:
        - description: Repository Group ID
          in: path
          name: repo_group_id
          schema:
            type: string
          type: string
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                badge_level:
                  description: "Example: in_progress"
                  type: string
                repo_id:
                  description: "Example: 21252"
                  type: integer
                repo_name:
                  description: "Example: php-legal-licenses"
                  type: string
            type: array
      tags:
        - risk
  /repos/:repo_id/cii-best-practices-badge:
    get:
      description: "The CII Best Practices Badge level. "
      externalDocs:
        description: CHAOSS Metric Definition
        url: https://chaoss.community/kb/metric-open-source-security-foundation-openssf-best-practices-badge/
      operationId: CII Best Practices Badge (Repo)
      parameters:
        - description: Repository ID.
          in: path
          name: repo_id
          schema:
            type: string
          type: string
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                badge_level:
                  description: "Example: passing"
                  type: string
                repo_name:
                  description: "Example: trickster"
                  type: string
            type: array
      tags:
        - risk
  /repo-groups/:repo_group_id/committers:
    get:
      description: "Number of persons opening an issue for the first time. "
      externalDocs:
        description: CHAOSS Metric Definition
        url: https://chaoss.community/kb/metric-committers/
      operationId: Committers (Repo Group)
      parameters:
        - description: Repository Group ID
          in: path
          name: repo_group_id
          schema:
            type: string
          type: string
        - description: Periodicity specification.
          in: path
          name: period
          schema:
            type: string
          type: string
        - description: "Beginning date specification. E.g. values: 2018, 2018-05,
            2019-05-01"
          in: path
          name: begin_date
          schema:
            type: string
          type: string
        - description: "Ending date specification. E.g. values: 2018, 2018-05, 2019-05-01"
          in: path
          name: end_date
          schema:
            type: string
          type: string
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                count:
                  description: "Example: 372"
                  type: integer
                date:
                  description: "Example: 2007-01-01T00:00:00.000Z"
                  type: string
                rg_name:
                  description: "Example: Comcast"
                  type: string
            type: array
      tags:
        - risk
  /repos/:repo_id/committers:
    get:
      description: "Number of persons contributing with an accepted commit for the
        first time."
      externalDocs:
        description: CHAOSS Metric Definition
        url: https://chaoss.community/kb/metric-committers/
      operationId: Committers (Repo)
      parameters:
        - description: Repository ID.
          in: path
          name: repo_id
          schema:
            type: string
          type: string
        - description: Periodicity specification.
          in: path
          name: period
          schema:
            type: string
          type: string
        - description: "Beginning date specification. E.g. values: 2018, 2018-05,
            2019-05-01"
          in: path
          name: begin_date
          schema:
            type: string
          type: string
        - description: "Ending date specification. E.g. values: 2018, 2018-05, 2019-05-01"
          in: path
          name: end_date
          schema:
            type: string
          type: string
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                count:
                  description: "Example: 1"
                  type: integer
                date:
                  description: "Example: 2018-10-25T00:00:00.000Z"
                  type: string
                repo_name:
                  description: "Example: weasel"
                  type: string
                rg_name:
                  description: "Example: Comcast"
                  type: string
            type: array
      tags:
        - risk
  /repo-groups/:repo_group_id/fork-count:
    get:
      description: "A technical fork is a distributed version control copy of a
        project. The number of technical forks indicates the number of copies of
        a project on the same code development platform."
      externalDocs:
        description: CHAOSS Metric Definition
        url: https://chaoss.community/kb/metric-technical-fork/
      operationId: Fork Count (Repo Group)
      parameters:
        - description: Repository Group ID
          in: path
          name: repo_group_id
          schema:
            type: string
          type: string
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                forks:
                  description: "Example: 4"
                  type: integer
                repo_id:
                  description: "Example: 21364"
                  type: integer
                repo_name:
                  description: "Example: irs_process_scripts"
                  type: string
            type: array
      tags:
        - risk
  /repos/:repo_id/fork-count:
    get:
      description: "A technical fork is a distributed version control copy of a
        project. The number of technical forks indicates the number of copies of
        a project on the same code development platform."
      externalDocs:
        description: CHAOSS Metric Definition
        url: https://chaoss.community/kb/metric-technical-fork/
      operationId: Fork Count (Repo)
      parameters:
        - description: Repository ID.
          in: path
          name: repo_id
          schema:
            type: string
          type: string
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                forks:
                  description: "Example: 844"
                  type: integer
                repo_name:
                  description: "Example: graphiql"
                  type: string
            type: array
      tags:
        - risk
  /repo-groups/:repo_group_id/forks:
    get:
      description: "A time series of fork count. "
      externalDocs:
        description: CHAOSS Metric Definition
        url: https://chaoss.community/kb/metric-technical-fork/
      operationId: Forks (Repo Group)
      parameters:
        - description: Repository Group ID
          in: path
          name: repo_group_id
          schema:
            type: string
          type: string
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                date:
                  description: "Example: 2019-07-03T23:26:42.000Z"
                  type: string
                forks:
                  description: "Example: 519"
                  type: integer
                repo_id:
                  description: "Example: 21036"
                  type: integer
                repo_name:
                  description: "Example: jquery-ujs"
                  type: string
            type: array
      tags:
        - risk
  /repos/:repo_id/forks:
    get:
      description: "A time series of fork count. "
      externalDocs:
        description: CHAOSS Metric Definition
        url: https://chaoss.community/kb/metric-technical-fork/
      operationId: Forks (Repo)
      parameters:
        - description: Repository ID.
          in: path
          name: repo_id
          schema:
            type: string
          type: string
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                date:
                  description: "Example: 2019-07-03T23:27:42.000Z"
                  type: string
                forks:
                  description: "Example: 843"
                  type: integer
                repo_name:
                  description: "Example: graphiql"
                  type: string
            type: array
      tags:
        - risk
  /repo-groups/:repo_group_id/license-coverage:
    get:
      description: "How much of the code base has declared licenses that scanners can
        recognize which may not be just OSI-approved. This includes both
        software and documentation source files and is represented as a
        percentage of total coverage."
      externalDocs:
        description: CHAOSS Metric Definition
        url: https://chaoss.community/kb/metric-license-coverage/
      operationId: License Coverage (Repo Group)
      parameters:
        - description: Repository Group ID
          in: path
          name: repo_group_id
          schema:
            type: string
          type: string
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                coverage:
                  description: "Example: 0.373"
                  type: string
                license_declared_files:
                  description: "Example: 19"
                  type: integer
                name:
                  description: "Example: ActorServiceRegistry"
                  type: string
                total_files:
                  description: "Example: 51"
                  type: integer
            type: array
      tags:
        - risk
  /repos/:repo_id/license-coverage:
    get:
      description: "How much of the code base has declared licenses that scanners can
        recognize which may not be just OSI-approved. This includes both
        software and documentation source files and is represented as a
        percentage of total coverage."
      externalDocs:
        description: CHAOSS Metric Definition
        url: https://chaoss.community/kb/metric-license-coverage/
      operationId: License Coverage (Repo)
      parameters:
        - description: Repository ID.
          in: path
          name: repo_id
          schema:
            type: string
          type: string
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                coverage:
                  description: "Example: 0.347"
                  type: string
                license_declared_file:
                  description: "Example: 33"
                  type: integer
                repo_name:
                  description: "Example: zucchini"
                  type: string
                total_files:
                  description: "Example: 95"
                  type: integer
            type: array
      tags:
        - risk
  /repo-groups/:repo_group_id/license-declared:
    get:
      description: "The total number and specific licenses declared in a software
        package. This can include both software and documentation source files.
        This metric is an enumeration of licenses, and the number of files with
        that particular license declaration."
      externalDocs:
        description: CHAOSS Metric Definition
        url: https://chaoss.community/kb/metric-licenses-declared/
      operationId: License Declared (Repo Group)
      parameters:
        - description: Repository Group ID
          in: path
          name: repo_group_id
          schema:
            type: string
          type: string
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                name:
                  description: "Example: trickster"
                  type: string
                note:
                  description: "Example: "
                  type: string
                short_name:
                  description: "Example: Apache-2.0"
                  type: string
            type: array
      tags:
        - risk
  /repos/:repo_id/license-declared:
    get:
      description: "The total number and specific licenses declared in a software
        package. This can include both software and documentation source files.
        This metric is an enumeration of licenses, and the number of files with
        that particular license declaration."
      externalDocs:
        description: CHAOSS Metric Definition
        url: https://chaoss.community/kb/metric-licenses-declared/
      operationId: License Declared (Repo)
      parameters:
        - description: Repository ID.
          in: path
          name: repo_id
          schema:
            type: string
          type: string
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                name:
                  description: "Example: trickster"
                  type: string
                note:
                  description: "Example: "
                  type: string
                short_name:
                  description: "Example: Apache-2.0"
                  type: string
            type: array
      tags:
        - risk
  /repo-groups/:repo_group_id/languages:
    get:
      description: "The primary language of the repository. "
      externalDocs:
        description: CHAOSS Metric Definition
        url: https://chaoss.community/kb/metric-programming-language-distribution/
      operationId: Languages (Repo Group)
      parameters:
        - description: Repository Group ID
          in: path
          name: repo_group_id
          schema:
            type: string
          type: string
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                primary_language:
                  description: "Example: Go"
                  type: string
                repo_id:
                  description: "Example: 21277"
                  type: integer
            type: array
      tags:
        - risk
  /repo-groups/:repo_id/languages:
    get:
      description: "The primary language of the repository. "
      externalDocs:
        description: CHAOSS Metric Definition
        url: https://chaoss.community/kb/metric-programming-language-distribution/
      operationId: Languages (Repo)
      parameters:
        - description: Repository ID.
          in: path
          name: repo_id
          schema:
            type: string
          type: string
      responses:
        "200":
          description: OK
          schema:
            items:
              properties:
                primary_language:
                  description: "Example:

# --- truncated at 32 KB (183 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/chaoss/refs/heads/main/openapi/chaoss-collectoss-openapi.yml