-
Notifications
You must be signed in to change notification settings - Fork 56
[PROD RELEASE] - Q2 #823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
[PROD RELEASE] - Q2 #823
Changes from all commits
6163394
0372f83
06280ae
561906e
5ac2a16
99a5053
0b40100
fef6473
0afeeac
5907e42
4adf1e9
4b7990b
c608346
cffc8c0
bf83bcb
dc39219
22cc474
472acdf
5a0b44f
7c63711
f0d083f
aa60669
47664c8
1978a22
3cac325
9ba39a3
7ad57ec
8dfcdf0
4a13b50
350d155
c922d0c
c3e8fca
5329b81
ca59b33
dfa1ca3
f0e40c1
a0e0d8b
7be3b14
1bd520d
7dcf79a
93c1ca9
b6f6b8b
45f8ff2
21edae9
840f155
d093fe5
8411731
43dc20c
0a5d052
c42c1d4
7adb0cc
51c50d8
aeb7b48
af846ab
709601f
4543e5e
9f7dc48
7f40cdb
8e2881d
f7d0990
4753022
f852b5a
2ee4f9b
2fd1652
d5296d3
4350c1f
3a64f1d
cfbbd56
c36ca64
f181533
0f4db68
c7d8d37
d2aa3e9
69eb97a
675858b
613defe
e3303fe
d83097b
68fdf7b
7383c70
aaea12c
35d27e0
1102fdc
fe085cf
42485c5
944692c
2d20d16
3ec8ebd
364e74b
d691100
3a4fc53
6224d47
d6bd47e
07973aa
c43ace7
9ba2c67
4b1e2b3
4defcf7
cc46a74
3bf61b2
e19a9d1
d4d3790
3a8a1fc
ea2ac33
5151cfa
d31503e
8507660
09249e6
d10aa02
4f2ea1a
5caaf0d
cf0236d
d9d9cd4
aa20437
da294ad
bbb0d6b
dea4e18
759a4db
160c4d8
db388bc
ded8a7c
7c29993
cc92278
dc019e3
79fdf6f
4b8c9f7
0c54ecf
223b7bd
82dd797
9793dcc
5b29f65
388e9f5
a282f0b
ff6f62a
0a3317a
aa5cc62
f7579a0
2065478
724d028
21b079b
77b0fb0
a29f1c9
deaed3a
d4ed7a9
91f23ab
b7f5bf5
4c45e27
595e046
fb9b8a9
31a2b66
ae5952d
c16d06e
190c04c
4c98fe7
0ad22c3
cc5a28d
b52b16e
5fbd197
49356d6
e34f785
6f4cb68
024b70f
1a5016f
24d2fba
a26bd8f
37bd5ed
339c8ab
9be8c5f
d95af0d
126ea0b
3875c3e
92ee79e
70e8e40
7bae3fd
12fab3a
71f598c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: AI PR Reviewer | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
permissions: | ||
pull-requests: write | ||
jobs: | ||
tc-ai-pr-review: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: TC AI PR Reviewer | ||
uses: topcoder-platform/tc-ai-pr-reviewer@master | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # The GITHUB_TOKEN is there by default so you just need to keep it like it is and not necessarily need to add it as secret as it will throw an error. [More Details](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret) | ||
LAB45_API_KEY: ${{ secrets.LAB45_API_KEY }} | ||
exclude: '**/*.json, **/*.md, **/*.jpg, **/*.png, **/*.jpeg, **/*.bmp, **/*.webp' # Optional: exclude patterns separated by commas |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,10 @@ info: | |
You can also set a custom page size up to 100 with the `perPage` parameter. | ||
|
||
Pagination response data is included in http headers. By Default, the response header contains links with `next`, `last`, `first`, `prev` resource links. | ||
host: "localhost:3000" | ||
host: "api.topcoder-dev.com" | ||
basePath: /v5 | ||
schemes: | ||
- http | ||
- https | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The scheme has been changed from |
||
produces: | ||
- application/json | ||
consumes: | ||
|
@@ -411,7 +411,7 @@ paths: | |
"/projects/copilots/opportunities": | ||
get: | ||
tags: | ||
- projects copilot opportunities | ||
- projects copilot opportunity | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The tag name has been changed from 'projects copilot opportunities' to 'projects copilot opportunity'. Ensure that this change is intentional and consistent with the rest of the documentation and codebase, as it may affect how this endpoint is categorized or accessed. |
||
operationId: getAllCopilotOpportunities | ||
security: | ||
- Bearer: [] | ||
|
@@ -444,7 +444,7 @@ paths: | |
description: "Internal Server Error" | ||
schema: | ||
$ref: "#/definitions/ErrorModel" | ||
"/projects/copilots/opportunities/{copilotOpportunityId}": | ||
"/projects/copilots/opportunity/{copilotOpportunityId}": | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The endpoint path has been changed from |
||
get: | ||
tags: | ||
- projects copilot opportunity | ||
|
@@ -471,6 +471,126 @@ paths: | |
description: "Internal Server Error" | ||
schema: | ||
$ref: "#/definitions/ErrorModel" | ||
"/projects/copilots/opportunity/{copilotOpportunityId}/apply": | ||
post: | ||
tags: | ||
- projects copilot opportunity | ||
operationId: applyCopilotOpportunity | ||
security: | ||
- Bearer: [] | ||
description: "Retrieve a specific copilot opportunity." | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The description for the POST method at |
||
parameters: | ||
- $ref: "#/parameters/copilotOpportunityIdParam" | ||
- in: body | ||
name: body | ||
schema: | ||
$ref: "#/definitions/ApplyCopilotOpportunity" | ||
responses: | ||
"200": | ||
description: "The copilot opportunity application" | ||
schema: | ||
$ref: "#/definitions/CopilotOpportunityApplication" | ||
"401": | ||
description: "Unauthorized" | ||
schema: | ||
$ref: "#/definitions/ErrorModel" | ||
"403": | ||
description: "Forbidden - User does not have permission" | ||
schema: | ||
$ref: "#/definitions/ErrorModel" | ||
"500": | ||
description: "Internal Server Error" | ||
schema: | ||
$ref: "#/definitions/ErrorModel" | ||
"/projects/copilots/opportunity/{copilotOpportunityId}/applications": | ||
get: | ||
tags: | ||
- projects copilot opportunity applications | ||
operationId: listCopilotOpportunity | ||
security: | ||
- Bearer: [] | ||
description: "Retrieve the list copilot opportunity applications." | ||
parameters: | ||
- $ref: "#/parameters/copilotOpportunityIdParam" | ||
- name: sort | ||
required: false | ||
description: > | ||
sort projects by createdAt, updatedAt. Default | ||
is createdAt asc | ||
in: query | ||
type: string | ||
responses: | ||
"200": | ||
description: A list of projects | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The description for the response code "200" in the GET method at |
||
schema: | ||
type: array | ||
items: | ||
$ref: "#/definitions/CopilotOpportunityApplication" | ||
headers: | ||
X-Next-Page: | ||
type: integer | ||
description: The index of the next page | ||
X-Page: | ||
type: integer | ||
description: The index of the current page (starting at 1) | ||
X-Per-Page: | ||
type: integer | ||
description: The number of items to list per page | ||
X-Prev-Page: | ||
type: integer | ||
description: The index of the previous page | ||
X-Total: | ||
type: integer | ||
description: The total number of items | ||
X-Total-Pages: | ||
type: integer | ||
description: The total number of pages | ||
Link: | ||
type: string | ||
description: Pagination link header. | ||
"401": | ||
description: "Unauthorized" | ||
schema: | ||
$ref: "#/definitions/ErrorModel" | ||
"403": | ||
description: "Forbidden - User does not have permission" | ||
schema: | ||
$ref: "#/definitions/ErrorModel" | ||
"500": | ||
description: "Internal Server Error" | ||
schema: | ||
$ref: "#/definitions/ErrorModel" | ||
"/projects/copilots/opportunity/{copilotOpportunityId}/assign": | ||
post: | ||
tags: | ||
- assign project copilot opportunity | ||
operationId: assignCopilotOpportunity | ||
security: | ||
- Bearer: [] | ||
description: "Assign a copilot opportunity with copilot." | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The description for the POST method at |
||
parameters: | ||
- $ref: "#/parameters/copilotOpportunityIdParam" | ||
- in: body | ||
name: body | ||
schema: | ||
$ref: "#/definitions/AssignCopilotOpportunity" | ||
responses: | ||
"200": | ||
description: "The response after assigning an copilot opportunity" | ||
schema: | ||
$ref: "#/definitions/CopilotOpportunityAssignResponse" | ||
"401": | ||
description: "Unauthorized" | ||
schema: | ||
$ref: "#/definitions/ErrorModel" | ||
"403": | ||
description: "Forbidden - User does not have permission" | ||
schema: | ||
$ref: "#/definitions/ErrorModel" | ||
"500": | ||
description: "Internal Server Error" | ||
schema: | ||
$ref: "#/definitions/ErrorModel" | ||
"/projects/{projectId}/attachments": | ||
get: | ||
tags: | ||
|
@@ -5448,6 +5568,13 @@ parameters: | |
required: true | ||
type: integer | ||
format: int64 | ||
copilotOpportunityIdParam: | ||
name: copilotOpportunityId | ||
in: path | ||
description: copilot opportunity identifier | ||
required: true | ||
type: integer | ||
format: int64 | ||
phaseIdParam: | ||
name: phaseId | ||
in: path | ||
|
@@ -5975,6 +6102,60 @@ definitions: | |
format: int64 | ||
description: READ-ONLY. User that last updated this task | ||
readOnly: true | ||
CopilotOpportunityApplication: | ||
type: object | ||
properties: | ||
id: | ||
description: unique identifier | ||
type: integer | ||
format: int64 | ||
notes: | ||
description: notes regarding the application | ||
type: string | ||
status: | ||
description: status of the application | ||
type: string | ||
enum: | ||
- pending | ||
- accepted | ||
example: pending | ||
opportunityId: | ||
description: copilot request id | ||
type: integer | ||
createdAt: | ||
type: string | ||
description: Datetime (GMT) when task was created | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The description for |
||
readOnly: true | ||
createdBy: | ||
type: integer | ||
format: int64 | ||
description: READ-ONLY. User who created this task | ||
readOnly: true | ||
updatedAt: | ||
type: string | ||
description: READ-ONLY. Datetime (GMT) when task was updated | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The description for |
||
readOnly: true | ||
updatedBy: | ||
type: integer | ||
format: int64 | ||
description: READ-ONLY. User that last updated this task | ||
readOnly: true | ||
deletedAt: | ||
type: string | ||
description: READ-ONLY. Datetime (GMT) when task was deleted | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The description for |
||
readOnly: true | ||
deletedBy: | ||
type: integer | ||
format: int64 | ||
description: READ-ONLY. User that deleted this task | ||
readOnly: true | ||
CopilotOpportunityAssignResponse: | ||
type: object | ||
properties: | ||
id: | ||
description: unique identifier | ||
type: integer | ||
format: int64 | ||
Project: | ||
type: object | ||
properties: | ||
|
@@ -6184,6 +6365,20 @@ definitions: | |
- customer | ||
- manager | ||
- copilot | ||
ApplyCopilotOpportunity: | ||
title: Apply Copilot Opportunity | ||
type: object | ||
properties: | ||
notes: | ||
type: string | ||
description: notes about applying copilot opportunity | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Consider providing more detailed information in the description to clarify what kind of notes are expected or any constraints on the notes field. |
||
AssignCopilotOpportunity: | ||
title: Assign Copilot Opportunity | ||
type: object | ||
properties: | ||
applicationId: | ||
type: string | ||
description: The ID of the application to be accepted for the copilot opportunity. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ensure that the |
||
NewProjectAttachment: | ||
title: Project attachment request | ||
type: object | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The host has been changed from
localhost:3000
toapi.topcoder-dev.com
. Ensure that this change is intentional and that the new host is correctly configured for production use.