2323 - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
2424 termsOfService : https://www.dyspatch.io/legal/terms-of-service/
2525 title : Dyspatch API
26- version : " 2020.04 "
26+ version : " 2020.08 "
2727 x-logo :
2828 url : /api/dyspatch_logo.png
2929servers :
6161 type : string
6262 style : form
6363 - description : A version of the API that should be used for the request. For
64- example, to use version "2020.04 ", set the value to "application/vnd.dyspatch.2020.04 +json"
64+ example, to use version "2020.08 ", set the value to "application/vnd.dyspatch.2020.08 +json"
6565 explode : false
6666 in : header
6767 name : Accept
7272 responses :
7373 " 200 " :
7474 content :
75- application/vnd.dyspatch.2020.04 +json :
75+ application/vnd.dyspatch.2020.08 +json :
7676 schema :
7777 $ref : ' #/components/schemas/TemplatesRead'
7878 description : A list of templates
@@ -166,7 +166,7 @@ paths:
166166 summary : List Templates
167167 tags :
168168 - Templates
169- x-accepts : ' */*,application/vnd.dyspatch.2020.04 +json'
169+ x-accepts : ' */*,application/vnd.dyspatch.2020.08 +json'
170170 /templates/{templateId} :
171171 get :
172172 description : Gets a template object with the matching ID. If the template has
@@ -195,10 +195,11 @@ paths:
195195 - freemarker
196196 - cheetah
197197 - jinja
198+ - liquid
198199 type : string
199200 style : form
200201 - description : A version of the API that should be used for the request. For
201- example, to use version "2020.04 ", set the value to "application/vnd.dyspatch.2020.04 +json"
202+ example, to use version "2020.08 ", set the value to "application/vnd.dyspatch.2020.08 +json"
202203 explode : false
203204 in : header
204205 name : Accept
@@ -209,7 +210,7 @@ paths:
209210 responses :
210211 " 200 " :
211212 content :
212- application/vnd.dyspatch.2020.04 +json :
213+ application/vnd.dyspatch.2020.08 +json :
213214 schema :
214215 $ref : ' #/components/schemas/TemplateRead'
215216 description : A template object with the requested ID. If the template has
@@ -317,7 +318,7 @@ paths:
317318 summary : Get Template by ID
318319 tags :
319320 - Templates
320- x-accepts : ' */*,application/vnd.dyspatch.2020.04 +json'
321+ x-accepts : ' */*,application/vnd.dyspatch.2020.08 +json'
321322 /drafts :
322323 get :
323324 description : Returns all drafts for your organization.
@@ -343,7 +344,7 @@ paths:
343344 type : string
344345 style : form
345346 - description : A version of the API that should be used for the request. For
346- example, to use version "2020.04 ", set the value to "application/vnd.dyspatch.2020.04 +json"
347+ example, to use version "2020.08 ", set the value to "application/vnd.dyspatch.2020.08 +json"
347348 explode : false
348349 in : header
349350 name : Accept
@@ -354,7 +355,7 @@ paths:
354355 responses :
355356 " 200 " :
356357 content :
357- application/vnd.dyspatch.2020.04 +json :
358+ application/vnd.dyspatch.2020.08 +json :
358359 schema :
359360 $ref : ' #/components/schemas/DraftsRead'
360361 description : Drafts
@@ -461,7 +462,7 @@ paths:
461462 summary : List Drafts
462463 tags :
463464 - Drafts
464- x-accepts : ' */*,application/vnd.dyspatch.2020.04 +json'
465+ x-accepts : ' */*,application/vnd.dyspatch.2020.08 +json'
465466 /drafts/{draftId}/publishRequest :
466467 post :
467468 description : Moves the draft into submitted state.
@@ -476,7 +477,7 @@ paths:
476477 type : string
477478 style : simple
478479 - description : A version of the API that should be used for the request. For
479- example, to use version "2020.04 ", set the value to "application/vnd.dyspatch.2020.04 +json"
480+ example, to use version "2020.08 ", set the value to "application/vnd.dyspatch.2020.08 +json"
480481 explode : false
481482 in : header
482483 name : Accept
@@ -612,10 +613,11 @@ paths:
612613 - freemarker
613614 - cheetah
614615 - jinja
616+ - liquid
615617 type : string
616618 style : form
617619 - description : A version of the API that should be used for the request. For
618- example, to use version "2020.04 ", set the value to "application/vnd.dyspatch.2020.04 +json"
620+ example, to use version "2020.08 ", set the value to "application/vnd.dyspatch.2020.08 +json"
619621 explode : false
620622 in : header
621623 name : Accept
@@ -626,7 +628,7 @@ paths:
626628 responses :
627629 " 200 " :
628630 content :
629- application/vnd.dyspatch.2020.04 +json :
631+ application/vnd.dyspatch.2020.08 +json :
630632 schema :
631633 $ref : ' #/components/schemas/DraftRead'
632634 description : A draft object with the requested ID.
@@ -733,7 +735,7 @@ paths:
733735 summary : Get Draft by ID
734736 tags :
735737 - Drafts
736- x-accepts : ' */*,application/vnd.dyspatch.2020.04 +json'
738+ x-accepts : ' */*,application/vnd.dyspatch.2020.08 +json'
737739 /drafts/{draftId}/localizations :
738740 get :
739741 description : Returns localization metadata for the draft
@@ -748,7 +750,7 @@ paths:
748750 type : string
749751 style : simple
750752 - description : A version of the API that should be used for the request. For
751- example, to use version "2020.04 ", set the value to "application/vnd.dyspatch.2020.04 +json"
753+ example, to use version "2020.08 ", set the value to "application/vnd.dyspatch.2020.08 +json"
752754 explode : false
753755 in : header
754756 name : Accept
@@ -759,7 +761,7 @@ paths:
759761 responses :
760762 " 200 " :
761763 content :
762- application/vnd.dyspatch.2020.04 +json :
764+ application/vnd.dyspatch.2020.08 +json :
763765 schema :
764766 items :
765767 $ref : ' #/components/schemas/LocalizationMetaRead'
@@ -777,7 +779,7 @@ paths:
777779 summary : Get localizations on a draft
778780 tags :
779781 - Drafts
780- x-accepts : application/vnd.dyspatch.2020.04 +json
782+ x-accepts : application/vnd.dyspatch.2020.08 +json
781783 /drafts/{draftId}/localizations/{languageId} :
782784 delete :
783785 description : Deletes the localization with the given language ID if it exists
@@ -800,7 +802,7 @@ paths:
800802 type : string
801803 style : simple
802804 - description : A version of the API that should be used for the request. For
803- example, to use version "2020.04 ", set the value to "application/vnd.dyspatch.2020.04 +json"
805+ example, to use version "2020.08 ", set the value to "application/vnd.dyspatch.2020.08 +json"
804806 explode : false
805807 in : header
806808 name : Accept
@@ -839,7 +841,7 @@ paths:
839841 type : string
840842 style : simple
841843 - description : A version of the API that should be used for the request. For
842- example, to use version "2020.04 ", set the value to "application/vnd.dyspatch.2020.04 +json"
844+ example, to use version "2020.08 ", set the value to "application/vnd.dyspatch.2020.08 +json"
843845 explode : false
844846 in : header
845847 name : Accept
@@ -896,7 +898,7 @@ paths:
896898 type : string
897899 style : simple
898900 - description : A version of the API that should be used for the request. For
899- example, to use version "2020.04 ", set the value to "application/vnd.dyspatch.2020.04 +json"
901+ example, to use version "2020.08 ", set the value to "application/vnd.dyspatch.2020.08 +json"
900902 explode : false
901903 in : header
902904 name : Accept
@@ -941,8 +943,8 @@ paths:
941943 /drafts/{draftId}/localizationKeys :
942944 get :
943945 description : Returns the list of values that need to be translated for the draft.
944- Set the `Accept` header to `application/vnd.dyspatch.2020.04 +json` to get
945- a JSON object, or `text/vnd.dyspatch.2020.04 +x-gettext-translation` to get
946+ Set the `Accept` header to `application/vnd.dyspatch.2020.08 +json` to get
947+ a JSON object, or `text/vnd.dyspatch.2020.08 +x-gettext-translation` to get
946948 the POT file.
947949 operationId : getDraftLocalizationKeys
948950 parameters :
@@ -955,7 +957,7 @@ paths:
955957 type : string
956958 style : simple
957959 - description : A version of the API that should be used for the request. For
958- example, to use version "2020.04 ", set the value to "application/vnd.dyspatch.2020.04 +json"
960+ example, to use version "2020.08 ", set the value to "application/vnd.dyspatch.2020.08 +json"
959961 explode : false
960962 in : header
961963 name : Accept
@@ -966,12 +968,12 @@ paths:
966968 responses :
967969 " 200 " :
968970 content :
969- application/vnd.dyspatch.2020.04 +json :
971+ application/vnd.dyspatch.2020.08 +json :
970972 schema :
971973 items :
972974 $ref : ' #/components/schemas/LocalizationKeyRead'
973975 type : array
974- text/vnd.dyspatch.2020.04 +x-gettext-translation :
976+ text/vnd.dyspatch.2020.08 +x-gettext-translation :
975977 schema :
976978 format : binary
977979 type : string
@@ -981,7 +983,7 @@ paths:
981983 summary : Get localization keys
982984 tags :
983985 - Drafts
984- x-accepts : application/vnd.dyspatch.2020.04 +json,text/vnd.dyspatch.2020.04 +x-gettext-translation
986+ x-accepts : application/vnd.dyspatch.2020.08 +json,text/vnd.dyspatch.2020.08 +x-gettext-translation
985987 /localizations/{localizationId} :
986988 get :
987989 description : Returns a specific localization object with a matching ID
@@ -1009,10 +1011,11 @@ paths:
10091011 - freemarker
10101012 - cheetah
10111013 - jinja
1014+ - liquid
10121015 type : string
10131016 style : form
10141017 - description : A version of the API that should be used for the request. For
1015- example, to use version "2020.04 ", set the value to "application/vnd.dyspatch.2020.04 +json"
1018+ example, to use version "2020.08 ", set the value to "application/vnd.dyspatch.2020.08 +json"
10161019 explode : false
10171020 in : header
10181021 name : Accept
@@ -1023,7 +1026,7 @@ paths:
10231026 responses :
10241027 " 200 " :
10251028 content :
1026- application/vnd.dyspatch.2020.04 +json :
1029+ application/vnd.dyspatch.2020.08 +json :
10271030 schema :
10281031 $ref : ' #/components/schemas/LocalizationRead'
10291032 description : A localization object with the requested ID
@@ -1130,12 +1133,12 @@ paths:
11301133 summary : Get Localization Object by ID
11311134 tags :
11321135 - Localizations
1133- x-accepts : ' */*,application/vnd.dyspatch.2020.04 +json'
1136+ x-accepts : ' */*,application/vnd.dyspatch.2020.08 +json'
11341137components :
11351138 parameters :
11361139 version :
11371140 description : A version of the API that should be used for the request. For example,
1138- to use version "2020.04 ", set the value to "application/vnd.dyspatch.2020.04 +json"
1141+ to use version "2020.08 ", set the value to "application/vnd.dyspatch.2020.08 +json"
11391142 explode : false
11401143 in : header
11411144 name : Accept
@@ -1195,6 +1198,7 @@ components:
11951198 - freemarker
11961199 - cheetah
11971200 - jinja
1201+ - liquid
11981202 type : string
11991203 style : form
12001204 localizationId :
@@ -1491,6 +1495,7 @@ components:
14911495 compiled :
14921496 sender : Example
14931497 subject : subject
1498+ ampHtml : ampHtml
14941499 replyTo : Example
14951500 html : html
14961501 text : text
@@ -1553,6 +1558,7 @@ components:
15531558 compiled :
15541559 sender : Example
15551560 subject : subject
1561+ ampHtml : ampHtml
15561562 replyTo : Example
15571563 html : html
15581564 text : text
@@ -1651,6 +1657,7 @@ components:
16511657 compiled :
16521658 sender : Example
16531659 subject : subject
1660+ ampHtml : ampHtml
16541661 replyTo : Example
16551662 html : html
16561663 text : text
@@ -1808,6 +1815,7 @@ components:
18081815 example :
18091816 sender : Example
18101817 subject : subject
1818+ ampHtml : ampHtml
18111819 replyTo : Example
18121820 html : html
18131821 text : text
@@ -1828,6 +1836,10 @@ components:
18281836 description : Base64 encoded template HTML body
18291837 format : byte
18301838 type : string
1839+ ampHtml :
1840+ description : Base64 encoded amp version of template body
1841+ format : byte
1842+ type : string
18311843 text :
18321844 description : Base64 encoded template text body
18331845 format : byte
@@ -1855,7 +1867,7 @@ components:
18551867 curl --request GET \
18561868 --url https://api.dyspatch.io/templates \
18571869 --header 'Authorization: Bearer EXAMPLEAPIKEYXXXXXXXX12345678' \
1858- --header 'Accept: application/vnd.dyspatch.2020.04 +json'
1870+ --header 'Accept: application/vnd.dyspatch.2020.08 +json'
18591871 ```
18601872 in : header
18611873 name : Authorization
0 commit comments