5
5
description : |
6
6
Semaphore API provides endpoints for managing and interacting with the Semaphore UI.
7
7
This documentation outlines the available operations and data models.
8
- version : " 2.14.0-beta1 "
8
+ version : " 2.16.11 "
9
9
10
10
consumes :
11
11
- application/json
@@ -159,16 +159,12 @@ definitions:
159
159
alert :
160
160
type : boolean
161
161
alert_chat :
162
- type :
163
- - string
164
- - ' null'
162
+ type : string
165
163
max_parallel_tasks :
166
164
type : integer
167
165
minimum : 0
168
166
type :
169
- type :
170
- - string
171
- - ' null'
167
+ type : string
172
168
templates :
173
169
type : array
174
170
items :
@@ -187,39 +183,27 @@ definitions:
187
183
playbook :
188
184
type : string
189
185
arguments :
190
- type :
191
- - string
192
- - ' null'
186
+ type : string
193
187
description :
194
188
type : string
195
189
allow_override_args_in_task :
196
190
type : boolean
197
191
suppress_success_alerts :
198
192
type : boolean
199
193
cron :
200
- type :
201
- - string
202
- - ' null'
194
+ type : string
203
195
build_template :
204
- type :
205
- - string
206
- - ' null'
196
+ type : string
207
197
autorun :
208
198
type : boolean
209
199
survey_vars :
210
- type :
211
- - string
212
- - ' null'
200
+ type : string
213
201
start_version :
214
- type :
215
- - string
216
- - ' null'
202
+ type : string
217
203
type :
218
204
type : string
219
205
vault_key :
220
- type :
221
- - string
222
- - ' null'
206
+ type : string
223
207
allow_override_branch_in_task :
224
208
type : boolean
225
209
repositories :
@@ -265,13 +249,9 @@ definitions:
265
249
inventory :
266
250
type : string
267
251
ssh_key :
268
- type :
269
- - string
270
- - ' null'
252
+ type : string
271
253
become_key :
272
- type :
273
- - string
274
- - ' null'
254
+ type : string
275
255
type :
276
256
type : string
277
257
enum : [static, static-yaml, file]
@@ -283,15 +263,11 @@ definitions:
283
263
name :
284
264
type : string
285
265
password :
286
- type :
287
- - string
288
- - ' null'
266
+ type : string
289
267
json :
290
268
type : string
291
269
env :
292
- type :
293
- - string
294
- - ' null'
270
+ type : string
295
271
296
272
APIToken :
297
273
type : object
@@ -316,17 +292,13 @@ definitions:
316
292
alert :
317
293
type : boolean
318
294
alert_chat :
319
- type :
320
- - string
321
- - ' null'
295
+ type : string
322
296
example : Test
323
297
max_parallel_tasks :
324
298
type : integer
325
299
minimum : 0
326
300
type :
327
- type :
328
- - string
329
- - ' null'
301
+ type : string
330
302
demo :
331
303
description : Create Demo project resources?
332
304
type : boolean
@@ -345,17 +317,13 @@ definitions:
345
317
alert :
346
318
type : boolean
347
319
alert_chat :
348
- type :
349
- - string
350
- - ' null'
320
+ type : string
351
321
example : Test
352
322
max_parallel_tasks :
353
323
type : integer
354
324
minimum : 0
355
325
type :
356
- type :
357
- - string
358
- - ' null'
326
+ type : string
359
327
360
328
AccessKeyRequest :
361
329
type : object
@@ -435,6 +403,7 @@ definitions:
435
403
type : integer
436
404
name :
437
405
type : string
406
+ example : Test
438
407
secret :
439
408
type : string
440
409
type :
@@ -556,6 +525,8 @@ definitions:
556
525
template_id :
557
526
type : integer
558
527
minimum : 1
528
+ params :
529
+ $ref : ' #/definitions/TaskPrams'
559
530
560
531
IntegrationRequest :
561
532
type : object
@@ -567,6 +538,8 @@ definitions:
567
538
type : integer
568
539
template_id :
569
540
type : integer
541
+ params :
542
+ $ref : ' #/definitions/TaskPrams'
570
543
571
544
IntegrationExtractValueRequest :
572
545
type : object
@@ -682,6 +655,7 @@ definitions:
682
655
example : master
683
656
ssh_key_id :
684
657
type : integer
658
+
685
659
Repository :
686
660
type : object
687
661
properties :
@@ -717,25 +691,72 @@ definitions:
717
691
type : string
718
692
secret :
719
693
type : string
694
+ arguments :
695
+ type : string
720
696
git_branch :
721
- type :
722
- - string
723
- - ' null'
724
- limit :
725
697
type : string
698
+ message :
699
+ type : string
700
+ inventory_id :
701
+ type : integer
726
702
params :
727
- type : object
728
- properties :
729
- debug :
730
- type : boolean
731
- dry_run :
732
- type : boolean
733
- diff :
734
- type : boolean
735
- limit :
736
- type : array
703
+ allOf :
704
+ - $ref : ' #/definitions/AnsibleTaskParams'
705
+ - $ref : ' #/definitions/TerraformTaskParams'
706
+ limit :
707
+ type : string
708
+
709
+ AnsibleTaskParams :
710
+ type : object
711
+ properties :
712
+ debug :
713
+ type : boolean
714
+ dry_run :
715
+ type : boolean
716
+ diff :
717
+ type : boolean
718
+ limit :
719
+ type : array
720
+ items :
721
+ type : string
722
+ tags :
723
+ type : array
724
+ items :
725
+ type : string
726
+ skip_tags :
727
+ type : array
728
+ items :
729
+ type : string
730
+
731
+ TerraformTaskParams :
732
+ type : object
733
+ properties :
734
+ plan :
735
+ type : boolean
736
+ destroy :
737
+ type : boolean
738
+ auto_approve :
739
+ type : boolean
740
+ upgrade :
741
+ type : boolean
742
+
743
+ TaskPrams :
744
+ type : object
745
+ properties :
746
+ environment :
747
+ type : string
748
+ git_branch :
749
+ type : string
737
750
message :
738
751
type : string
752
+ inventory_id :
753
+ type : integer
754
+ arguments :
755
+ type : string
756
+ params :
757
+ allOf :
758
+ - $ref : ' #/definitions/AnsibleTaskParams'
759
+ - $ref : ' #/definitions/TerraformTaskParams'
739
760
740
761
TaskOutput :
741
762
type : object
@@ -860,13 +881,9 @@ definitions:
860
881
type : string
861
882
enum : ["", build, deploy]
862
883
start_version :
863
- type :
864
- - string
865
- - ' null'
884
+ type : string
866
885
build_template_id :
867
- type :
868
- - integer
869
- - ' null'
886
+ type : integer
870
887
autorun :
871
888
type : boolean
872
889
survey_vars :
@@ -919,13 +936,9 @@ definitions:
919
936
enum : [password, script]
920
937
example : script
921
938
vault_key_id :
922
- type :
923
- - integer
924
- - ' null'
939
+ type : integer
925
940
script :
926
- type :
927
- - string
928
- - ' null'
941
+ type : string
929
942
example : path/to/script-client.py
930
943
931
944
ScheduleRequest :
@@ -945,6 +958,8 @@ definitions:
945
958
type : string
946
959
active :
947
960
type : boolean
961
+ params :
962
+ $ref : ' #/definitions/TaskPrams'
948
963
949
964
Schedule :
950
965
type : object
@@ -961,6 +976,8 @@ definitions:
961
976
type : string
962
977
active :
963
978
type : boolean
979
+ params :
980
+ $ref : ' #/definitions/TaskPrams'
964
981
965
982
ViewRequest :
966
983
type : object
@@ -1000,13 +1017,9 @@ definitions:
1000
1017
user_id :
1001
1018
type : integer
1002
1019
object_id :
1003
- type :
1004
- - integer
1005
- - ' null'
1020
+ type : integer
1006
1021
object_type :
1007
- type :
1008
- - string
1009
- - ' null'
1022
+ type : string
1010
1023
description :
1011
1024
type : string
1012
1025
@@ -2366,6 +2379,10 @@ paths:
2366
2379
type : string
2367
2380
message :
2368
2381
type : string
2382
+ arguments :
2383
+ type : string
2384
+ inventory_id :
2385
+ type : integer
2369
2386
responses :
2370
2387
201 :
2371
2388
description : Task queued
0 commit comments