1
1
openapi : 3.0.3
2
2
info :
3
3
title : Ansible AI Connect.
4
- version : 0 .0.9 (v0 )
4
+ version : 1 .0.0 (v1 )
5
5
description : Equip the automation developer at Lightspeed.
6
6
paths :
7
- /api/v0 /ai/chat/ :
7
+ /api/v1 /ai/chat/ :
8
8
post :
9
9
operationId : ai_chat_create
10
10
description : Send a message to the backend chatbot service and get a reply.
47
47
description : Internal server error
48
48
' 503 ' :
49
49
description : Service unavailable
50
- /api/v0 /ai/completions/ :
50
+ /api/v1 /ai/completions/ :
51
51
post :
52
52
operationId : ai_completions_create
53
53
description : Returns inline code suggestions based on a given Ansible editor
@@ -111,7 +111,7 @@ paths:
111
111
description : Request was throttled
112
112
' 503 ' :
113
113
description : Service Unavailable
114
- /api/v0 /ai/contentmatches/ :
114
+ /api/v1 /ai/contentmatches/ :
115
115
post :
116
116
operationId : ai_contentmatches_create
117
117
description : Returns content matches that were the highest likelihood sources
@@ -151,7 +151,7 @@ paths:
151
151
description : Request was throttled
152
152
' 503 ' :
153
153
description : Service Unavailable
154
- /api/v0 /ai/explanations/ :
154
+ /api/v1 /ai/explanations/ :
155
155
post :
156
156
operationId : ai_explanations_create
157
157
description : Returns a text that explains a playbook.
@@ -192,7 +192,7 @@ paths:
192
192
description : Request was throttled
193
193
' 503 ' :
194
194
description : Service Unavailable
195
- /api/v0 /ai/feedback/ :
195
+ /api/v1 /ai/feedback/ :
196
196
post :
197
197
operationId : ai_feedback_create
198
198
description : Feedback API for the AI service
@@ -234,48 +234,7 @@ paths:
234
234
description : Bad Request
235
235
' 401 ' :
236
236
description : Unauthorized
237
- /api/v0/ai/generations/ :
238
- post :
239
- operationId : ai_generations_create
240
- description : Returns a playbook based on a text input.
241
- summary : Inline code suggestions
242
- tags :
243
- - ai
244
- requestBody :
245
- content :
246
- application/json :
247
- schema :
248
- $ref : ' #/components/schemas/GenerationPlaybookRequest'
249
- application/x-www-form-urlencoded :
250
- schema :
251
- $ref : ' #/components/schemas/GenerationPlaybookRequest'
252
- multipart/form-data :
253
- schema :
254
- $ref : ' #/components/schemas/GenerationPlaybookRequest'
255
- required : true
256
- security :
257
- - oauth2 :
258
- - read
259
- - write
260
- - cookieAuth : []
261
- responses :
262
- ' 200 ' :
263
- content :
264
- application/json :
265
- schema :
266
- $ref : ' #/components/schemas/GenerationPlaybookResponse'
267
- description : ' '
268
- ' 204 ' :
269
- description : Empty response
270
- ' 400 ' :
271
- description : Bad Request
272
- ' 401 ' :
273
- description : Unauthorized
274
- ' 429 ' :
275
- description : Request was throttled
276
- ' 503 ' :
277
- description : Service Unavailable
278
- /api/v0/ai/generations/playbook :
237
+ /api/v1/ai/generations/playbook/ :
279
238
post :
280
239
operationId : ai_generations_playbook_create
281
240
description : Returns a playbook based on a text input.
@@ -316,7 +275,7 @@ paths:
316
275
description : Request was throttled
317
276
' 503 ' :
318
277
description : Service Unavailable
319
- /api/v0 /ai/generations/role :
278
+ /api/v1 /ai/generations/role/ :
320
279
post :
321
280
operationId : ai_generations_role_create
322
281
description : Returns a role based on a text input.
@@ -349,7 +308,7 @@ paths:
349
308
description : ' '
350
309
' 401 ' :
351
310
description : Unauthorized
352
- /api/v0 /me/ :
311
+ /api/v1 /me/ :
353
312
get :
354
313
operationId : me_retrieve
355
314
tags :
@@ -363,7 +322,7 @@ paths:
363
322
schema :
364
323
$ref : ' #/components/schemas/UserResponse'
365
324
description : ' '
366
- /api/v0 /me/summary/ :
325
+ /api/v1 /me/summary/ :
367
326
get :
368
327
operationId : me_summary_retrieve
369
328
tags :
@@ -377,7 +336,7 @@ paths:
377
336
schema :
378
337
$ref : ' #/components/schemas/MarkdownUserResponse'
379
338
description : ' '
380
- /api/v0 /telemetry/ :
339
+ /api/v1 /telemetry/ :
381
340
get :
382
341
operationId : telemetry_settings_get
383
342
summary : Get the telemetry settings for an Organisation
@@ -401,6 +360,8 @@ paths:
401
360
description : Request was throttled
402
361
' 500 ' :
403
362
description : Internal service error
363
+ ' 501 ' :
364
+ description : Not implemented
404
365
post :
405
366
operationId : telemetry_settings_set
406
367
summary : Set the Telemetry settings for an Organisation
@@ -442,7 +403,9 @@ paths:
442
403
description : Request was throttled
443
404
' 500 ' :
444
405
description : Internal service error
445
- /api/v0/wca/apikey/ :
406
+ ' 501 ' :
407
+ description : Not implemented
408
+ /api/v1/wca/apikey/ :
446
409
get :
447
410
operationId : wca_api_key_get
448
411
summary : Get WCA key for an Organisation
@@ -467,6 +430,8 @@ paths:
467
430
description : Request was throttled
468
431
' 500 ' :
469
432
description : Internal service error
433
+ ' 501 ' :
434
+ description : Not implemented
470
435
post :
471
436
operationId : wca_api_key_set
472
437
summary : Set the WCA key for an Organisation
@@ -509,6 +474,8 @@ paths:
509
474
description : Request was throttled
510
475
' 500 ' :
511
476
description : Internal service error
477
+ ' 501 ' :
478
+ description : Not implemented
512
479
delete :
513
480
operationId : wca_api_key_delete
514
481
summary : DELETE WCA key for an Organization
@@ -533,7 +500,9 @@ paths:
533
500
description : Request was throttled
534
501
' 500 ' :
535
502
description : Internal service error
536
- /api/v0/wca/apikey/test/ :
503
+ ' 501 ' :
504
+ description : Not implemented
505
+ /api/v1/wca/apikey/test/ :
537
506
get :
538
507
operationId : wca_api_key_validator_get
539
508
summary : Validate WCA key for an Organisation
@@ -556,7 +525,9 @@ paths:
556
525
description : Request was throttled
557
526
' 500 ' :
558
527
description : Internal service error
559
- /api/v0/wca/modelid/ :
528
+ ' 501 ' :
529
+ description : Not implemented
530
+ /api/v1/wca/modelid/ :
560
531
get :
561
532
operationId : wca_model_id_get
562
533
summary : Get WCA Model Id for an Organisation
@@ -580,6 +551,8 @@ paths:
580
551
description : Request was throttled
581
552
' 500 ' :
582
553
description : Internal service error
554
+ ' 501 ' :
555
+ description : Not implemented
583
556
post :
584
557
operationId : wca_model_id_set
585
558
summary : Set the Model Id to be used for an Organisation
@@ -621,7 +594,9 @@ paths:
621
594
description : Request was throttled
622
595
' 500 ' :
623
596
description : Internal service error
624
- /api/v0/wca/modelid/test/ :
597
+ ' 501 ' :
598
+ description : Not implemented
599
+ /api/v1/wca/modelid/test/ :
625
600
get :
626
601
operationId : wca_model_id_validator_get
627
602
summary : Validate WCA Model Id for an Organisation
@@ -644,6 +619,8 @@ paths:
644
619
description : Request was throttled
645
620
' 500 ' :
646
621
description : Internal service error
622
+ ' 501 ' :
623
+ description : Not implemented
647
624
/check/ :
648
625
get :
649
626
operationId : check_retrieve
0 commit comments