diff --git a/docs/source/rest-api/spec.yml b/docs/source/rest-api/spec.yml index a505854a8a..91895959c7 100644 --- a/docs/source/rest-api/spec.yml +++ b/docs/source/rest-api/spec.yml @@ -3997,39 +3997,45 @@ paths: type: array tags: - value - /repo-groups/:repo_group_id/watchers-count: + /repos/:repo_id/watchers: get: - description: Watchers count. - operationId: Watchers Count (Repo Group) + description: A time series of watchers count. + operationId: Watchers (Repo) parameters: - - description: Repository Group ID + - description: Repository Group ID. in: path name: repo_group_id schema: type: string type: string + - description: Repository ID. + in: path + name: repo_id + schema: + type: string + type: string responses: '200': description: OK schema: items: properties: - repo_id: - description: 'Example: 21039' - type: integer + date: + description: 'Example: 2019-07-03T23:22:26.000Z' + type: string repo_name: - description: 'Example: rails_xss' + description: 'Example: airflow' type: string watchers: - description: 'Example: 20' + description: 'Example: 649' type: integer type: array tags: - value - /repo-groups/:repo_group_id/stars: + /repo-groups/:repo_group_id/watchers-count: get: - description: A time series of stars count. - operationId: Stars (Repo Group) + description: Watchers count. + operationId: Watchers Count (Repo Group) parameters: - description: Repository Group ID in: path @@ -4043,67 +4049,61 @@ paths: schema: items: properties: - date: - description: 'Example: 2019-07-03T23:23:36.000Z' - type: string repo_id: - description: 'Example: 21491' + description: 'Example: 21039' type: integer repo_name: - description: 'Example: commons-io' + description: 'Example: rails_xss' type: string - stars: - description: 'Example: 600' + watchers: + description: 'Example: 20' type: integer type: array tags: - value - /repo-groups/:repo_group_id/stars-count: + /repos/:repo_id/watchers-count: get: - description: Stars count. - operationId: Stars Count (Repo Group) + description: Watchers count. + operationId: Watchers Count (Repo) parameters: - - description: Repository Group ID + - description: Repository Group ID. in: path name: repo_group_id schema: type: string type: string + - description: Repository ID. + in: path + name: repo_id + schema: + type: string + type: string responses: '200': description: OK schema: items: properties: - repo_id: - description: 'Example: 21364' - type: integer repo_name: - description: 'Example: irs_process_scripts' + description: 'Example: airflow' type: string - stars: - description: 'Example: 20' + watchers: + description: 'Example: 649' type: integer type: array tags: - value - /repos/:repo_id/stars: + /repo-groups/:repo_group_id/stars: get: description: A time series of stars count. - operationId: Stars (Repo) + operationId: Stars (Repo Group) parameters: - - description: Repository Group ID. + - description: Repository Group ID in: path name: repo_group_id schema: type: string type: string - - description: Repository ID. - in: path - name: repo_id - schema: - type: string - type: string responses: '200': description: OK @@ -4111,21 +4111,24 @@ paths: items: properties: date: - description: 'Example: 2019-07-03T23:27:42.000Z' + description: 'Example: 2019-07-03T23:23:36.000Z' type: string + repo_id: + description: 'Example: 21491' + type: integer repo_name: - description: 'Example: graphiql' + description: 'Example: commons-io' type: string stars: - description: 'Example: 8652' + description: 'Example: 600' type: integer type: array tags: - value - /repos/:repo_id/stars-count: + /repos/:repo_id/stars: get: - description: Stars count. - operationId: Stars Count (Repo) + description: A time series of stars count. + operationId: Stars (Repo) parameters: - description: Repository Group ID. in: path @@ -4145,54 +4148,51 @@ paths: schema: items: properties: + date: + description: 'Example: 2019-07-03T23:27:42.000Z' + type: string repo_name: description: 'Example: graphiql' type: string stars: - description: 'Example: 8653' + description: 'Example: 8652' type: integer type: array tags: - value - /repos/:repo_id/watchers: + /repo-groups/:repo_group_id/stars-count: get: - description: A time series of watchers count. - operationId: Watchers (Repo) + description: Stars count. + operationId: Stars Count (Repo Group) parameters: - - description: Repository Group ID. + - description: Repository Group ID in: path name: repo_group_id schema: type: string type: string - - 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:22:26.000Z' - type: string + repo_id: + description: 'Example: 21364' + type: integer repo_name: - description: 'Example: airflow' + description: 'Example: irs_process_scripts' type: string - watchers: - description: 'Example: 649' + stars: + description: 'Example: 20' type: integer type: array tags: - value - /repos/:repo_id/watchers-count: + /repos/:repo_id/stars-count: get: - description: Watchers count. - operationId: Watchers Count (Repo) + description: Stars count. + operationId: Stars Count (Repo) parameters: - description: Repository Group ID. in: path @@ -4213,10 +4213,10 @@ paths: items: properties: repo_name: - description: 'Example: airflow' + description: 'Example: graphiql' type: string - watchers: - description: 'Example: 649' + stars: + description: 'Example: 8653' type: integer type: array tags: