@@ -24,7 +24,7 @@ securityDefinitions:
2424 type : apiKey
2525 name : Authorization
2626 in : header
27- paths :
27+ paths :
2828 " /projects " :
2929 get :
3030 tags :
@@ -244,6 +244,38 @@ paths:
244244 description : Internal Server Error
245245 schema :
246246 $ref : " #/definitions/ErrorModel"
247+ " /projects/{projectId}/copilots/request " :
248+ post :
249+ tags :
250+ - projects copilot request
251+ operationId : createCopilotRequest
252+ security :
253+ - Bearer : []
254+ description : " create copilot request"
255+ responses :
256+ " 200 " :
257+ description : Created copilot request
258+ schema :
259+ $ref : " #/definitions/Copilot"
260+ " 401 " :
261+ description : Unauthorized
262+ schema :
263+ $ref : " #/definitions/ErrorModel"
264+ " 400 " :
265+ description : Bad request
266+ schema :
267+ $ref : " #/definitions/ErrorModel"
268+ " 500 " :
269+ description : Internal Server Error
270+ schema :
271+ $ref : " #/definitions/ErrorModel"
272+ parameters :
273+ - $ref : " #/parameters/projectIdParam"
274+ - name : body
275+ in : body
276+ required : true
277+ schema :
278+ $ref : " #/definitions/NewCopilotRequest"
247279 " /projects/{projectId}/attachments " :
248280 get :
249281 tags :
@@ -5459,6 +5491,14 @@ definitions:
54595491 type : string
54605492 address :
54615493 type : string
5494+ NewCopilotRequest :
5495+ type : object
5496+ required :
5497+ - data
5498+ properties :
5499+ data :
5500+ type : object
5501+ description : copilot request data
54625502 NewProject :
54635503 type : object
54645504 required :
@@ -5581,6 +5621,37 @@ definitions:
55815621 type : integer
55825622 format : int64
55835623
5624+ Copilot :
5625+ type : object
5626+ properties :
5627+ id :
5628+ description : unique identifier
5629+ type : integer
5630+ format : int64
5631+ data :
5632+ description : copilot data
5633+ type : object
5634+ status :
5635+ description : status of the copilot request
5636+ type : string
5637+ createdAt :
5638+ type : string
5639+ description : Datetime (GMT) when task was created
5640+ readOnly : true
5641+ createdBy :
5642+ type : integer
5643+ format : int64
5644+ description : READ-ONLY. User who created this task
5645+ readOnly : true
5646+ updatedAt :
5647+ type : string
5648+ description : READ-ONLY. Datetime (GMT) when task was updated
5649+ readOnly : true
5650+ updatedBy :
5651+ type : integer
5652+ format : int64
5653+ description : READ-ONLY. User that last updated this task
5654+ readOnly : true
55845655 Project :
55855656 type : object
55865657 properties :
0 commit comments