quality

Returns commit activity and lines-affected time series, with metric interpretations broken down by team and component.

get/api/projects/{project-id}/quality/commit-activity

Request

  • Base URL: https://codescene.io (the document declares no server; this is the origin it was published from)
  • URL: https://codescene.io/api/projects/{project-id}/quality/commit-activity
  • Auth: none declared

Path parameters

project-idinteger required

Query parameters

pageSizeinteger

Number of data points to return per page. Defaults to 100.

pageTokenstring

Opaque cursor returned as nextPageToken in a previous response. Resumes pagination from where the previous page ended. pageSize may differ from the original request.

sortstring

Sort results by a property. Format: property or property:asc / property:desc. Valid sort properties depend on the endpoint.

fromstring date
Example:2026-03-20

Include only data points on or after this date (inclusive). Format: YYYY-MM-DD.

tostring date
Example:2026-03-20

Include only data points on or before this date (inclusive). Format: YYYY-MM-DD.

Response

projectIdinteger required

The numeric ID of the project.

metricsstring[] required

List of metric names included in the series.

nextPageTokenstring

Opaque cursor for the next page. Absent on the last page or when all results fit in one page.

Example response

{
  "projectId": 123,
  "period": {
    "from": "2025-10-24",
    "to": "2026-08-04"
  },
  "metrics": [
    "commitsActivity",
    "linesAffected"
  ],
  "series": [
    {
      "date": "2025-10-24",
      "commitsActivity": 10,
      "linesAffected": 10
    }
  ],
  "context": {
    "commitsActivity": {
      "interpretation": {
        "direction": "steady",
        "pace": null
      },
      "points": 4,
      "delta": 2
    },
    "linesAffected": {
      "interpretation": {
        "direction": "steady",
        "pace": null
      },
      "points": 4,
      "delta": 80
    }
  },
  "teams": [
    {
      "teamName": "team_1",
      "series": [
        {
          "date": "2025-10-24",
          "commitsActivity": 10,
          "linesAffected": 10
        }
      ],
      "context": {
        "commitsActivity": {
          "interpretation": {
            "direction": "steady",
            "pace": null
          },
          "points": 4,
          "delta": 2
        },
        "linesAffected": {
          "interpretation": {
            "direction": "steady",
            "pace": null
          },
          "points": 4,
          "delta": 80
        }
      }
    }
  ],
  "components": [
    {
      "componentName": "component_1",
      "series": [
        {
          "date": "2025-10-24",
          "commitsActivity": 10,
          "linesAffected": 10
        }
      ],
      "context": {
        "commitsActivity": {
          "interpretation": {
            "direction": "steady",
            "pace": null
          },
          "points": 4,
          "delta": 2
        },
        "linesAffected": {
          "interpretation": {
            "direction": "steady",
            "pace": null
          },
          "points": 4,
          "delta": 80
        }
      }
    }
  ],
  "nextPageToken": "eyJwYWdlTmJyIjoxLCJwYWdlU2l6ZSI6NTB9"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.