forked from zendesk/sunshine-conversations-api-spec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathswagger.yaml
932 lines (931 loc) · 25.7 KB
/
swagger.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
swagger: '2.0'
info:
version: '5.4'
title: Smooch
description: >-
The Smooch API is a unified interface for powering messaging in your
customer experiences across every channel. Our API speeds access to new
markets, reduces time to ship, eliminates complexity, and helps you build
the best experiences for your customers. For more information, visit our
[official documentation](https://docs.smooch.io).
host: api.smooch.io
schemes:
- https
consumes:
- application/json
definitions:
Enums:
$ref: ./definitions/Enums.yaml
produces:
- application/json
security:
- jwt: []
securityDefinitions:
jwt:
type: apiKey
name: Authorization
in: header
paths:
'/v1.1/apps/{appId}/appusers/{userId}':
parameters:
- $ref: ./parameters/AppId.yaml
- $ref: ./parameters/UserId.yaml
get:
tags:
- AppUser
description: Get the specified app user.
operationId: getAppUser
responses:
'200':
description: Success
schema:
$ref: ./definitions/AppUserResponse.yaml
put:
tags:
- AppUser
description: Update the specified app user.
operationId: updateAppUser
parameters:
- $ref: ./parameters/AppUserUpdate.yaml
responses:
'200':
description: Success
schema:
$ref: ./definitions/AppUserResponse.yaml
delete:
tags:
- AppUser
description: Delete specified app user.
operationId: deleteAppUser
responses:
'200':
description: Ok
'/v1.1/apps/{appId}/appusers':
parameters:
- $ref: ./parameters/AppId.yaml
post:
tags:
- AppUser
description: Pre-create an app user.
operationId: preCreateAppUser
parameters:
- $ref: ./parameters/AppUserPreCreate.yaml
responses:
'201':
description: Created
schema:
$ref: ./definitions/AppUserResponse.yaml
'/v1.1/apps/{appId}/appusers/{userId}/images':
parameters:
- $ref: ./parameters/AppId.yaml
- $ref: ./parameters/UserId.yaml
post:
tags:
- AppUser
description: Send an image message to the conversation.
operationId: postImageMessage
consumes:
- multipart/form-data
parameters:
- name: source
in: formData
description: Image to be uploaded
required: true
type: file
- name: role
in: formData
description: Role of the sender
required: true
type: string
responses:
'201':
description: Created
schema:
$ref: ./definitions/MessageResponse.yaml
'/v1.1/apps/{appId}/appusers/{userId}/profile':
parameters:
- $ref: ./parameters/AppId.yaml
- $ref: ./parameters/UserId.yaml
delete:
tags:
- AppUser
description: Delete specified app user's profile.
operationId: deleteAppUserProfile
responses:
'200':
description: Ok
schema:
$ref: ./definitions/AppUserResponse.yaml
'/v1.1/apps/{appId}/appusers/{userId}/authcode':
parameters:
- $ref: ./parameters/AppId.yaml
- $ref: ./parameters/UserId.yaml
get:
tags:
- AppUser
description: Get an auth code for facilitating a channel transfer
operationId: getAppUserAuthCode
responses:
'200':
description: Ok
schema:
$ref: ./definitions/AuthCodeResponse.yaml
'/v1.1/apps/{appId}/appusers/{userId}/channels':
parameters:
- $ref: ./parameters/AppId.yaml
- $ref: ./parameters/UserId.yaml
get:
tags:
- AppUser
description: Get specified app user's channel entity IDs.
operationId: getAppUserEntityIds
responses:
'200':
description: Ok
schema:
$ref: ./definitions/AppUserChannelsResponse.yaml
post:
tags:
- AppUser
description: Link specified app user to given channel.
operationId: linkAppUser
parameters:
- $ref: ./parameters/AppUserLink.yaml
responses:
'200':
description: Ok
schema:
$ref: ./definitions/AppUserResponse.yaml
'/v1.1/apps/{appId}/appusers/{userId}/businesssystems':
parameters:
- $ref: ./parameters/AppId.yaml
- $ref: ./parameters/UserId.yaml
get:
tags:
- AppUser
description: Get specified app user's business system IDs.
operationId: getAppUserBusinessSystemIds
responses:
'200':
description: Ok
schema:
$ref: ./definitions/AppUserBusinessSystemsResponse.yaml
'/v1.1/apps/{appId}/appusers/{userId}/channels/{channel}':
parameters:
- $ref: ./parameters/AppId.yaml
- $ref: ./parameters/UserId.yaml
- $ref: ./parameters/Channel.yaml
delete:
tags:
- AppUser
description: Unlink specified app user from given channel.
operationId: unlinkAppUser
responses:
'200':
description: Ok
'/v1.1/apps/{appId}/appusers/{userId}/linkrequest':
parameters:
- $ref: ./parameters/AppId.yaml
- $ref: ./parameters/UserId.yaml
- name: integrationIds
in: query
required: true
description: List of integration IDs
type: array
items:
type: string
minItems: 1
style: form
explode: false
get:
tags:
- AppUser
description: Fetch link requests for the specified app user.
operationId: getLinkRequests
responses:
'200':
description: Ok
schema:
$ref: ./definitions/LinkRequestResponse.yaml
'/v1.1/apps/{appId}/appusers/{userId}/messages':
parameters:
- $ref: ./parameters/AppId.yaml
- $ref: ./parameters/UserId.yaml
get:
tags:
- Conversation
description: Get the specified app user's messages.
operationId: getMessages
parameters:
- name: before
in: query
description: >-
Timestamp of message. The API will return 100 messages before the
specified timestamp (excluding any messages with the provided
timestamp).
type: string
- name: after
in: query
description: >-
Timestamp of message. The API will return 100 messages after the
specified timestamp (excluding any messages with the provided
timestamp).
type: string
responses:
'200':
description: Success
schema:
$ref: ./definitions/GetMessagesResponse.yaml
post:
tags:
- Conversation
description: Post a message to or from the app user.
operationId: postMessage
parameters:
- $ref: ./parameters/MessagePost.yaml
responses:
'201':
description: Created
schema:
$ref: ./definitions/MessageResponse.yaml
delete:
tags:
- Conversation
description: >
Clears the message history for a user, permanently deleting all
messages, but leaving any connections to Messaging Channels and Business
Systems intact. These connections allow for the conversation to continue
in the future, while still being associated to the same appUser.
operationId: deleteMessages
responses:
'200':
description: Ok
'/v1.1/apps/{appId}/appusers/{userId}/messages/{messageId}':
parameters:
- $ref: ./parameters/AppId.yaml
- $ref: ./parameters/UserId.yaml
- $ref: ./parameters/MessageId.yaml
delete:
tags:
- Conversation
description: Deletes a single message.
operationId: deleteMessage
responses:
'200':
description: Ok
'/v1.1/apps/{appId}/appusers/{userId}/conversation/read':
parameters:
- $ref: ./parameters/AppId.yaml
- $ref: ./parameters/UserId.yaml
post:
tags:
- Conversation
description: Reset the unread count of the conversation to 0.
operationId: resetUnreadCount
responses:
'200':
description: Ok
'/v1.1/apps/{appId}/appusers/{userId}/conversation/activity':
parameters:
- $ref: ./parameters/AppId.yaml
- $ref: ./parameters/UserId.yaml
post:
tags:
- Conversation
parameters:
- $ref: ./parameters/ConversationActivity.yaml
description: Notify Smooch when an app maker starts or stops typing a response.
operationId: conversationActivity
responses:
'200':
description: Ok
'/v1.1/apps/{appId}/menu':
parameters:
- $ref: ./parameters/AppId.yaml
get:
tags:
- Menu
description: Get the specified app’s menu.
operationId: getMenu
responses:
'200':
description: Success
schema:
$ref: ./definitions/MenuResponse.yaml
put:
tags:
- Menu
description: Configure the specified app’s menu.
operationId: updateMenu
parameters:
- $ref: ./parameters/MenuUpdate.yaml
responses:
'200':
description: Success
schema:
$ref: ./definitions/MenuResponse.yaml
delete:
tags:
- Menu
description: Remove the specified app’s menu.
operationId: deleteMenu
responses:
'200':
description: Success
schema:
$ref: ./definitions/MenuResponse.yaml
/v1.1/serviceaccounts:
post:
tags:
- ServiceAccount
description: Create a new service account.
operationId: createServiceAccount
parameters:
- $ref: ./parameters/ServiceAccountCreate.yaml
responses:
'201':
description: Created
schema:
$ref: ./definitions/ServiceAccountResponse.yaml
get:
tags:
- ServiceAccount
description: List all service accounts configured.
operationId: listServiceAccounts
parameters:
- name: limit
in: query
description: The number of records to return.
type: integer
default: 25
- name: offset
in: query
description: >-
The number of initial records to skip before picking records to
return.
type: integer
default: 0
responses:
'200':
description: Ok
schema:
$ref: ./definitions/ListServiceAccountsResponse.yaml
'/v1.1/serviceaccounts/{serviceAccountId}':
parameters:
- $ref: ./parameters/ServiceAccountId.yaml
get:
tags:
- ServiceAccount
description: Get the specified service account.
operationId: getServiceAccount
responses:
'200':
description: Ok
schema:
$ref: ./definitions/ServiceAccountResponse.yaml
put:
tags:
- ServiceAccount
description: Update the specified service account.
operationId: updateServiceAccount
parameters:
- $ref: ./parameters/ServiceAccountUpdate.yaml
responses:
'200':
description: Ok
schema:
$ref: ./definitions/ServiceAccountResponse.yaml
delete:
tags:
- ServiceAccount
description: Delete the specified service account.
operationId: deleteServiceAccount
responses:
'200':
description: Ok
'/v1.1/serviceaccounts/{serviceAccountId}/keys':
parameters:
- $ref: ./parameters/ServiceAccountId.yaml
post:
tags:
- ServiceAccount
description: Create a secret key for the specified service account.
operationId: createSecretKey
parameters:
- $ref: ./parameters/SecretKeyCreate.yaml
responses:
'200':
description: Ok
schema:
$ref: ./definitions/SecretKeyResponse.yaml
get:
tags:
- ServiceAccount
description: List the secret keys for the specified service account.
operationId: listSecretKeys
responses:
'200':
description: Ok
schema:
$ref: ./definitions/ListSecretKeysResponse.yaml
'/v1.1/serviceaccounts/{serviceAccountId}/keys/{keyId}':
parameters:
- $ref: ./parameters/ServiceAccountId.yaml
- $ref: ./parameters/KeyId.yaml
get:
tags:
- ServiceAccount
description: Get the specified service account secret key.
operationId: getSecretKey
responses:
'200':
description: Ok
schema:
$ref: ./definitions/SecretKeyResponse.yaml
delete:
tags:
- ServiceAccount
description: Delete the specified service account secret key.
operationId: deleteSecretKey
responses:
'200':
description: Ok
'/v1.1/serviceaccounts/{serviceAccountId}/keys/{keyId}/jwt':
parameters:
- $ref: ./parameters/ServiceAccountId.yaml
- $ref: ./parameters/KeyId.yaml
get:
tags:
- ServiceAccount
description: Get an account-scoped JWT for the specified service account secret key.
operationId: getJwt
responses:
'200':
description: Ok
schema:
$ref: ./definitions/JwtResponse.yaml
/v1.1/apps:
post:
tags:
- App
description: Create a new app.
operationId: createApp
parameters:
- $ref: ./parameters/AppCreate.yaml
responses:
'201':
description: Created
schema:
$ref: ./definitions/AppResponse.yaml
get:
tags:
- App
description: List all apps configured.
operationId: listApps
parameters:
- name: limit
in: query
description: The number of records to return.
type: integer
default: 25
- name: offset
in: query
description: >-
The number of initial records to skip before picking records to
return.
type: integer
default: 0
- name: serviceAccountId
in: query
description: The service account ID for which to list apps.
type: string
default: ''
responses:
'200':
description: Ok
schema:
$ref: ./definitions/ListAppsResponse.yaml
'/v1.1/apps/{appId}':
parameters:
- $ref: ./parameters/AppId.yaml
get:
tags:
- App
description: Get the specified app.
operationId: getApp
responses:
'200':
description: Ok
schema:
$ref: ./definitions/AppResponse.yaml
put:
tags:
- App
description: Update the specified app.
operationId: updateApp
parameters:
- $ref: ./parameters/AppUpdate.yaml
responses:
'200':
description: Ok
schema:
$ref: ./definitions/AppResponse.yaml
delete:
tags:
- App
description: Delete the specified app.
operationId: deleteApp
responses:
'200':
description: Ok
'/v1.1/apps/{appId}/keys':
parameters:
- $ref: ./parameters/AppId.yaml
post:
tags:
- App
description: Create a secret key for the specified app.
operationId: createSecretKey
parameters:
- $ref: ./parameters/SecretKeyCreate.yaml
responses:
'200':
description: Ok
schema:
$ref: ./definitions/SecretKeyResponse.yaml
get:
tags:
- App
description: List the secret keys for the specified app.
operationId: listSecretKeys
responses:
'200':
description: Ok
schema:
$ref: ./definitions/ListSecretKeysResponse.yaml
'/v1.1/apps/{appId}/keys/{keyId}':
parameters:
- $ref: ./parameters/AppId.yaml
- $ref: ./parameters/KeyId.yaml
get:
tags:
- App
description: Get the specified secret key.
operationId: getSecretKey
responses:
'200':
description: Ok
schema:
$ref: ./definitions/SecretKeyResponse.yaml
delete:
tags:
- App
description: Delete the specified secret key.
operationId: deleteSecretKey
responses:
'200':
description: Ok
'/v1.1/apps/{appId}/keys/{keyId}/jwt':
parameters:
- $ref: ./parameters/AppId.yaml
- $ref: ./parameters/KeyId.yaml
get:
tags:
- App
description: Get an app-scoped JWT for the specified secret key.
operationId: getAppJwt
responses:
'200':
description: Ok
schema:
$ref: ./definitions/JwtResponse.yaml
'/v1.1/apps/{appId}/integrations':
parameters:
- $ref: ./parameters/AppId.yaml
post:
tags:
- Integration
description: Create an integration for the specified app.
operationId: createIntegration
parameters:
- $ref: ./parameters/IntegrationCreate.yaml
responses:
'201':
description: Created
schema:
$ref: ./definitions/IntegrationResponse.yaml
get:
tags:
- Integration
description: List integrations for the specified app.
operationId: listIntegrations
parameters:
- name: types
in: query
description: >
List of types to filter the query by.
More than one value can be specified through comma separation e.g.
?types=*twilio*,*line*.
type: string
- name: limit
in: query
description: The number of records to return.
type: integer
default: 25
- name: offset
in: query
description: >-
The number of initial records to skip before picking records to
return.
type: integer
default: 0
responses:
'200':
description: Ok
schema:
$ref: ./definitions/ListIntegrationsResponse.yaml
'/v1.1/apps/{appId}/integrations/{integrationId}':
parameters:
- $ref: ./parameters/AppId.yaml
- $ref: ./parameters/IntegrationId.yaml
get:
tags:
- Integration
description: Get the specified integration.
operationId: getIntegration
responses:
'200':
description: Ok
schema:
$ref: ./definitions/IntegrationResponse.yaml
put:
tags:
- Integration
description: Update the specified integration.
operationId: updateIntegration
parameters:
- $ref: ./parameters/IntegrationUpdate.yaml
responses:
'200':
description: Ok
schema:
$ref: ./definitions/IntegrationResponse.yaml
delete:
tags:
- Integration
description: Delete the specified integration.
operationId: deleteIntegration
responses:
'200':
description: Ok
'/v1.1/apps/{appId}/integrations/{integrationId}/menu':
parameters:
- $ref: ./parameters/AppId.yaml
- $ref: ./parameters/IntegrationId.yaml
get:
tags:
- Integration
description: Get the specified integration's menu.
operationId: getIntegrationMenu
responses:
'200':
description: Ok
schema:
$ref: ./definitions/MenuResponse.yaml
post:
tags:
- Integration
description: >-
Create the specified integration’s menu, overriding the app menu if
configured.
operationId: createIntegrationMenu
parameters:
- $ref: ./parameters/MenuCreate.yaml
responses:
'201':
description: Created
schema:
$ref: ./definitions/MenuResponse.yaml
put:
tags:
- Integration
description: Update the specified integration’s menu.
operationId: updateIntegrationMenu
parameters:
- $ref: ./parameters/MenuUpdate.yaml
responses:
'200':
description: Ok
schema:
$ref: ./definitions/MenuResponse.yaml
delete:
tags:
- Integration
description: Delete the specified integration’s menu.
operationId: deleteIntegrationMenu
responses:
'200':
description: Ok
'/v1.1/apps/{appId}/integrations/{integrationId}/profile':
parameters:
- $ref: ./parameters/AppId.yaml
- $ref: ./parameters/IntegrationId.yaml
put:
tags:
- Integration
description: Update the specified integration’s profile.
operationId: updateIntegrationProfile
parameters:
- $ref: ./parameters/IntegrationProfileUpdate.yaml
responses:
'200':
description: Ok
'/v1.1/apps/{appId}/webhooks':
parameters:
- $ref: ./parameters/AppId.yaml
post:
tags:
- Webhook
description: Create a webhook for the specified app.
operationId: createWebhook
parameters:
- $ref: ./parameters/WebhookCreate.yaml
responses:
'201':
description: Created
schema:
$ref: ./definitions/WebhookResponse.yaml
get:
tags:
- Webhook
description: List webhooks for the specified app.
operationId: listWebhooks
responses:
'200':
description: Ok
schema:
$ref: ./definitions/ListWebhooksResponse.yaml
'/v1.1/apps/{appId}/webhooks/{webhookId}':
parameters:
- $ref: ./parameters/AppId.yaml
- $ref: ./parameters/WebhookId.yaml
get:
tags:
- Webhook
description: Get the specified webhook.
operationId: getWebhook
responses:
'200':
description: Ok
schema:
$ref: ./definitions/WebhookResponse.yaml
put:
tags:
- Webhook
description: Update the specified webhook.
operationId: updateWebhook
parameters:
- $ref: ./parameters/WebhookUpdate.yaml
responses:
'200':
description: Ok
schema:
$ref: ./definitions/WebhookResponse.yaml
delete:
tags:
- Webhook
description: Delete the specified webhook.
operationId: deleteWebhook
responses:
'200':
description: Ok
'/v1.1/apps/{appId}/attachments':
parameters:
- $ref: ./parameters/AppId.yaml
post:
tags:
- Attachments
description: Upload an attachment to Smooch to use in future messages.
operationId: uploadAttachment
consumes:
- multipart/form-data
parameters:
- name: source
in: formData
description: File to be uploaded
required: true
type: file
- name: access
in: query
description: Access level for the resulting file
required: true
type: string
- name: for
in: query
description: The intended container for the attachment
required: false
type: string
- name: appUserId
in: query
description: |
The appUserId of the user that will receive the attachment
Used in attachments for messages
required: false
type: string
- name: userId
in: query
description: |
The userId of the user that will receive the attachment
Used in attachments for messages
required: false
type: string
responses:
'201':
description: Created
schema:
$ref: ./definitions/AttachmentResponse.yaml
'/v1.1/apps/{appId}/attachments/remove':
parameters:
- $ref: ./parameters/AppId.yaml
post:
tags:
- Attachments
description: Remove an attachment uploaded to Smooch.
operationId: removeAttachment
parameters:
- $ref: ./parameters/AttachmentRemove.yaml
responses:
'200':
description: Ok
'/v1.1/apps/{appId}/templates':
parameters:
- $ref: ./parameters/AppId.yaml
post:
tags:
- Template
description: Create a template for the specified app.
operationId: createTemplate
parameters:
- $ref: ./parameters/TemplateCreate.yaml
responses:
'201':
description: Created
schema:
$ref: ./definitions/TemplateResponse.yaml
get:
tags:
- Template
description: List templates for the specified app.
operationId: listTemplates
parameters:
- name: limit
in: query
description: The number of records to return.
type: integer
default: 25
- name: offset
in: query
description: >-
The number of initial records to skip before picking records to
return.
type: integer
default: 0
responses:
'200':
description: Ok
schema:
$ref: ./definitions/ListTemplatesResponse.yaml
'/v1.1/apps/{appId}/templates/{templateId}':
parameters:
- $ref: ./parameters/AppId.yaml
- $ref: ./parameters/TemplateId.yaml
get:
tags:
- Template
description: Get the specified template.
operationId: getTemplate
responses:
'200':
description: Ok
schema:
$ref: ./definitions/TemplateResponse.yaml
put:
tags:
- Template
description: Update the specified template.
operationId: updateTemplate
parameters:
- $ref: ./parameters/TemplateUpdate.yaml
responses:
'200':
description: Ok
schema:
$ref: ./definitions/TemplateResponse.yaml
delete:
tags:
- Template
description: Delete the specified template.
operationId: deleteTemplate
responses:
'200':
description: Ok