You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| POST |`/v5/projects/:projectId/copilots/requests/:copilotRequestId/approve`|`platform-ui`| none |`{type}`| Created copilot opportunity object |
97
97
| GET |`/v5/projects/copilots/opportunities`|`platform-ui`, `community-app`|`page`, `pageSize`, `sort`; `community-app` also sends `noGrouping=true`| none | Opportunity list derived from request `data`; public endpoint |
98
-
| GET |`/v5/projects/copilot/opportunity/:id`|`platform-ui`| none | none | Single opportunity details; includes flattened request fields, plus `members`and `canApplyAsCopilot`|
98
+
| GET |`/v5/projects/copilot/opportunity/:id`|`platform-ui`| none | none | Single opportunity details; includes flattened request fields, plus `members`, `canApplyAsCopilot`, and admin/manager-only `project` metadata|
99
99
| POST |`/v5/projects/copilots/opportunity/:id/apply`|`platform-ui`| none |`{notes}`| Created (or existing) copilot application object |
100
100
| GET |`/v5/projects/copilots/opportunity/:id/applications`|`platform-ui`| Optional `sort`| none | For admin/PM: full applications (`id,userId,status,notes,existingMembership,...`); for non-admin: reduced fields (`userId,status,createdAt`) |
101
101
| POST |`/v5/projects/copilots/opportunity/:id/assign`|`platform-ui`| none |`{applicationId: string}`|`{id: applicationId}` and side effects (member/requests/opportunity state transitions) |
Copy file name to clipboardExpand all lines: src/api/copilot/copilot-opportunity.controller.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ export class CopilotOpportunityController {
69
69
@ApiOperation({
70
70
summary: 'List copilot opportunities',
71
71
description:
72
-
'Lists available copilot opportunities. This endpoint is accessible to authenticated users, including copilots.',
72
+
'Lists available copilot opportunities. This endpoint is accessible to authenticated users, including copilots. Admin and manager callers also receive minimal nested project metadata for v5 compatibility.',
@@ -119,7 +119,7 @@ export class CopilotOpportunityController {
119
119
@ApiOperation({
120
120
summary: 'Get copilot opportunity',
121
121
description:
122
-
'Returns one copilot opportunity with flattened request data and apply eligibility context for /projects/copilots/opportunity/:id.',
122
+
'Returns one copilot opportunity with flattened request data and apply eligibility context for /projects/copilots/opportunity/:id. Admin and manager callers also receive minimal nested project metadata for v5 compatibility.',
0 commit comments