From 1d491bdc217cc3e9d47c948fc031e22c9c1b0e64 Mon Sep 17 00:00:00 2001 From: Andrew Brain <61482022+ABrain7710@users.noreply.github.com> Date: Fri, 20 Aug 2021 13:54:32 -0500 Subject: [PATCH] Add more undocumented endpoints Signed-off-by: Andrew Brain <61482022+ABrain7710@users.noreply.github.com> --- docs/source/rest-api/spec.yml | 70 +++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/docs/source/rest-api/spec.yml b/docs/source/rest-api/spec.yml index 15b054ccff..83997e6b88 100644 --- a/docs/source/rest-api/spec.yml +++ b/docs/source/rest-api/spec.yml @@ -1598,6 +1598,35 @@ paths: tags: - experimental /repo-groups/:repo_group_id/abandoned-issues: + get: + description: List of abandoned issues (last updated >= 1 year ago) + operationId: Abandoned Issues (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: + issue_id: + description: 'Example: 125071' + type: integer + repo_id: + description: 'Example: 22004' + type: integer + updated_at: + description: 'Example: 2017-10-30T06:52:19.000Z' + type: string + type: array + tags: + - experimental + /repo-groups/:repo_id/abandoned-issues: get: description: List of abandoned issues (last updated >= 1 year ago) operationId: Abandoned Issues (Repo) @@ -1633,6 +1662,47 @@ paths: tags: - experimental /repo-groups/:repo_group_id/lines-changed-by-author: + get: + description: 'Count of closed issues. ' + externalDocs: + description: CHAOSS Metric Definition + url: https://github.com/chaoss/wg-evolution/blob/master/metrics/contributors-new.md + operationId: Lines Changed by Author (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: + additions: + description: 'Example: 25611' + type: integer + affiliation: + description: 'Example: NULL' + type: string + cmt_author_date: + description: 'Example: 2004-11-24' + type: string + cmt_author_email: + description: 'Example: david@loudthinking.com' + type: string + deletions: + description: 'Example: 296' + type: integer + whitespace: + description: 'Example: 5279' + type: integer + type: array + tags: + - experimental + /repo-groups/:repo_id/lines-changed-by-author: get: description: 'Count of closed issues. ' externalDocs: