File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 12431243 }
12441244 }
12451245 },
1246+ "/api/v2/attachments/download/{id}" : {
1247+ "get" : {
1248+ "tags" : [
1249+ " attachments"
1250+ ],
1251+ "summary" : " Download attachment" ,
1252+ "description" : " Download an attachment by ID. `uid` query parameter is required." ,
1253+ "operationId" : " adf9081332610a149939c162b95e5286" ,
1254+ "parameters" : [
1255+ {
1256+ "name" : " id" ,
1257+ "in" : " path" ,
1258+ "description" : " Attachment ID" ,
1259+ "required" : true ,
1260+ "schema" : {
1261+ "type" : " integer"
1262+ }
1263+ },
1264+ {
1265+ "name" : " uid" ,
1266+ "in" : " query" ,
1267+ "description" : " Download token (subscriber email or word \" forwarded\" )" ,
1268+ "required" : true ,
1269+ "schema" : {
1270+ "type" : " string"
1271+ }
1272+ }
1273+ ],
1274+ "responses" : {
1275+ "200" : {
1276+ "description" : " File stream"
1277+ },
1278+ "403" : {
1279+ "description" : " Unauthorized"
1280+ },
1281+ "404" : {
1282+ "description" : " Not found"
1283+ }
1284+ }
1285+ }
1286+ },
12461287 "/api/v2/bounces/regex" : {
12471288 "get" : {
12481289 "tags" : [
71367177 "name" : " sessions" ,
71377178 "description" : " sessions"
71387179 },
7180+ {
7181+ "name" : " attachments" ,
7182+ "description" : " attachments"
7183+ },
71397184 {
71407185 "name" : " bounces" ,
71417186 "description" : " bounces"
You can’t perform that action at this time.
0 commit comments