Commit 4078446ffe728866fe84118af4e4475b9c044df1
1 parent
889c144c
Exists in
master
POST MAN
Showing
1 changed file
with
3185 additions
and
0 deletions
Show diff stats
| @@ -0,0 +1,3185 @@ | @@ -0,0 +1,3185 @@ | ||
| 1 | +{ | ||
| 2 | + "info": { | ||
| 3 | + "_postman_id": "7e523052-8c6c-4731-9b0d-0ec8e61e96c3", | ||
| 4 | + "name": "Z-MessageList", | ||
| 5 | + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | ||
| 6 | + }, | ||
| 7 | + "item": [ | ||
| 8 | + { | ||
| 9 | + "name": "ByMyAPI", | ||
| 10 | + "item": [ | ||
| 11 | + { | ||
| 12 | + "name": "code push message", | ||
| 13 | + "request": { | ||
| 14 | + "method": "POST", | ||
| 15 | + "header": [], | ||
| 16 | + "body": { | ||
| 17 | + "mode": "raw", | ||
| 18 | + "raw": "{\r\n \"user_id\": \"Uaac2ca5a02feab67a18d5521b572b5aa\",\r\n \"message\": {\r\n \"type\": \"text\",\r\n \"text\": \"Hello Quick Reply!\",\r\n \"quickReply\": {\r\n \"items\": [\r\n {\r\n \"type\": \"action\",\r\n \"action\": {\r\n \"type\": \"uri\",\r\n \"label\": \"Add to Cart\",\r\n \"uri\": \"https://developers.line.me\"\r\n }\r\n },\r\n {\r\n \"type\": \"action\",\r\n \"action\": {\r\n \"type\": \"postback\",\r\n \"label\": \"Postback\",\r\n \"data\": \"action=buy&itemid=123\"\r\n }\r\n },\r\n {\r\n \"type\": \"action\",\r\n \"action\": {\r\n \"type\": \"datetimepicker\",\r\n \"label\": \"Datetime Picker\",\r\n \"data\": \"storeId=12345\",\r\n \"mode\": \"datetime\",\r\n \"initial\": \"2018-09-11T00:00\",\r\n \"max\": \"2018-12-31T23:59\",\r\n \"min\": \"2018-01-01T00:00\"\r\n }\r\n },\r\n {\r\n \"type\": \"action\",\r\n \"action\": {\r\n \"type\": \"camera\",\r\n \"label\": \"Camera\"\r\n }\r\n },\r\n {\r\n \"type\": \"action\",\r\n \"action\": {\r\n \"type\": \"cameraRoll\",\r\n \"label\": \"Gallery\"\r\n }\r\n },\r\n {\r\n \"type\": \"action\",\r\n \"action\": {\r\n \"type\": \"location\",\r\n \"label\": \"Location\"\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n}", | ||
| 19 | + "options": { | ||
| 20 | + "raw": { | ||
| 21 | + "language": "json" | ||
| 22 | + } | ||
| 23 | + } | ||
| 24 | + }, | ||
| 25 | + "url": { | ||
| 26 | + "raw": "http://localhost:3000/push", | ||
| 27 | + "protocol": "http", | ||
| 28 | + "host": [ | ||
| 29 | + "localhost" | ||
| 30 | + ], | ||
| 31 | + "port": "3000", | ||
| 32 | + "path": [ | ||
| 33 | + "push" | ||
| 34 | + ] | ||
| 35 | + } | ||
| 36 | + }, | ||
| 37 | + "response": [] | ||
| 38 | + }, | ||
| 39 | + { | ||
| 40 | + "name": "code multicast", | ||
| 41 | + "request": { | ||
| 42 | + "method": "POST", | ||
| 43 | + "header": [], | ||
| 44 | + "body": { | ||
| 45 | + "mode": "raw", | ||
| 46 | + "raw": "{\r\n \"user_ids\": [\r\n \"Uaac2ca5a02feab67a18d5521b572b5aa\"\r\n ]\r\n}", | ||
| 47 | + "options": { | ||
| 48 | + "raw": { | ||
| 49 | + "language": "json" | ||
| 50 | + } | ||
| 51 | + } | ||
| 52 | + }, | ||
| 53 | + "url": { | ||
| 54 | + "raw": "http://localhost:3000/multicast", | ||
| 55 | + "protocol": "http", | ||
| 56 | + "host": [ | ||
| 57 | + "localhost" | ||
| 58 | + ], | ||
| 59 | + "port": "3000", | ||
| 60 | + "path": [ | ||
| 61 | + "multicast" | ||
| 62 | + ] | ||
| 63 | + } | ||
| 64 | + }, | ||
| 65 | + "response": [] | ||
| 66 | + }, | ||
| 67 | + { | ||
| 68 | + "name": "code broadcast", | ||
| 69 | + "request": { | ||
| 70 | + "method": "POST", | ||
| 71 | + "header": [], | ||
| 72 | + "body": { | ||
| 73 | + "mode": "raw", | ||
| 74 | + "raw": "{\r\n \"messages\": [\r\n {\r\n \"type\": \"text\",\r\n \"text\": \"Hello, world1\"\r\n },\r\n {\r\n \"type\": \"text\",\r\n \"text\": \"Hello, world2\"\r\n }\r\n ]\r\n}", | ||
| 75 | + "options": { | ||
| 76 | + "raw": { | ||
| 77 | + "language": "json" | ||
| 78 | + } | ||
| 79 | + } | ||
| 80 | + }, | ||
| 81 | + "url": { | ||
| 82 | + "raw": "http://localhost:3000/broadcast", | ||
| 83 | + "protocol": "http", | ||
| 84 | + "host": [ | ||
| 85 | + "localhost" | ||
| 86 | + ], | ||
| 87 | + "port": "3000", | ||
| 88 | + "path": [ | ||
| 89 | + "broadcast" | ||
| 90 | + ] | ||
| 91 | + } | ||
| 92 | + }, | ||
| 93 | + "response": [] | ||
| 94 | + }, | ||
| 95 | + { | ||
| 96 | + "name": "saveFileLine", | ||
| 97 | + "request": { | ||
| 98 | + "method": "POST", | ||
| 99 | + "header": [ | ||
| 100 | + { | ||
| 101 | + "key": "Authorization", | ||
| 102 | + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", | ||
| 103 | + "type": "text" | ||
| 104 | + }, | ||
| 105 | + { | ||
| 106 | + "key": "Content-Type", | ||
| 107 | + "value": "application/json", | ||
| 108 | + "type": "text" | ||
| 109 | + } | ||
| 110 | + ], | ||
| 111 | + "body": { | ||
| 112 | + "mode": "raw", | ||
| 113 | + "raw": "{\r\n \"message_id\":\"14976544649995\"\r\n}" | ||
| 114 | + }, | ||
| 115 | + "url": { | ||
| 116 | + "raw": "http://localhost:3000/save", | ||
| 117 | + "protocol": "http", | ||
| 118 | + "host": [ | ||
| 119 | + "localhost" | ||
| 120 | + ], | ||
| 121 | + "port": "3000", | ||
| 122 | + "path": [ | ||
| 123 | + "save" | ||
| 124 | + ] | ||
| 125 | + } | ||
| 126 | + }, | ||
| 127 | + "response": [] | ||
| 128 | + } | ||
| 129 | + ] | ||
| 130 | + }, | ||
| 131 | + { | ||
| 132 | + "name": "ByLine", | ||
| 133 | + "item": [ | ||
| 134 | + { | ||
| 135 | + "name": "Audience", | ||
| 136 | + "item": [ | ||
| 137 | + { | ||
| 138 | + "name": "Create audience", | ||
| 139 | + "event": [ | ||
| 140 | + { | ||
| 141 | + "listen": "test", | ||
| 142 | + "script": { | ||
| 143 | + "exec": [ | ||
| 144 | + "// 14975650341173 video Umaru\r", | ||
| 145 | + "// 14955535936627 รูปภาพ\r", | ||
| 146 | + "// 14975790575610 เสียง\r", | ||
| 147 | + "" | ||
| 148 | + ], | ||
| 149 | + "type": "text/javascript" | ||
| 150 | + } | ||
| 151 | + } | ||
| 152 | + ], | ||
| 153 | + "request": { | ||
| 154 | + "method": "POST", | ||
| 155 | + "header": [ | ||
| 156 | + { | ||
| 157 | + "key": "Authorization", | ||
| 158 | + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", | ||
| 159 | + "type": "text" | ||
| 160 | + }, | ||
| 161 | + { | ||
| 162 | + "key": "Content-Type", | ||
| 163 | + "value": "application/json", | ||
| 164 | + "type": "text" | ||
| 165 | + } | ||
| 166 | + ], | ||
| 167 | + "body": { | ||
| 168 | + "mode": "raw", | ||
| 169 | + "raw": "{\r\n \"description\": \"gang01\",\r\n \"isIfaAudience\": false,\r\n \"audiences\": []\r\n}", | ||
| 170 | + "options": { | ||
| 171 | + "raw": { | ||
| 172 | + "language": "json" | ||
| 173 | + } | ||
| 174 | + } | ||
| 175 | + }, | ||
| 176 | + "url": { | ||
| 177 | + "raw": "https://api.line.me/v2/bot/audienceGroup/upload", | ||
| 178 | + "protocol": "https", | ||
| 179 | + "host": [ | ||
| 180 | + "api", | ||
| 181 | + "line", | ||
| 182 | + "me" | ||
| 183 | + ], | ||
| 184 | + "path": [ | ||
| 185 | + "v2", | ||
| 186 | + "bot", | ||
| 187 | + "audienceGroup", | ||
| 188 | + "upload" | ||
| 189 | + ] | ||
| 190 | + } | ||
| 191 | + }, | ||
| 192 | + "response": [] | ||
| 193 | + }, | ||
| 194 | + { | ||
| 195 | + "name": "Update audience", | ||
| 196 | + "event": [ | ||
| 197 | + { | ||
| 198 | + "listen": "test", | ||
| 199 | + "script": { | ||
| 200 | + "exec": [ | ||
| 201 | + "// 14975650341173 video Umaru\r", | ||
| 202 | + "// 14955535936627 รูปภาพ\r", | ||
| 203 | + "// 14975790575610 เสียง\r", | ||
| 204 | + "" | ||
| 205 | + ], | ||
| 206 | + "type": "text/javascript" | ||
| 207 | + } | ||
| 208 | + } | ||
| 209 | + ], | ||
| 210 | + "request": { | ||
| 211 | + "method": "PUT", | ||
| 212 | + "header": [ | ||
| 213 | + { | ||
| 214 | + "key": "Authorization", | ||
| 215 | + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", | ||
| 216 | + "type": "text" | ||
| 217 | + }, | ||
| 218 | + { | ||
| 219 | + "key": "Content-Type", | ||
| 220 | + "value": "application/json", | ||
| 221 | + "type": "text" | ||
| 222 | + } | ||
| 223 | + ], | ||
| 224 | + "body": { | ||
| 225 | + "mode": "raw", | ||
| 226 | + "raw": "{\r\n \"audienceGroupId\":\"2575099999989\",\r\n \"uploadDescription\": \"id : Ua8cbdeaefaf6550a3b9f5159f8fca76c\",\r\n \"audiences\": [{\r\n \"id\":\"Ua8cbdeaefaf6550a3b9f5159f8fca76c\"\r\n }]\r\n}", | ||
| 227 | + "options": { | ||
| 228 | + "raw": { | ||
| 229 | + "language": "json" | ||
| 230 | + } | ||
| 231 | + } | ||
| 232 | + }, | ||
| 233 | + "url": { | ||
| 234 | + "raw": "https://api.line.me/v2/bot/audienceGroup/upload", | ||
| 235 | + "protocol": "https", | ||
| 236 | + "host": [ | ||
| 237 | + "api", | ||
| 238 | + "line", | ||
| 239 | + "me" | ||
| 240 | + ], | ||
| 241 | + "path": [ | ||
| 242 | + "v2", | ||
| 243 | + "bot", | ||
| 244 | + "audienceGroup", | ||
| 245 | + "upload" | ||
| 246 | + ] | ||
| 247 | + } | ||
| 248 | + }, | ||
| 249 | + "response": [] | ||
| 250 | + }, | ||
| 251 | + { | ||
| 252 | + "name": "Rename an audience", | ||
| 253 | + "event": [ | ||
| 254 | + { | ||
| 255 | + "listen": "test", | ||
| 256 | + "script": { | ||
| 257 | + "exec": [ | ||
| 258 | + "// 14975650341173 video Umaru\r", | ||
| 259 | + "// 14955535936627 รูปภาพ\r", | ||
| 260 | + "// 14975790575610 เสียง\r", | ||
| 261 | + "" | ||
| 262 | + ], | ||
| 263 | + "type": "text/javascript" | ||
| 264 | + } | ||
| 265 | + } | ||
| 266 | + ], | ||
| 267 | + "request": { | ||
| 268 | + "method": "PUT", | ||
| 269 | + "header": [ | ||
| 270 | + { | ||
| 271 | + "key": "Authorization", | ||
| 272 | + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", | ||
| 273 | + "type": "text" | ||
| 274 | + }, | ||
| 275 | + { | ||
| 276 | + "key": "Content-Type", | ||
| 277 | + "value": "application/json", | ||
| 278 | + "type": "text" | ||
| 279 | + } | ||
| 280 | + ], | ||
| 281 | + "body": { | ||
| 282 | + "mode": "raw", | ||
| 283 | + "raw": "{\r\n \"description\": \"GROUPA\"\r\n}", | ||
| 284 | + "options": { | ||
| 285 | + "raw": { | ||
| 286 | + "language": "json" | ||
| 287 | + } | ||
| 288 | + } | ||
| 289 | + }, | ||
| 290 | + "url": { | ||
| 291 | + "raw": "https://api.line.me/v2/bot/audienceGroup/8724357860597/updateDescription", | ||
| 292 | + "protocol": "https", | ||
| 293 | + "host": [ | ||
| 294 | + "api", | ||
| 295 | + "line", | ||
| 296 | + "me" | ||
| 297 | + ], | ||
| 298 | + "path": [ | ||
| 299 | + "v2", | ||
| 300 | + "bot", | ||
| 301 | + "audienceGroup", | ||
| 302 | + "8724357860597", | ||
| 303 | + "updateDescription" | ||
| 304 | + ] | ||
| 305 | + } | ||
| 306 | + }, | ||
| 307 | + "response": [] | ||
| 308 | + }, | ||
| 309 | + { | ||
| 310 | + "name": "Activate audience", | ||
| 311 | + "event": [ | ||
| 312 | + { | ||
| 313 | + "listen": "test", | ||
| 314 | + "script": { | ||
| 315 | + "exec": [ | ||
| 316 | + "// 14975650341173 video Umaru\r", | ||
| 317 | + "// 14955535936627 รูปภาพ\r", | ||
| 318 | + "// 14975790575610 เสียง\r", | ||
| 319 | + "" | ||
| 320 | + ], | ||
| 321 | + "type": "text/javascript" | ||
| 322 | + } | ||
| 323 | + } | ||
| 324 | + ], | ||
| 325 | + "request": { | ||
| 326 | + "method": "PUT", | ||
| 327 | + "header": [ | ||
| 328 | + { | ||
| 329 | + "key": "Authorization", | ||
| 330 | + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", | ||
| 331 | + "type": "text" | ||
| 332 | + }, | ||
| 333 | + { | ||
| 334 | + "key": "Content-Type", | ||
| 335 | + "value": "application/json", | ||
| 336 | + "type": "text" | ||
| 337 | + } | ||
| 338 | + ], | ||
| 339 | + "body": { | ||
| 340 | + "mode": "raw", | ||
| 341 | + "raw": "", | ||
| 342 | + "options": { | ||
| 343 | + "raw": { | ||
| 344 | + "language": "json" | ||
| 345 | + } | ||
| 346 | + } | ||
| 347 | + }, | ||
| 348 | + "url": { | ||
| 349 | + "raw": "https://api.line.me/v2/bot/audienceGroup/3641589622255/activate", | ||
| 350 | + "protocol": "https", | ||
| 351 | + "host": [ | ||
| 352 | + "api", | ||
| 353 | + "line", | ||
| 354 | + "me" | ||
| 355 | + ], | ||
| 356 | + "path": [ | ||
| 357 | + "v2", | ||
| 358 | + "bot", | ||
| 359 | + "audienceGroup", | ||
| 360 | + "3641589622255", | ||
| 361 | + "activate" | ||
| 362 | + ] | ||
| 363 | + } | ||
| 364 | + }, | ||
| 365 | + "response": [] | ||
| 366 | + }, | ||
| 367 | + { | ||
| 368 | + "name": "Delete audience", | ||
| 369 | + "event": [ | ||
| 370 | + { | ||
| 371 | + "listen": "test", | ||
| 372 | + "script": { | ||
| 373 | + "exec": [ | ||
| 374 | + "// 14975650341173 video Umaru\r", | ||
| 375 | + "// 14955535936627 รูปภาพ\r", | ||
| 376 | + "// 14975790575610 เสียง\r", | ||
| 377 | + "" | ||
| 378 | + ], | ||
| 379 | + "type": "text/javascript" | ||
| 380 | + } | ||
| 381 | + } | ||
| 382 | + ], | ||
| 383 | + "request": { | ||
| 384 | + "method": "DELETE", | ||
| 385 | + "header": [ | ||
| 386 | + { | ||
| 387 | + "key": "Authorization", | ||
| 388 | + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", | ||
| 389 | + "type": "text" | ||
| 390 | + }, | ||
| 391 | + { | ||
| 392 | + "key": "Content-Type", | ||
| 393 | + "value": "application/json", | ||
| 394 | + "type": "text" | ||
| 395 | + } | ||
| 396 | + ], | ||
| 397 | + "body": { | ||
| 398 | + "mode": "raw", | ||
| 399 | + "raw": "", | ||
| 400 | + "options": { | ||
| 401 | + "raw": { | ||
| 402 | + "language": "json" | ||
| 403 | + } | ||
| 404 | + } | ||
| 405 | + }, | ||
| 406 | + "url": { | ||
| 407 | + "raw": "https://api.line.me/v2/bot/audienceGroup/7158024622225", | ||
| 408 | + "protocol": "https", | ||
| 409 | + "host": [ | ||
| 410 | + "api", | ||
| 411 | + "line", | ||
| 412 | + "me" | ||
| 413 | + ], | ||
| 414 | + "path": [ | ||
| 415 | + "v2", | ||
| 416 | + "bot", | ||
| 417 | + "audienceGroup", | ||
| 418 | + "7158024622225" | ||
| 419 | + ] | ||
| 420 | + } | ||
| 421 | + }, | ||
| 422 | + "response": [] | ||
| 423 | + }, | ||
| 424 | + { | ||
| 425 | + "name": "narrowcast", | ||
| 426 | + "event": [ | ||
| 427 | + { | ||
| 428 | + "listen": "test", | ||
| 429 | + "script": { | ||
| 430 | + "exec": [ | ||
| 431 | + "// 14975650341173 video Umaru\r", | ||
| 432 | + "// 14955535936627 รูปภาพ\r", | ||
| 433 | + "// 14975790575610 เสียง\r", | ||
| 434 | + "" | ||
| 435 | + ], | ||
| 436 | + "type": "text/javascript" | ||
| 437 | + } | ||
| 438 | + } | ||
| 439 | + ], | ||
| 440 | + "request": { | ||
| 441 | + "method": "POST", | ||
| 442 | + "header": [ | ||
| 443 | + { | ||
| 444 | + "key": "Authorization", | ||
| 445 | + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", | ||
| 446 | + "type": "text" | ||
| 447 | + }, | ||
| 448 | + { | ||
| 449 | + "key": "Content-Type", | ||
| 450 | + "value": "application/json", | ||
| 451 | + "type": "text" | ||
| 452 | + } | ||
| 453 | + ], | ||
| 454 | + "body": { | ||
| 455 | + "mode": "raw", | ||
| 456 | + "raw": "{\r\n \"messages\": [\r\n {\r\n \"type\": \"text\",\r\n \"text\": \"Hello Quick Reply!\",\r\n \"quickReply\": {\r\n \"items\": [\r\n {\r\n \"type\": \"action\",\r\n \"action\": {\r\n \"type\": \"uri\",\r\n \"label\": \"linecorp\",\r\n \"uri\": \"https://linecorp.com\"\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}", | ||
| 457 | + "options": { | ||
| 458 | + "raw": { | ||
| 459 | + "language": "json" | ||
| 460 | + } | ||
| 461 | + } | ||
| 462 | + }, | ||
| 463 | + "url": { | ||
| 464 | + "raw": "https://api.line.me/v2/bot/message/narrowcast", | ||
| 465 | + "protocol": "https", | ||
| 466 | + "host": [ | ||
| 467 | + "api", | ||
| 468 | + "line", | ||
| 469 | + "me" | ||
| 470 | + ], | ||
| 471 | + "path": [ | ||
| 472 | + "v2", | ||
| 473 | + "bot", | ||
| 474 | + "message", | ||
| 475 | + "narrowcast" | ||
| 476 | + ] | ||
| 477 | + } | ||
| 478 | + }, | ||
| 479 | + "response": [] | ||
| 480 | + }, | ||
| 481 | + { | ||
| 482 | + "name": "Get audience", | ||
| 483 | + "event": [ | ||
| 484 | + { | ||
| 485 | + "listen": "test", | ||
| 486 | + "script": { | ||
| 487 | + "exec": [ | ||
| 488 | + "// 14975650341173 video Umaru\r", | ||
| 489 | + "// 14955535936627 รูปภาพ\r", | ||
| 490 | + "// 14975790575610 เสียง\r", | ||
| 491 | + "" | ||
| 492 | + ], | ||
| 493 | + "type": "text/javascript" | ||
| 494 | + } | ||
| 495 | + } | ||
| 496 | + ], | ||
| 497 | + "protocolProfileBehavior": { | ||
| 498 | + "disableBodyPruning": true | ||
| 499 | + }, | ||
| 500 | + "request": { | ||
| 501 | + "method": "GET", | ||
| 502 | + "header": [ | ||
| 503 | + { | ||
| 504 | + "key": "Authorization", | ||
| 505 | + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", | ||
| 506 | + "type": "text" | ||
| 507 | + }, | ||
| 508 | + { | ||
| 509 | + "key": "Content-Type", | ||
| 510 | + "value": "application/json", | ||
| 511 | + "type": "text" | ||
| 512 | + } | ||
| 513 | + ], | ||
| 514 | + "body": { | ||
| 515 | + "mode": "raw", | ||
| 516 | + "raw": "{\r\n \"description\": \"14\",\r\n \"isIfaAudience\": false,\r\n \"audiences\": []\r\n}", | ||
| 517 | + "options": { | ||
| 518 | + "raw": { | ||
| 519 | + "language": "json" | ||
| 520 | + } | ||
| 521 | + } | ||
| 522 | + }, | ||
| 523 | + "url": { | ||
| 524 | + "raw": "https://api.line.me/v2/bot/audienceGroup/9507500470438", | ||
| 525 | + "protocol": "https", | ||
| 526 | + "host": [ | ||
| 527 | + "api", | ||
| 528 | + "line", | ||
| 529 | + "me" | ||
| 530 | + ], | ||
| 531 | + "path": [ | ||
| 532 | + "v2", | ||
| 533 | + "bot", | ||
| 534 | + "audienceGroup", | ||
| 535 | + "9507500470438" | ||
| 536 | + ] | ||
| 537 | + } | ||
| 538 | + }, | ||
| 539 | + "response": [] | ||
| 540 | + }, | ||
| 541 | + { | ||
| 542 | + "name": "Update the authority level of the audience", | ||
| 543 | + "event": [ | ||
| 544 | + { | ||
| 545 | + "listen": "test", | ||
| 546 | + "script": { | ||
| 547 | + "exec": [ | ||
| 548 | + "// 14975650341173 video Umaru\r", | ||
| 549 | + "// 14955535936627 รูปภาพ\r", | ||
| 550 | + "// 14975790575610 เสียง\r", | ||
| 551 | + "" | ||
| 552 | + ], | ||
| 553 | + "type": "text/javascript" | ||
| 554 | + } | ||
| 555 | + } | ||
| 556 | + ], | ||
| 557 | + "request": { | ||
| 558 | + "method": "PUT", | ||
| 559 | + "header": [ | ||
| 560 | + { | ||
| 561 | + "key": "Authorization", | ||
| 562 | + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", | ||
| 563 | + "type": "text" | ||
| 564 | + }, | ||
| 565 | + { | ||
| 566 | + "key": "Content-Type", | ||
| 567 | + "value": "application/json", | ||
| 568 | + "type": "text" | ||
| 569 | + } | ||
| 570 | + ], | ||
| 571 | + "body": { | ||
| 572 | + "mode": "raw", | ||
| 573 | + "raw": "{\r\n \"authorityLevel\": \"PUBLIC\"\r\n}", | ||
| 574 | + "options": { | ||
| 575 | + "raw": { | ||
| 576 | + "language": "json" | ||
| 577 | + } | ||
| 578 | + } | ||
| 579 | + }, | ||
| 580 | + "url": { | ||
| 581 | + "raw": "https://api.line.me/v2/bot/audienceGroup/authorityLevel", | ||
| 582 | + "protocol": "https", | ||
| 583 | + "host": [ | ||
| 584 | + "api", | ||
| 585 | + "line", | ||
| 586 | + "me" | ||
| 587 | + ], | ||
| 588 | + "path": [ | ||
| 589 | + "v2", | ||
| 590 | + "bot", | ||
| 591 | + "audienceGroup", | ||
| 592 | + "authorityLevel" | ||
| 593 | + ] | ||
| 594 | + } | ||
| 595 | + }, | ||
| 596 | + "response": [] | ||
| 597 | + }, | ||
| 598 | + { | ||
| 599 | + "name": "Get the authority level of the audience", | ||
| 600 | + "event": [ | ||
| 601 | + { | ||
| 602 | + "listen": "test", | ||
| 603 | + "script": { | ||
| 604 | + "exec": [ | ||
| 605 | + "// 14975650341173 video Umaru\r", | ||
| 606 | + "// 14955535936627 รูปภาพ\r", | ||
| 607 | + "// 14975790575610 เสียง\r", | ||
| 608 | + "" | ||
| 609 | + ], | ||
| 610 | + "type": "text/javascript" | ||
| 611 | + } | ||
| 612 | + } | ||
| 613 | + ], | ||
| 614 | + "request": { | ||
| 615 | + "method": "GET", | ||
| 616 | + "header": [ | ||
| 617 | + { | ||
| 618 | + "key": "Authorization", | ||
| 619 | + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", | ||
| 620 | + "type": "text" | ||
| 621 | + }, | ||
| 622 | + { | ||
| 623 | + "key": "Content-Type", | ||
| 624 | + "value": "application/json", | ||
| 625 | + "type": "text" | ||
| 626 | + } | ||
| 627 | + ], | ||
| 628 | + "url": { | ||
| 629 | + "raw": "https://api.line.me/v2/bot/audienceGroup/authorityLevel", | ||
| 630 | + "protocol": "https", | ||
| 631 | + "host": [ | ||
| 632 | + "api", | ||
| 633 | + "line", | ||
| 634 | + "me" | ||
| 635 | + ], | ||
| 636 | + "path": [ | ||
| 637 | + "v2", | ||
| 638 | + "bot", | ||
| 639 | + "audienceGroup", | ||
| 640 | + "authorityLevel" | ||
| 641 | + ] | ||
| 642 | + } | ||
| 643 | + }, | ||
| 644 | + "response": [] | ||
| 645 | + }, | ||
| 646 | + { | ||
| 647 | + "name": "x Create audience for click-based retargeting", | ||
| 648 | + "event": [ | ||
| 649 | + { | ||
| 650 | + "listen": "test", | ||
| 651 | + "script": { | ||
| 652 | + "exec": [ | ||
| 653 | + "// 14975650341173 video Umaru\r", | ||
| 654 | + "// 14955535936627 รูปภาพ\r", | ||
| 655 | + "// 14975790575610 เสียง\r", | ||
| 656 | + "" | ||
| 657 | + ], | ||
| 658 | + "type": "text/javascript" | ||
| 659 | + } | ||
| 660 | + } | ||
| 661 | + ], | ||
| 662 | + "request": { | ||
| 663 | + "method": "POST", | ||
| 664 | + "header": [ | ||
| 665 | + { | ||
| 666 | + "key": "Authorization", | ||
| 667 | + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", | ||
| 668 | + "type": "text" | ||
| 669 | + }, | ||
| 670 | + { | ||
| 671 | + "key": "Content-Type", | ||
| 672 | + "value": "application/json", | ||
| 673 | + "type": "text" | ||
| 674 | + } | ||
| 675 | + ], | ||
| 676 | + "body": { | ||
| 677 | + "mode": "raw", | ||
| 678 | + "raw": "{\r\n \"description\": \"clickAD1\",\r\n \"requestId\": \"bc41cf95-fa3b-46c2-88fb-6076e560c982\"\r\n}", | ||
| 679 | + "options": { | ||
| 680 | + "raw": { | ||
| 681 | + "language": "json" | ||
| 682 | + } | ||
| 683 | + } | ||
| 684 | + }, | ||
| 685 | + "url": { | ||
| 686 | + "raw": "https://api.line.me/v2/bot/audienceGroup/click", | ||
| 687 | + "protocol": "https", | ||
| 688 | + "host": [ | ||
| 689 | + "api", | ||
| 690 | + "line", | ||
| 691 | + "me" | ||
| 692 | + ], | ||
| 693 | + "path": [ | ||
| 694 | + "v2", | ||
| 695 | + "bot", | ||
| 696 | + "audienceGroup", | ||
| 697 | + "click" | ||
| 698 | + ] | ||
| 699 | + } | ||
| 700 | + }, | ||
| 701 | + "response": [] | ||
| 702 | + }, | ||
| 703 | + { | ||
| 704 | + "name": "x Create audience for impression-based retargeting", | ||
| 705 | + "event": [ | ||
| 706 | + { | ||
| 707 | + "listen": "test", | ||
| 708 | + "script": { | ||
| 709 | + "exec": [ | ||
| 710 | + "// 14975650341173 video Umaru\r", | ||
| 711 | + "// 14955535936627 รูปภาพ\r", | ||
| 712 | + "// 14975790575610 เสียง\r", | ||
| 713 | + "" | ||
| 714 | + ], | ||
| 715 | + "type": "text/javascript" | ||
| 716 | + } | ||
| 717 | + } | ||
| 718 | + ], | ||
| 719 | + "request": { | ||
| 720 | + "method": "POST", | ||
| 721 | + "header": [ | ||
| 722 | + { | ||
| 723 | + "key": "Authorization", | ||
| 724 | + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", | ||
| 725 | + "type": "text" | ||
| 726 | + }, | ||
| 727 | + { | ||
| 728 | + "key": "Content-Type", | ||
| 729 | + "value": "application/json", | ||
| 730 | + "type": "text" | ||
| 731 | + } | ||
| 732 | + ], | ||
| 733 | + "body": { | ||
| 734 | + "mode": "raw", | ||
| 735 | + "raw": "{\r\n \"description\": \"UserRead\",\r\n \"requestId\": \"fb9daafc-4d3e-4edf-a759-510975755810\"\r\n}", | ||
| 736 | + "options": { | ||
| 737 | + "raw": { | ||
| 738 | + "language": "json" | ||
| 739 | + } | ||
| 740 | + } | ||
| 741 | + }, | ||
| 742 | + "url": { | ||
| 743 | + "raw": "https://api.line.me/v2/bot/audienceGroup/imp", | ||
| 744 | + "protocol": "https", | ||
| 745 | + "host": [ | ||
| 746 | + "api", | ||
| 747 | + "line", | ||
| 748 | + "me" | ||
| 749 | + ], | ||
| 750 | + "path": [ | ||
| 751 | + "v2", | ||
| 752 | + "bot", | ||
| 753 | + "audienceGroup", | ||
| 754 | + "imp" | ||
| 755 | + ] | ||
| 756 | + } | ||
| 757 | + }, | ||
| 758 | + "response": [] | ||
| 759 | + } | ||
| 760 | + ] | ||
| 761 | + }, | ||
| 762 | + { | ||
| 763 | + "name": "Insight", | ||
| 764 | + "item": [ | ||
| 765 | + { | ||
| 766 | + "name": "Get number of message deliveries", | ||
| 767 | + "event": [ | ||
| 768 | + { | ||
| 769 | + "listen": "test", | ||
| 770 | + "script": { | ||
| 771 | + "exec": [ | ||
| 772 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 773 | + "// {\r", | ||
| 774 | + "// \"status\": \"ready\",\r", | ||
| 775 | + "// \"followers\": 3,\r", | ||
| 776 | + "// \"targetedReaches\": 3,\r", | ||
| 777 | + "// \"blocks\": 0\r", | ||
| 778 | + "// }" | ||
| 779 | + ], | ||
| 780 | + "type": "text/javascript" | ||
| 781 | + } | ||
| 782 | + } | ||
| 783 | + ], | ||
| 784 | + "protocolProfileBehavior": { | ||
| 785 | + "disableBodyPruning": true | ||
| 786 | + }, | ||
| 787 | + "request": { | ||
| 788 | + "method": "GET", | ||
| 789 | + "header": [ | ||
| 790 | + { | ||
| 791 | + "key": "Authorization", | ||
| 792 | + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", | ||
| 793 | + "type": "text" | ||
| 794 | + } | ||
| 795 | + ], | ||
| 796 | + "body": { | ||
| 797 | + "mode": "raw", | ||
| 798 | + "raw": "", | ||
| 799 | + "options": { | ||
| 800 | + "raw": { | ||
| 801 | + "language": "json" | ||
| 802 | + } | ||
| 803 | + } | ||
| 804 | + }, | ||
| 805 | + "url": { | ||
| 806 | + "raw": "https://api.line.me/v2/bot/insight/followers?date=20211026", | ||
| 807 | + "protocol": "https", | ||
| 808 | + "host": [ | ||
| 809 | + "api", | ||
| 810 | + "line", | ||
| 811 | + "me" | ||
| 812 | + ], | ||
| 813 | + "path": [ | ||
| 814 | + "v2", | ||
| 815 | + "bot", | ||
| 816 | + "insight", | ||
| 817 | + "followers" | ||
| 818 | + ], | ||
| 819 | + "query": [ | ||
| 820 | + { | ||
| 821 | + "key": "date", | ||
| 822 | + "value": "20211026" | ||
| 823 | + } | ||
| 824 | + ] | ||
| 825 | + } | ||
| 826 | + }, | ||
| 827 | + "response": [] | ||
| 828 | + }, | ||
| 829 | + { | ||
| 830 | + "name": "Get number of followers", | ||
| 831 | + "event": [ | ||
| 832 | + { | ||
| 833 | + "listen": "test", | ||
| 834 | + "script": { | ||
| 835 | + "exec": [ | ||
| 836 | + "// เช็คว่าแต่ละวันเกิดอะไรขึ้นบ้าง\r", | ||
| 837 | + "// ตัวอย่าง\r", | ||
| 838 | + "// {\r", | ||
| 839 | + "// \"status\": \"ready\",\r", | ||
| 840 | + "// \"autoResponse\": 7,\r", | ||
| 841 | + "// \"welcomeResponse\": 4,\r", | ||
| 842 | + "// \"apiBroadcast\": 29,\r", | ||
| 843 | + "// \"apiPush\": 5,\r", | ||
| 844 | + "// \"apiMulticast\": 16,\r", | ||
| 845 | + "// \"apiReply\": 101\r", | ||
| 846 | + "// }" | ||
| 847 | + ], | ||
| 848 | + "type": "text/javascript" | ||
| 849 | + } | ||
| 850 | + } | ||
| 851 | + ], | ||
| 852 | + "protocolProfileBehavior": { | ||
| 853 | + "disableBodyPruning": true | ||
| 854 | + }, | ||
| 855 | + "request": { | ||
| 856 | + "method": "GET", | ||
| 857 | + "header": [ | ||
| 858 | + { | ||
| 859 | + "key": "Authorization", | ||
| 860 | + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", | ||
| 861 | + "type": "text" | ||
| 862 | + } | ||
| 863 | + ], | ||
| 864 | + "body": { | ||
| 865 | + "mode": "raw", | ||
| 866 | + "raw": "", | ||
| 867 | + "options": { | ||
| 868 | + "raw": { | ||
| 869 | + "language": "json" | ||
| 870 | + } | ||
| 871 | + } | ||
| 872 | + }, | ||
| 873 | + "url": { | ||
| 874 | + "raw": "https://api.line.me/v2/bot/insight/message/delivery?date=20211026", | ||
| 875 | + "protocol": "https", | ||
| 876 | + "host": [ | ||
| 877 | + "api", | ||
| 878 | + "line", | ||
| 879 | + "me" | ||
| 880 | + ], | ||
| 881 | + "path": [ | ||
| 882 | + "v2", | ||
| 883 | + "bot", | ||
| 884 | + "insight", | ||
| 885 | + "message", | ||
| 886 | + "delivery" | ||
| 887 | + ], | ||
| 888 | + "query": [ | ||
| 889 | + { | ||
| 890 | + "key": "date", | ||
| 891 | + "value": "20211026" | ||
| 892 | + } | ||
| 893 | + ] | ||
| 894 | + } | ||
| 895 | + }, | ||
| 896 | + "response": [] | ||
| 897 | + }, | ||
| 898 | + { | ||
| 899 | + "name": "Get friend demographics", | ||
| 900 | + "event": [ | ||
| 901 | + { | ||
| 902 | + "listen": "test", | ||
| 903 | + "script": { | ||
| 904 | + "exec": [ | ||
| 905 | + "// เช็คว่าแต่ละวันเกิดอะไรขึ้นบ้าง\r", | ||
| 906 | + "// ตัวอย่าง\r", | ||
| 907 | + "// {\r", | ||
| 908 | + "// \"status\": \"ready\",\r", | ||
| 909 | + "// \"autoResponse\": 7,\r", | ||
| 910 | + "// \"welcomeResponse\": 4,\r", | ||
| 911 | + "// \"apiBroadcast\": 29,\r", | ||
| 912 | + "// \"apiPush\": 5,\r", | ||
| 913 | + "// \"apiMulticast\": 16,\r", | ||
| 914 | + "// \"apiReply\": 101\r", | ||
| 915 | + "// }" | ||
| 916 | + ], | ||
| 917 | + "type": "text/javascript" | ||
| 918 | + } | ||
| 919 | + } | ||
| 920 | + ], | ||
| 921 | + "protocolProfileBehavior": { | ||
| 922 | + "disableBodyPruning": true | ||
| 923 | + }, | ||
| 924 | + "request": { | ||
| 925 | + "method": "GET", | ||
| 926 | + "header": [ | ||
| 927 | + { | ||
| 928 | + "key": "Authorization", | ||
| 929 | + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", | ||
| 930 | + "type": "text" | ||
| 931 | + } | ||
| 932 | + ], | ||
| 933 | + "body": { | ||
| 934 | + "mode": "raw", | ||
| 935 | + "raw": "", | ||
| 936 | + "options": { | ||
| 937 | + "raw": { | ||
| 938 | + "language": "json" | ||
| 939 | + } | ||
| 940 | + } | ||
| 941 | + }, | ||
| 942 | + "url": { | ||
| 943 | + "raw": "https://api.line.me/v2/bot/insight/demographic", | ||
| 944 | + "protocol": "https", | ||
| 945 | + "host": [ | ||
| 946 | + "api", | ||
| 947 | + "line", | ||
| 948 | + "me" | ||
| 949 | + ], | ||
| 950 | + "path": [ | ||
| 951 | + "v2", | ||
| 952 | + "bot", | ||
| 953 | + "insight", | ||
| 954 | + "demographic" | ||
| 955 | + ] | ||
| 956 | + } | ||
| 957 | + }, | ||
| 958 | + "response": [] | ||
| 959 | + }, | ||
| 960 | + { | ||
| 961 | + "name": "Get user interaction statistics", | ||
| 962 | + "event": [ | ||
| 963 | + { | ||
| 964 | + "listen": "test", | ||
| 965 | + "script": { | ||
| 966 | + "exec": [ | ||
| 967 | + "// แสดงผล ว่าส่งให้กี่คน และส่งอะไรไป\r", | ||
| 968 | + "// {\r", | ||
| 969 | + "// \"overview\": {\r", | ||
| 970 | + "// \"requestId\": \"47fd8f7f-5108-49dd-8ca9-2e9b68ba5754\",\r", | ||
| 971 | + "// \"timestamp\": 1635314400,\r", | ||
| 972 | + "// \"delivered\": 4,\r", | ||
| 973 | + "// \"uniqueImpression\": null,\r", | ||
| 974 | + "// \"uniqueClick\": null,\r", | ||
| 975 | + "// \"uniqueMediaPlayed\": null,\r", | ||
| 976 | + "// \"uniqueMediaPlayed100Percent\": null\r", | ||
| 977 | + "// },\r", | ||
| 978 | + "// \"messages\": [],\r", | ||
| 979 | + "// \"clicks\": []\r", | ||
| 980 | + "// }" | ||
| 981 | + ], | ||
| 982 | + "type": "text/javascript" | ||
| 983 | + } | ||
| 984 | + } | ||
| 985 | + ], | ||
| 986 | + "protocolProfileBehavior": { | ||
| 987 | + "disableBodyPruning": true | ||
| 988 | + }, | ||
| 989 | + "request": { | ||
| 990 | + "method": "GET", | ||
| 991 | + "header": [ | ||
| 992 | + { | ||
| 993 | + "key": "Authorization", | ||
| 994 | + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", | ||
| 995 | + "type": "text" | ||
| 996 | + } | ||
| 997 | + ], | ||
| 998 | + "body": { | ||
| 999 | + "mode": "raw", | ||
| 1000 | + "raw": "", | ||
| 1001 | + "options": { | ||
| 1002 | + "raw": { | ||
| 1003 | + "language": "json" | ||
| 1004 | + } | ||
| 1005 | + } | ||
| 1006 | + }, | ||
| 1007 | + "url": { | ||
| 1008 | + "raw": "https://api.line.me/v2/bot/insight/message/event?requestId=bc41cf95-fa3b-46c2-88fb-6076e560c982", | ||
| 1009 | + "protocol": "https", | ||
| 1010 | + "host": [ | ||
| 1011 | + "api", | ||
| 1012 | + "line", | ||
| 1013 | + "me" | ||
| 1014 | + ], | ||
| 1015 | + "path": [ | ||
| 1016 | + "v2", | ||
| 1017 | + "bot", | ||
| 1018 | + "insight", | ||
| 1019 | + "message", | ||
| 1020 | + "event" | ||
| 1021 | + ], | ||
| 1022 | + "query": [ | ||
| 1023 | + { | ||
| 1024 | + "key": "requestId", | ||
| 1025 | + "value": "bc41cf95-fa3b-46c2-88fb-6076e560c982" | ||
| 1026 | + } | ||
| 1027 | + ] | ||
| 1028 | + } | ||
| 1029 | + }, | ||
| 1030 | + "response": [] | ||
| 1031 | + } | ||
| 1032 | + ] | ||
| 1033 | + }, | ||
| 1034 | + { | ||
| 1035 | + "name": "Users", | ||
| 1036 | + "item": [ | ||
| 1037 | + { | ||
| 1038 | + "name": "Get profile", | ||
| 1039 | + "event": [ | ||
| 1040 | + { | ||
| 1041 | + "listen": "test", | ||
| 1042 | + "script": { | ||
| 1043 | + "exec": [ | ||
| 1044 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 1045 | + "// {\r", | ||
| 1046 | + "// \"status\": \"ready\",\r", | ||
| 1047 | + "// \"followers\": 3,\r", | ||
| 1048 | + "// \"targetedReaches\": 3,\r", | ||
| 1049 | + "// \"blocks\": 0\r", | ||
| 1050 | + "// }" | ||
| 1051 | + ], | ||
| 1052 | + "type": "text/javascript" | ||
| 1053 | + } | ||
| 1054 | + } | ||
| 1055 | + ], | ||
| 1056 | + "protocolProfileBehavior": { | ||
| 1057 | + "disableBodyPruning": true | ||
| 1058 | + }, | ||
| 1059 | + "request": { | ||
| 1060 | + "method": "GET", | ||
| 1061 | + "header": [ | ||
| 1062 | + { | ||
| 1063 | + "key": "Authorization", | ||
| 1064 | + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", | ||
| 1065 | + "type": "text" | ||
| 1066 | + } | ||
| 1067 | + ], | ||
| 1068 | + "body": { | ||
| 1069 | + "mode": "raw", | ||
| 1070 | + "raw": "", | ||
| 1071 | + "options": { | ||
| 1072 | + "raw": { | ||
| 1073 | + "language": "json" | ||
| 1074 | + } | ||
| 1075 | + } | ||
| 1076 | + }, | ||
| 1077 | + "url": { | ||
| 1078 | + "raw": "https://api.line.me/v2/bot/profile/Uaac2ca5a02feab67a18d5521b572b5aa", | ||
| 1079 | + "protocol": "https", | ||
| 1080 | + "host": [ | ||
| 1081 | + "api", | ||
| 1082 | + "line", | ||
| 1083 | + "me" | ||
| 1084 | + ], | ||
| 1085 | + "path": [ | ||
| 1086 | + "v2", | ||
| 1087 | + "bot", | ||
| 1088 | + "profile", | ||
| 1089 | + "Uaac2ca5a02feab67a18d5521b572b5aa" | ||
| 1090 | + ] | ||
| 1091 | + } | ||
| 1092 | + }, | ||
| 1093 | + "response": [] | ||
| 1094 | + }, | ||
| 1095 | + { | ||
| 1096 | + "name": "Get profile followers Me", | ||
| 1097 | + "event": [ | ||
| 1098 | + { | ||
| 1099 | + "listen": "test", | ||
| 1100 | + "script": { | ||
| 1101 | + "exec": [ | ||
| 1102 | + "// แสดงผล ว่าส่งให้กี่คน และส่งอะไรไป\r", | ||
| 1103 | + "// {\r", | ||
| 1104 | + "// \"overview\": {\r", | ||
| 1105 | + "// \"requestId\": \"47fd8f7f-5108-49dd-8ca9-2e9b68ba5754\",\r", | ||
| 1106 | + "// \"timestamp\": 1635314400,\r", | ||
| 1107 | + "// \"delivered\": 4,\r", | ||
| 1108 | + "// \"uniqueImpression\": null,\r", | ||
| 1109 | + "// \"uniqueClick\": null,\r", | ||
| 1110 | + "// \"uniqueMediaPlayed\": null,\r", | ||
| 1111 | + "// \"uniqueMediaPlayed100Percent\": null\r", | ||
| 1112 | + "// },\r", | ||
| 1113 | + "// \"messages\": [],\r", | ||
| 1114 | + "// \"clicks\": []\r", | ||
| 1115 | + "// }" | ||
| 1116 | + ], | ||
| 1117 | + "type": "text/javascript" | ||
| 1118 | + } | ||
| 1119 | + } | ||
| 1120 | + ], | ||
| 1121 | + "protocolProfileBehavior": { | ||
| 1122 | + "disableBodyPruning": true | ||
| 1123 | + }, | ||
| 1124 | + "request": { | ||
| 1125 | + "method": "GET", | ||
| 1126 | + "header": [ | ||
| 1127 | + { | ||
| 1128 | + "key": "Authorization", | ||
| 1129 | + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", | ||
| 1130 | + "type": "text" | ||
| 1131 | + } | ||
| 1132 | + ], | ||
| 1133 | + "body": { | ||
| 1134 | + "mode": "raw", | ||
| 1135 | + "raw": "", | ||
| 1136 | + "options": { | ||
| 1137 | + "raw": { | ||
| 1138 | + "language": "json" | ||
| 1139 | + } | ||
| 1140 | + } | ||
| 1141 | + }, | ||
| 1142 | + "url": { | ||
| 1143 | + "raw": "https://api.line.me/v2/bot/followers/ids", | ||
| 1144 | + "protocol": "https", | ||
| 1145 | + "host": [ | ||
| 1146 | + "api", | ||
| 1147 | + "line", | ||
| 1148 | + "me" | ||
| 1149 | + ], | ||
| 1150 | + "path": [ | ||
| 1151 | + "v2", | ||
| 1152 | + "bot", | ||
| 1153 | + "followers", | ||
| 1154 | + "ids" | ||
| 1155 | + ] | ||
| 1156 | + } | ||
| 1157 | + }, | ||
| 1158 | + "response": [] | ||
| 1159 | + } | ||
| 1160 | + ] | ||
| 1161 | + }, | ||
| 1162 | + { | ||
| 1163 | + "name": "Bot", | ||
| 1164 | + "item": [ | ||
| 1165 | + { | ||
| 1166 | + "name": "Get bot info", | ||
| 1167 | + "event": [ | ||
| 1168 | + { | ||
| 1169 | + "listen": "test", | ||
| 1170 | + "script": { | ||
| 1171 | + "exec": [ | ||
| 1172 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 1173 | + "// {\r", | ||
| 1174 | + "// \"status\": \"ready\",\r", | ||
| 1175 | + "// \"followers\": 3,\r", | ||
| 1176 | + "// \"targetedReaches\": 3,\r", | ||
| 1177 | + "// \"blocks\": 0\r", | ||
| 1178 | + "// }" | ||
| 1179 | + ], | ||
| 1180 | + "type": "text/javascript" | ||
| 1181 | + } | ||
| 1182 | + } | ||
| 1183 | + ], | ||
| 1184 | + "protocolProfileBehavior": { | ||
| 1185 | + "disableBodyPruning": true | ||
| 1186 | + }, | ||
| 1187 | + "request": { | ||
| 1188 | + "method": "GET", | ||
| 1189 | + "header": [ | ||
| 1190 | + { | ||
| 1191 | + "key": "Authorization", | ||
| 1192 | + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", | ||
| 1193 | + "type": "text" | ||
| 1194 | + } | ||
| 1195 | + ], | ||
| 1196 | + "body": { | ||
| 1197 | + "mode": "raw", | ||
| 1198 | + "raw": "", | ||
| 1199 | + "options": { | ||
| 1200 | + "raw": { | ||
| 1201 | + "language": "json" | ||
| 1202 | + } | ||
| 1203 | + } | ||
| 1204 | + }, | ||
| 1205 | + "url": { | ||
| 1206 | + "raw": "https://api.line.me/v2/bot/info", | ||
| 1207 | + "protocol": "https", | ||
| 1208 | + "host": [ | ||
| 1209 | + "api", | ||
| 1210 | + "line", | ||
| 1211 | + "me" | ||
| 1212 | + ], | ||
| 1213 | + "path": [ | ||
| 1214 | + "v2", | ||
| 1215 | + "bot", | ||
| 1216 | + "info" | ||
| 1217 | + ] | ||
| 1218 | + } | ||
| 1219 | + }, | ||
| 1220 | + "response": [] | ||
| 1221 | + } | ||
| 1222 | + ] | ||
| 1223 | + }, | ||
| 1224 | + { | ||
| 1225 | + "name": "Account link", | ||
| 1226 | + "item": [ | ||
| 1227 | + { | ||
| 1228 | + "name": "Issue link token", | ||
| 1229 | + "event": [ | ||
| 1230 | + { | ||
| 1231 | + "listen": "test", | ||
| 1232 | + "script": { | ||
| 1233 | + "exec": [ | ||
| 1234 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 1235 | + "// {\r", | ||
| 1236 | + "// \"status\": \"ready\",\r", | ||
| 1237 | + "// \"followers\": 3,\r", | ||
| 1238 | + "// \"targetedReaches\": 3,\r", | ||
| 1239 | + "// \"blocks\": 0\r", | ||
| 1240 | + "// }" | ||
| 1241 | + ], | ||
| 1242 | + "type": "text/javascript" | ||
| 1243 | + } | ||
| 1244 | + } | ||
| 1245 | + ], | ||
| 1246 | + "request": { | ||
| 1247 | + "method": "POST", | ||
| 1248 | + "header": [ | ||
| 1249 | + { | ||
| 1250 | + "key": "Authorization", | ||
| 1251 | + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", | ||
| 1252 | + "type": "text" | ||
| 1253 | + } | ||
| 1254 | + ], | ||
| 1255 | + "body": { | ||
| 1256 | + "mode": "raw", | ||
| 1257 | + "raw": "", | ||
| 1258 | + "options": { | ||
| 1259 | + "raw": { | ||
| 1260 | + "language": "json" | ||
| 1261 | + } | ||
| 1262 | + } | ||
| 1263 | + }, | ||
| 1264 | + "url": { | ||
| 1265 | + "raw": "https://api.line.me/v2/bot/user/Uaac2ca5a02feab67a18d5521b572b5aa/linkToken", | ||
| 1266 | + "protocol": "https", | ||
| 1267 | + "host": [ | ||
| 1268 | + "api", | ||
| 1269 | + "line", | ||
| 1270 | + "me" | ||
| 1271 | + ], | ||
| 1272 | + "path": [ | ||
| 1273 | + "v2", | ||
| 1274 | + "bot", | ||
| 1275 | + "user", | ||
| 1276 | + "Uaac2ca5a02feab67a18d5521b572b5aa", | ||
| 1277 | + "linkToken" | ||
| 1278 | + ] | ||
| 1279 | + } | ||
| 1280 | + }, | ||
| 1281 | + "response": [] | ||
| 1282 | + } | ||
| 1283 | + ] | ||
| 1284 | + }, | ||
| 1285 | + { | ||
| 1286 | + "name": "RichMenu", | ||
| 1287 | + "item": [ | ||
| 1288 | + { | ||
| 1289 | + "name": "Create", | ||
| 1290 | + "event": [ | ||
| 1291 | + { | ||
| 1292 | + "listen": "test", | ||
| 1293 | + "script": { | ||
| 1294 | + "exec": [ | ||
| 1295 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 1296 | + "// {\r", | ||
| 1297 | + "// \"status\": \"ready\",\r", | ||
| 1298 | + "// \"followers\": 3,\r", | ||
| 1299 | + "// \"targetedReaches\": 3,\r", | ||
| 1300 | + "// \"blocks\": 0\r", | ||
| 1301 | + "// }" | ||
| 1302 | + ], | ||
| 1303 | + "type": "text/javascript" | ||
| 1304 | + } | ||
| 1305 | + } | ||
| 1306 | + ], | ||
| 1307 | + "request": { | ||
| 1308 | + "method": "POST", | ||
| 1309 | + "header": [ | ||
| 1310 | + { | ||
| 1311 | + "key": "Authorization", | ||
| 1312 | + "value": "Bearer {{Channel_access_token}}", | ||
| 1313 | + "type": "text" | ||
| 1314 | + } | ||
| 1315 | + ], | ||
| 1316 | + "body": { | ||
| 1317 | + "mode": "raw", | ||
| 1318 | + "raw": "{\r\n \"size\": {\r\n \"width\": 2500,\r\n \"height\": 1686\r\n },\r\n \"selected\": true,\r\n \"name\": \"Rich02\",\r\n \"chatBarText\": \"Bulletin\",\r\n \"areas\": [\r\n {\r\n \"bounds\": {\r\n \"x\": 1677,\r\n \"y\": 863,\r\n \"width\": 767,\r\n \"height\": 746\r\n },\r\n \"action\": {\r\n \"type\": \"postback\",\r\n \"data\": \"GO BACK\"\r\n }\r\n }\r\n ]\r\n}", | ||
| 1319 | + "options": { | ||
| 1320 | + "raw": { | ||
| 1321 | + "language": "json" | ||
| 1322 | + } | ||
| 1323 | + } | ||
| 1324 | + }, | ||
| 1325 | + "url": { | ||
| 1326 | + "raw": "https://api.line.me/v2/bot/richmenu", | ||
| 1327 | + "protocol": "https", | ||
| 1328 | + "host": [ | ||
| 1329 | + "api", | ||
| 1330 | + "line", | ||
| 1331 | + "me" | ||
| 1332 | + ], | ||
| 1333 | + "path": [ | ||
| 1334 | + "v2", | ||
| 1335 | + "bot", | ||
| 1336 | + "richmenu" | ||
| 1337 | + ] | ||
| 1338 | + } | ||
| 1339 | + }, | ||
| 1340 | + "response": [] | ||
| 1341 | + }, | ||
| 1342 | + { | ||
| 1343 | + "name": "UPLOAD", | ||
| 1344 | + "event": [ | ||
| 1345 | + { | ||
| 1346 | + "listen": "test", | ||
| 1347 | + "script": { | ||
| 1348 | + "exec": [ | ||
| 1349 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 1350 | + "// {\r", | ||
| 1351 | + "// \"status\": \"ready\",\r", | ||
| 1352 | + "// \"followers\": 3,\r", | ||
| 1353 | + "// \"targetedReaches\": 3,\r", | ||
| 1354 | + "// \"blocks\": 0\r", | ||
| 1355 | + "// }" | ||
| 1356 | + ], | ||
| 1357 | + "type": "text/javascript" | ||
| 1358 | + } | ||
| 1359 | + } | ||
| 1360 | + ], | ||
| 1361 | + "request": { | ||
| 1362 | + "method": "POST", | ||
| 1363 | + "header": [ | ||
| 1364 | + { | ||
| 1365 | + "key": "Authorization", | ||
| 1366 | + "value": "Bearer {{Channel_access_token}}", | ||
| 1367 | + "type": "text" | ||
| 1368 | + }, | ||
| 1369 | + { | ||
| 1370 | + "key": "Content-Type", | ||
| 1371 | + "value": "image/jpeg", | ||
| 1372 | + "type": "text" | ||
| 1373 | + } | ||
| 1374 | + ], | ||
| 1375 | + "body": { | ||
| 1376 | + "mode": "file", | ||
| 1377 | + "file": { | ||
| 1378 | + "src": "/C:/Users/ePUI/Desktop/TestRichmenu/richmenu-02.png" | ||
| 1379 | + } | ||
| 1380 | + }, | ||
| 1381 | + "url": { | ||
| 1382 | + "raw": "https://api-data.line.me/v2/bot/richmenu/richmenu-a9995ce54d06a8c1438ea96bf74c02aa/content", | ||
| 1383 | + "protocol": "https", | ||
| 1384 | + "host": [ | ||
| 1385 | + "api-data", | ||
| 1386 | + "line", | ||
| 1387 | + "me" | ||
| 1388 | + ], | ||
| 1389 | + "path": [ | ||
| 1390 | + "v2", | ||
| 1391 | + "bot", | ||
| 1392 | + "richmenu", | ||
| 1393 | + "richmenu-a9995ce54d06a8c1438ea96bf74c02aa", | ||
| 1394 | + "content" | ||
| 1395 | + ] | ||
| 1396 | + } | ||
| 1397 | + }, | ||
| 1398 | + "response": [] | ||
| 1399 | + }, | ||
| 1400 | + { | ||
| 1401 | + "name": "DOWNLOAD", | ||
| 1402 | + "event": [ | ||
| 1403 | + { | ||
| 1404 | + "listen": "test", | ||
| 1405 | + "script": { | ||
| 1406 | + "exec": [ | ||
| 1407 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 1408 | + "// {\r", | ||
| 1409 | + "// \"status\": \"ready\",\r", | ||
| 1410 | + "// \"followers\": 3,\r", | ||
| 1411 | + "// \"targetedReaches\": 3,\r", | ||
| 1412 | + "// \"blocks\": 0\r", | ||
| 1413 | + "// }" | ||
| 1414 | + ], | ||
| 1415 | + "type": "text/javascript" | ||
| 1416 | + } | ||
| 1417 | + } | ||
| 1418 | + ], | ||
| 1419 | + "request": { | ||
| 1420 | + "method": "POST", | ||
| 1421 | + "header": [ | ||
| 1422 | + { | ||
| 1423 | + "key": "Authorization", | ||
| 1424 | + "value": "Bearer {{Channel_access_token}}", | ||
| 1425 | + "type": "text" | ||
| 1426 | + }, | ||
| 1427 | + { | ||
| 1428 | + "key": "Content-Type", | ||
| 1429 | + "value": "image/jpeg", | ||
| 1430 | + "type": "text" | ||
| 1431 | + } | ||
| 1432 | + ], | ||
| 1433 | + "body": { | ||
| 1434 | + "mode": "file", | ||
| 1435 | + "file": { | ||
| 1436 | + "src": "/C:/Users/ePUI/Downloads/129895999_1820102924833603_4191640007679978823_o.jpg" | ||
| 1437 | + } | ||
| 1438 | + }, | ||
| 1439 | + "url": { | ||
| 1440 | + "raw": "https://api-data.line.me/v2/bot/richmenu/richmenu-25ee8938bfb135341be84dc40c67d456/content/content", | ||
| 1441 | + "protocol": "https", | ||
| 1442 | + "host": [ | ||
| 1443 | + "api-data", | ||
| 1444 | + "line", | ||
| 1445 | + "me" | ||
| 1446 | + ], | ||
| 1447 | + "path": [ | ||
| 1448 | + "v2", | ||
| 1449 | + "bot", | ||
| 1450 | + "richmenu", | ||
| 1451 | + "richmenu-25ee8938bfb135341be84dc40c67d456", | ||
| 1452 | + "content", | ||
| 1453 | + "content" | ||
| 1454 | + ] | ||
| 1455 | + } | ||
| 1456 | + }, | ||
| 1457 | + "response": [] | ||
| 1458 | + }, | ||
| 1459 | + { | ||
| 1460 | + "name": "GET MENU LIST", | ||
| 1461 | + "event": [ | ||
| 1462 | + { | ||
| 1463 | + "listen": "test", | ||
| 1464 | + "script": { | ||
| 1465 | + "exec": [ | ||
| 1466 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 1467 | + "// {\r", | ||
| 1468 | + "// \"status\": \"ready\",\r", | ||
| 1469 | + "// \"followers\": 3,\r", | ||
| 1470 | + "// \"targetedReaches\": 3,\r", | ||
| 1471 | + "// \"blocks\": 0\r", | ||
| 1472 | + "// }" | ||
| 1473 | + ], | ||
| 1474 | + "type": "text/javascript" | ||
| 1475 | + } | ||
| 1476 | + } | ||
| 1477 | + ], | ||
| 1478 | + "protocolProfileBehavior": { | ||
| 1479 | + "disableBodyPruning": true | ||
| 1480 | + }, | ||
| 1481 | + "request": { | ||
| 1482 | + "method": "GET", | ||
| 1483 | + "header": [ | ||
| 1484 | + { | ||
| 1485 | + "key": "Authorization", | ||
| 1486 | + "value": "Bearer {{Channel_access_token}}", | ||
| 1487 | + "type": "text" | ||
| 1488 | + }, | ||
| 1489 | + { | ||
| 1490 | + "key": "Content-Type", | ||
| 1491 | + "value": "image/jpeg", | ||
| 1492 | + "type": "text", | ||
| 1493 | + "disabled": true | ||
| 1494 | + } | ||
| 1495 | + ], | ||
| 1496 | + "body": { | ||
| 1497 | + "mode": "file", | ||
| 1498 | + "file": { | ||
| 1499 | + "src": "" | ||
| 1500 | + } | ||
| 1501 | + }, | ||
| 1502 | + "url": { | ||
| 1503 | + "raw": "https://api.line.me/v2/bot/richmenu/list", | ||
| 1504 | + "protocol": "https", | ||
| 1505 | + "host": [ | ||
| 1506 | + "api", | ||
| 1507 | + "line", | ||
| 1508 | + "me" | ||
| 1509 | + ], | ||
| 1510 | + "path": [ | ||
| 1511 | + "v2", | ||
| 1512 | + "bot", | ||
| 1513 | + "richmenu", | ||
| 1514 | + "list" | ||
| 1515 | + ] | ||
| 1516 | + } | ||
| 1517 | + }, | ||
| 1518 | + "response": [] | ||
| 1519 | + }, | ||
| 1520 | + { | ||
| 1521 | + "name": "GET MENU", | ||
| 1522 | + "event": [ | ||
| 1523 | + { | ||
| 1524 | + "listen": "test", | ||
| 1525 | + "script": { | ||
| 1526 | + "exec": [ | ||
| 1527 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 1528 | + "// {\r", | ||
| 1529 | + "// \"status\": \"ready\",\r", | ||
| 1530 | + "// \"followers\": 3,\r", | ||
| 1531 | + "// \"targetedReaches\": 3,\r", | ||
| 1532 | + "// \"blocks\": 0\r", | ||
| 1533 | + "// }" | ||
| 1534 | + ], | ||
| 1535 | + "type": "text/javascript" | ||
| 1536 | + } | ||
| 1537 | + } | ||
| 1538 | + ], | ||
| 1539 | + "protocolProfileBehavior": { | ||
| 1540 | + "disableBodyPruning": true | ||
| 1541 | + }, | ||
| 1542 | + "request": { | ||
| 1543 | + "method": "GET", | ||
| 1544 | + "header": [ | ||
| 1545 | + { | ||
| 1546 | + "key": "Authorization", | ||
| 1547 | + "value": "Bearer {{Channel_access_token}}", | ||
| 1548 | + "type": "text" | ||
| 1549 | + }, | ||
| 1550 | + { | ||
| 1551 | + "key": "Content-Type", | ||
| 1552 | + "value": "image/jpeg", | ||
| 1553 | + "type": "text" | ||
| 1554 | + } | ||
| 1555 | + ], | ||
| 1556 | + "body": { | ||
| 1557 | + "mode": "file", | ||
| 1558 | + "file": { | ||
| 1559 | + "src": "/C:/Users/ePUI/Downloads/129895999_1820102924833603_4191640007679978823_o.jpg" | ||
| 1560 | + } | ||
| 1561 | + }, | ||
| 1562 | + "url": { | ||
| 1563 | + "raw": "https://api.line.me/v2/bot/richmenu/richmenu-5f0ccf6ed573da3906f3004e0834f52b", | ||
| 1564 | + "protocol": "https", | ||
| 1565 | + "host": [ | ||
| 1566 | + "api", | ||
| 1567 | + "line", | ||
| 1568 | + "me" | ||
| 1569 | + ], | ||
| 1570 | + "path": [ | ||
| 1571 | + "v2", | ||
| 1572 | + "bot", | ||
| 1573 | + "richmenu", | ||
| 1574 | + "richmenu-5f0ccf6ed573da3906f3004e0834f52b" | ||
| 1575 | + ] | ||
| 1576 | + } | ||
| 1577 | + }, | ||
| 1578 | + "response": [] | ||
| 1579 | + }, | ||
| 1580 | + { | ||
| 1581 | + "name": "DELETE MENU", | ||
| 1582 | + "event": [ | ||
| 1583 | + { | ||
| 1584 | + "listen": "test", | ||
| 1585 | + "script": { | ||
| 1586 | + "exec": [ | ||
| 1587 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 1588 | + "// {\r", | ||
| 1589 | + "// \"status\": \"ready\",\r", | ||
| 1590 | + "// \"followers\": 3,\r", | ||
| 1591 | + "// \"targetedReaches\": 3,\r", | ||
| 1592 | + "// \"blocks\": 0\r", | ||
| 1593 | + "// }" | ||
| 1594 | + ], | ||
| 1595 | + "type": "text/javascript" | ||
| 1596 | + } | ||
| 1597 | + } | ||
| 1598 | + ], | ||
| 1599 | + "request": { | ||
| 1600 | + "method": "DELETE", | ||
| 1601 | + "header": [ | ||
| 1602 | + { | ||
| 1603 | + "key": "Authorization", | ||
| 1604 | + "value": "Bearer {{Channel_access_token}}", | ||
| 1605 | + "type": "text" | ||
| 1606 | + }, | ||
| 1607 | + { | ||
| 1608 | + "key": "Content-Type", | ||
| 1609 | + "value": "image/jpeg", | ||
| 1610 | + "type": "text", | ||
| 1611 | + "disabled": true | ||
| 1612 | + } | ||
| 1613 | + ], | ||
| 1614 | + "body": { | ||
| 1615 | + "mode": "file", | ||
| 1616 | + "file": { | ||
| 1617 | + "src": "/C:/Users/ePUI/Downloads/129895999_1820102924833603_4191640007679978823_o.jpg" | ||
| 1618 | + } | ||
| 1619 | + }, | ||
| 1620 | + "url": { | ||
| 1621 | + "raw": "https://api.line.me/v2/bot/richmenu/richmenu-9aa9f8b5be29a61951691ba70d00780d", | ||
| 1622 | + "protocol": "https", | ||
| 1623 | + "host": [ | ||
| 1624 | + "api", | ||
| 1625 | + "line", | ||
| 1626 | + "me" | ||
| 1627 | + ], | ||
| 1628 | + "path": [ | ||
| 1629 | + "v2", | ||
| 1630 | + "bot", | ||
| 1631 | + "richmenu", | ||
| 1632 | + "richmenu-9aa9f8b5be29a61951691ba70d00780d" | ||
| 1633 | + ] | ||
| 1634 | + } | ||
| 1635 | + }, | ||
| 1636 | + "response": [] | ||
| 1637 | + }, | ||
| 1638 | + { | ||
| 1639 | + "name": "SET DEFAULT", | ||
| 1640 | + "event": [ | ||
| 1641 | + { | ||
| 1642 | + "listen": "test", | ||
| 1643 | + "script": { | ||
| 1644 | + "exec": [ | ||
| 1645 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 1646 | + "// {\r", | ||
| 1647 | + "// \"status\": \"ready\",\r", | ||
| 1648 | + "// \"followers\": 3,\r", | ||
| 1649 | + "// \"targetedReaches\": 3,\r", | ||
| 1650 | + "// \"blocks\": 0\r", | ||
| 1651 | + "// }" | ||
| 1652 | + ], | ||
| 1653 | + "type": "text/javascript" | ||
| 1654 | + } | ||
| 1655 | + } | ||
| 1656 | + ], | ||
| 1657 | + "request": { | ||
| 1658 | + "method": "POST", | ||
| 1659 | + "header": [ | ||
| 1660 | + { | ||
| 1661 | + "key": "Authorization", | ||
| 1662 | + "value": "Bearer {{Channel_access_token}}", | ||
| 1663 | + "type": "text" | ||
| 1664 | + }, | ||
| 1665 | + { | ||
| 1666 | + "key": "Content-Type", | ||
| 1667 | + "value": "image/jpeg", | ||
| 1668 | + "type": "text" | ||
| 1669 | + } | ||
| 1670 | + ], | ||
| 1671 | + "body": { | ||
| 1672 | + "mode": "file", | ||
| 1673 | + "file": { | ||
| 1674 | + "src": "/C:/Users/ePUI/Downloads/129895999_1820102924833603_4191640007679978823_o.jpg" | ||
| 1675 | + } | ||
| 1676 | + }, | ||
| 1677 | + "url": { | ||
| 1678 | + "raw": "https://api.line.me/v2/bot/user/all/richmenu/richmenu-589b58f237a7042a57a4cf1698895d18", | ||
| 1679 | + "protocol": "https", | ||
| 1680 | + "host": [ | ||
| 1681 | + "api", | ||
| 1682 | + "line", | ||
| 1683 | + "me" | ||
| 1684 | + ], | ||
| 1685 | + "path": [ | ||
| 1686 | + "v2", | ||
| 1687 | + "bot", | ||
| 1688 | + "user", | ||
| 1689 | + "all", | ||
| 1690 | + "richmenu", | ||
| 1691 | + "richmenu-589b58f237a7042a57a4cf1698895d18" | ||
| 1692 | + ] | ||
| 1693 | + } | ||
| 1694 | + }, | ||
| 1695 | + "response": [] | ||
| 1696 | + }, | ||
| 1697 | + { | ||
| 1698 | + "name": "GET DEFAULT MENU", | ||
| 1699 | + "event": [ | ||
| 1700 | + { | ||
| 1701 | + "listen": "test", | ||
| 1702 | + "script": { | ||
| 1703 | + "exec": [ | ||
| 1704 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 1705 | + "// {\r", | ||
| 1706 | + "// \"status\": \"ready\",\r", | ||
| 1707 | + "// \"followers\": 3,\r", | ||
| 1708 | + "// \"targetedReaches\": 3,\r", | ||
| 1709 | + "// \"blocks\": 0\r", | ||
| 1710 | + "// }" | ||
| 1711 | + ], | ||
| 1712 | + "type": "text/javascript" | ||
| 1713 | + } | ||
| 1714 | + } | ||
| 1715 | + ], | ||
| 1716 | + "protocolProfileBehavior": { | ||
| 1717 | + "disableBodyPruning": true | ||
| 1718 | + }, | ||
| 1719 | + "request": { | ||
| 1720 | + "method": "GET", | ||
| 1721 | + "header": [ | ||
| 1722 | + { | ||
| 1723 | + "key": "Authorization", | ||
| 1724 | + "value": "Bearer {{Channel_access_token}}", | ||
| 1725 | + "type": "text" | ||
| 1726 | + }, | ||
| 1727 | + { | ||
| 1728 | + "key": "Content-Type", | ||
| 1729 | + "value": "image/jpeg", | ||
| 1730 | + "type": "text" | ||
| 1731 | + } | ||
| 1732 | + ], | ||
| 1733 | + "body": { | ||
| 1734 | + "mode": "file", | ||
| 1735 | + "file": { | ||
| 1736 | + "src": "/C:/Users/ePUI/Downloads/129895999_1820102924833603_4191640007679978823_o.jpg" | ||
| 1737 | + } | ||
| 1738 | + }, | ||
| 1739 | + "url": { | ||
| 1740 | + "raw": "https://api.line.me/v2/bot/user/all/richmenu", | ||
| 1741 | + "protocol": "https", | ||
| 1742 | + "host": [ | ||
| 1743 | + "api", | ||
| 1744 | + "line", | ||
| 1745 | + "me" | ||
| 1746 | + ], | ||
| 1747 | + "path": [ | ||
| 1748 | + "v2", | ||
| 1749 | + "bot", | ||
| 1750 | + "user", | ||
| 1751 | + "all", | ||
| 1752 | + "richmenu" | ||
| 1753 | + ] | ||
| 1754 | + } | ||
| 1755 | + }, | ||
| 1756 | + "response": [] | ||
| 1757 | + }, | ||
| 1758 | + { | ||
| 1759 | + "name": "CANCEL DEFAULT MENU", | ||
| 1760 | + "event": [ | ||
| 1761 | + { | ||
| 1762 | + "listen": "test", | ||
| 1763 | + "script": { | ||
| 1764 | + "exec": [ | ||
| 1765 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 1766 | + "// {\r", | ||
| 1767 | + "// \"status\": \"ready\",\r", | ||
| 1768 | + "// \"followers\": 3,\r", | ||
| 1769 | + "// \"targetedReaches\": 3,\r", | ||
| 1770 | + "// \"blocks\": 0\r", | ||
| 1771 | + "// }" | ||
| 1772 | + ], | ||
| 1773 | + "type": "text/javascript" | ||
| 1774 | + } | ||
| 1775 | + } | ||
| 1776 | + ], | ||
| 1777 | + "request": { | ||
| 1778 | + "method": "DELETE", | ||
| 1779 | + "header": [ | ||
| 1780 | + { | ||
| 1781 | + "key": "Authorization", | ||
| 1782 | + "value": "Bearer {{Channel_access_token}}", | ||
| 1783 | + "type": "text" | ||
| 1784 | + }, | ||
| 1785 | + { | ||
| 1786 | + "key": "Content-Type", | ||
| 1787 | + "value": "image/jpeg", | ||
| 1788 | + "type": "text" | ||
| 1789 | + } | ||
| 1790 | + ], | ||
| 1791 | + "body": { | ||
| 1792 | + "mode": "file", | ||
| 1793 | + "file": { | ||
| 1794 | + "src": "" | ||
| 1795 | + } | ||
| 1796 | + }, | ||
| 1797 | + "url": { | ||
| 1798 | + "raw": "https://api.line.me/v2/bot/user/all/richmenu", | ||
| 1799 | + "protocol": "https", | ||
| 1800 | + "host": [ | ||
| 1801 | + "api", | ||
| 1802 | + "line", | ||
| 1803 | + "me" | ||
| 1804 | + ], | ||
| 1805 | + "path": [ | ||
| 1806 | + "v2", | ||
| 1807 | + "bot", | ||
| 1808 | + "user", | ||
| 1809 | + "all", | ||
| 1810 | + "richmenu" | ||
| 1811 | + ] | ||
| 1812 | + } | ||
| 1813 | + }, | ||
| 1814 | + "response": [] | ||
| 1815 | + }, | ||
| 1816 | + { | ||
| 1817 | + "name": "LINK RICH MENU TO USER", | ||
| 1818 | + "event": [ | ||
| 1819 | + { | ||
| 1820 | + "listen": "test", | ||
| 1821 | + "script": { | ||
| 1822 | + "exec": [ | ||
| 1823 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 1824 | + "// {\r", | ||
| 1825 | + "// \"status\": \"ready\",\r", | ||
| 1826 | + "// \"followers\": 3,\r", | ||
| 1827 | + "// \"targetedReaches\": 3,\r", | ||
| 1828 | + "// \"blocks\": 0\r", | ||
| 1829 | + "// }" | ||
| 1830 | + ], | ||
| 1831 | + "type": "text/javascript" | ||
| 1832 | + } | ||
| 1833 | + } | ||
| 1834 | + ], | ||
| 1835 | + "request": { | ||
| 1836 | + "method": "POST", | ||
| 1837 | + "header": [ | ||
| 1838 | + { | ||
| 1839 | + "key": "Authorization", | ||
| 1840 | + "value": "Bearer {{Channel_access_token}}", | ||
| 1841 | + "type": "text" | ||
| 1842 | + }, | ||
| 1843 | + { | ||
| 1844 | + "key": "Content-Type", | ||
| 1845 | + "value": "image/jpeg", | ||
| 1846 | + "type": "text", | ||
| 1847 | + "disabled": true | ||
| 1848 | + } | ||
| 1849 | + ], | ||
| 1850 | + "body": { | ||
| 1851 | + "mode": "file", | ||
| 1852 | + "file": { | ||
| 1853 | + "src": "" | ||
| 1854 | + } | ||
| 1855 | + }, | ||
| 1856 | + "url": { | ||
| 1857 | + "raw": "https://api.line.me/v2/bot/user/Uaac2ca5a02feab67a18d5521b572b5aa/richmenu/richmenu-589b58f237a7042a57a4cf1698895d18", | ||
| 1858 | + "protocol": "https", | ||
| 1859 | + "host": [ | ||
| 1860 | + "api", | ||
| 1861 | + "line", | ||
| 1862 | + "me" | ||
| 1863 | + ], | ||
| 1864 | + "path": [ | ||
| 1865 | + "v2", | ||
| 1866 | + "bot", | ||
| 1867 | + "user", | ||
| 1868 | + "Uaac2ca5a02feab67a18d5521b572b5aa", | ||
| 1869 | + "richmenu", | ||
| 1870 | + "richmenu-589b58f237a7042a57a4cf1698895d18" | ||
| 1871 | + ] | ||
| 1872 | + } | ||
| 1873 | + }, | ||
| 1874 | + "response": [] | ||
| 1875 | + }, | ||
| 1876 | + { | ||
| 1877 | + "name": "LINK RICH MENU TO MUTI USER", | ||
| 1878 | + "event": [ | ||
| 1879 | + { | ||
| 1880 | + "listen": "test", | ||
| 1881 | + "script": { | ||
| 1882 | + "exec": [ | ||
| 1883 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 1884 | + "// {\r", | ||
| 1885 | + "// \"status\": \"ready\",\r", | ||
| 1886 | + "// \"followers\": 3,\r", | ||
| 1887 | + "// \"targetedReaches\": 3,\r", | ||
| 1888 | + "// \"blocks\": 0\r", | ||
| 1889 | + "// }" | ||
| 1890 | + ], | ||
| 1891 | + "type": "text/javascript" | ||
| 1892 | + } | ||
| 1893 | + } | ||
| 1894 | + ], | ||
| 1895 | + "request": { | ||
| 1896 | + "method": "POST", | ||
| 1897 | + "header": [ | ||
| 1898 | + { | ||
| 1899 | + "key": "Authorization", | ||
| 1900 | + "value": "Bearer {{Channel_access_token}}", | ||
| 1901 | + "type": "text" | ||
| 1902 | + }, | ||
| 1903 | + { | ||
| 1904 | + "key": "Content-Type", | ||
| 1905 | + "value": "image/jpeg", | ||
| 1906 | + "type": "text", | ||
| 1907 | + "disabled": true | ||
| 1908 | + } | ||
| 1909 | + ], | ||
| 1910 | + "body": { | ||
| 1911 | + "mode": "raw", | ||
| 1912 | + "raw": "{\r\n \"richMenuId\": \"richmenu-9aa9f8b5be29a61951691ba70d00780d\",\r\n \"userIds\": [\r\n \"Uaac2ca5a02feab67a18d5521b572b5aa\"\r\n ]\r\n}", | ||
| 1913 | + "options": { | ||
| 1914 | + "raw": { | ||
| 1915 | + "language": "json" | ||
| 1916 | + } | ||
| 1917 | + } | ||
| 1918 | + }, | ||
| 1919 | + "url": { | ||
| 1920 | + "raw": "https://api.line.me/v2/bot/richmenu/bulk/link", | ||
| 1921 | + "protocol": "https", | ||
| 1922 | + "host": [ | ||
| 1923 | + "api", | ||
| 1924 | + "line", | ||
| 1925 | + "me" | ||
| 1926 | + ], | ||
| 1927 | + "path": [ | ||
| 1928 | + "v2", | ||
| 1929 | + "bot", | ||
| 1930 | + "richmenu", | ||
| 1931 | + "bulk", | ||
| 1932 | + "link" | ||
| 1933 | + ] | ||
| 1934 | + } | ||
| 1935 | + }, | ||
| 1936 | + "response": [] | ||
| 1937 | + }, | ||
| 1938 | + { | ||
| 1939 | + "name": "CRATE RICH MENU ALIAS", | ||
| 1940 | + "event": [ | ||
| 1941 | + { | ||
| 1942 | + "listen": "test", | ||
| 1943 | + "script": { | ||
| 1944 | + "exec": [ | ||
| 1945 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 1946 | + "// {\r", | ||
| 1947 | + "// \"status\": \"ready\",\r", | ||
| 1948 | + "// \"followers\": 3,\r", | ||
| 1949 | + "// \"targetedReaches\": 3,\r", | ||
| 1950 | + "// \"blocks\": 0\r", | ||
| 1951 | + "// }" | ||
| 1952 | + ], | ||
| 1953 | + "type": "text/javascript" | ||
| 1954 | + } | ||
| 1955 | + } | ||
| 1956 | + ], | ||
| 1957 | + "request": { | ||
| 1958 | + "method": "POST", | ||
| 1959 | + "header": [ | ||
| 1960 | + { | ||
| 1961 | + "key": "Authorization", | ||
| 1962 | + "value": "Bearer {{Channel_access_token}}", | ||
| 1963 | + "type": "text" | ||
| 1964 | + }, | ||
| 1965 | + { | ||
| 1966 | + "key": "Content-Type", | ||
| 1967 | + "value": "image/jpeg", | ||
| 1968 | + "type": "text", | ||
| 1969 | + "disabled": true | ||
| 1970 | + } | ||
| 1971 | + ], | ||
| 1972 | + "body": { | ||
| 1973 | + "mode": "raw", | ||
| 1974 | + "raw": "{\r\n \"richMenuAliasId\":\"rich1\",\r\n \"richMenuId\":\"richmenu-1f93748bf67af4f76c6729d7ab9d6b61\"\r\n}", | ||
| 1975 | + "options": { | ||
| 1976 | + "raw": { | ||
| 1977 | + "language": "json" | ||
| 1978 | + } | ||
| 1979 | + } | ||
| 1980 | + }, | ||
| 1981 | + "url": { | ||
| 1982 | + "raw": "https://api.line.me/v2/bot/richmenu/alias", | ||
| 1983 | + "protocol": "https", | ||
| 1984 | + "host": [ | ||
| 1985 | + "api", | ||
| 1986 | + "line", | ||
| 1987 | + "me" | ||
| 1988 | + ], | ||
| 1989 | + "path": [ | ||
| 1990 | + "v2", | ||
| 1991 | + "bot", | ||
| 1992 | + "richmenu", | ||
| 1993 | + "alias" | ||
| 1994 | + ] | ||
| 1995 | + } | ||
| 1996 | + }, | ||
| 1997 | + "response": [] | ||
| 1998 | + }, | ||
| 1999 | + { | ||
| 2000 | + "name": "DELETE RICH MENU ALIAS", | ||
| 2001 | + "event": [ | ||
| 2002 | + { | ||
| 2003 | + "listen": "test", | ||
| 2004 | + "script": { | ||
| 2005 | + "exec": [ | ||
| 2006 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 2007 | + "// {\r", | ||
| 2008 | + "// \"status\": \"ready\",\r", | ||
| 2009 | + "// \"followers\": 3,\r", | ||
| 2010 | + "// \"targetedReaches\": 3,\r", | ||
| 2011 | + "// \"blocks\": 0\r", | ||
| 2012 | + "// }" | ||
| 2013 | + ], | ||
| 2014 | + "type": "text/javascript" | ||
| 2015 | + } | ||
| 2016 | + } | ||
| 2017 | + ], | ||
| 2018 | + "request": { | ||
| 2019 | + "method": "DELETE", | ||
| 2020 | + "header": [ | ||
| 2021 | + { | ||
| 2022 | + "key": "Authorization", | ||
| 2023 | + "value": "Bearer {{Channel_access_token}}", | ||
| 2024 | + "type": "text" | ||
| 2025 | + }, | ||
| 2026 | + { | ||
| 2027 | + "key": "Content-Type", | ||
| 2028 | + "value": "image/jpeg", | ||
| 2029 | + "type": "text", | ||
| 2030 | + "disabled": true | ||
| 2031 | + } | ||
| 2032 | + ], | ||
| 2033 | + "body": { | ||
| 2034 | + "mode": "raw", | ||
| 2035 | + "raw": "{\r\n \"richMenuAliasId\":\"rich1\",\r\n \"richMenuId\":\"richmenu-1f93748bf67af4f76c6729d7ab9d6b61\"\r\n}", | ||
| 2036 | + "options": { | ||
| 2037 | + "raw": { | ||
| 2038 | + "language": "json" | ||
| 2039 | + } | ||
| 2040 | + } | ||
| 2041 | + }, | ||
| 2042 | + "url": { | ||
| 2043 | + "raw": "https://api.line.me/v2/bot/richmenu/alias/rich1", | ||
| 2044 | + "protocol": "https", | ||
| 2045 | + "host": [ | ||
| 2046 | + "api", | ||
| 2047 | + "line", | ||
| 2048 | + "me" | ||
| 2049 | + ], | ||
| 2050 | + "path": [ | ||
| 2051 | + "v2", | ||
| 2052 | + "bot", | ||
| 2053 | + "richmenu", | ||
| 2054 | + "alias", | ||
| 2055 | + "rich1" | ||
| 2056 | + ] | ||
| 2057 | + } | ||
| 2058 | + }, | ||
| 2059 | + "response": [] | ||
| 2060 | + }, | ||
| 2061 | + { | ||
| 2062 | + "name": "UPDATE RICH MENU ALIAS", | ||
| 2063 | + "event": [ | ||
| 2064 | + { | ||
| 2065 | + "listen": "test", | ||
| 2066 | + "script": { | ||
| 2067 | + "exec": [ | ||
| 2068 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 2069 | + "// {\r", | ||
| 2070 | + "// \"status\": \"ready\",\r", | ||
| 2071 | + "// \"followers\": 3,\r", | ||
| 2072 | + "// \"targetedReaches\": 3,\r", | ||
| 2073 | + "// \"blocks\": 0\r", | ||
| 2074 | + "// }" | ||
| 2075 | + ], | ||
| 2076 | + "type": "text/javascript" | ||
| 2077 | + } | ||
| 2078 | + } | ||
| 2079 | + ], | ||
| 2080 | + "request": { | ||
| 2081 | + "method": "DELETE", | ||
| 2082 | + "header": [ | ||
| 2083 | + { | ||
| 2084 | + "key": "Authorization", | ||
| 2085 | + "value": "Bearer {{Channel_access_token}}", | ||
| 2086 | + "type": "text" | ||
| 2087 | + }, | ||
| 2088 | + { | ||
| 2089 | + "key": "Content-Type", | ||
| 2090 | + "value": "image/jpeg", | ||
| 2091 | + "type": "text", | ||
| 2092 | + "disabled": true | ||
| 2093 | + } | ||
| 2094 | + ], | ||
| 2095 | + "body": { | ||
| 2096 | + "mode": "raw", | ||
| 2097 | + "raw": "{\r\n \"richMenuId\": \"richmenu-1f93748bf67af4f76c6729d7ab9d6b61\"\r\n}", | ||
| 2098 | + "options": { | ||
| 2099 | + "raw": { | ||
| 2100 | + "language": "json" | ||
| 2101 | + } | ||
| 2102 | + } | ||
| 2103 | + }, | ||
| 2104 | + "url": { | ||
| 2105 | + "raw": "https://api.line.me/v2/bot/richmenu/alias/rich1", | ||
| 2106 | + "protocol": "https", | ||
| 2107 | + "host": [ | ||
| 2108 | + "api", | ||
| 2109 | + "line", | ||
| 2110 | + "me" | ||
| 2111 | + ], | ||
| 2112 | + "path": [ | ||
| 2113 | + "v2", | ||
| 2114 | + "bot", | ||
| 2115 | + "richmenu", | ||
| 2116 | + "alias", | ||
| 2117 | + "rich1" | ||
| 2118 | + ] | ||
| 2119 | + } | ||
| 2120 | + }, | ||
| 2121 | + "response": [] | ||
| 2122 | + }, | ||
| 2123 | + { | ||
| 2124 | + "name": "Get RICH MENU ALIAS", | ||
| 2125 | + "event": [ | ||
| 2126 | + { | ||
| 2127 | + "listen": "test", | ||
| 2128 | + "script": { | ||
| 2129 | + "exec": [ | ||
| 2130 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 2131 | + "// {\r", | ||
| 2132 | + "// \"status\": \"ready\",\r", | ||
| 2133 | + "// \"followers\": 3,\r", | ||
| 2134 | + "// \"targetedReaches\": 3,\r", | ||
| 2135 | + "// \"blocks\": 0\r", | ||
| 2136 | + "// }" | ||
| 2137 | + ], | ||
| 2138 | + "type": "text/javascript" | ||
| 2139 | + } | ||
| 2140 | + } | ||
| 2141 | + ], | ||
| 2142 | + "request": { | ||
| 2143 | + "method": "GET", | ||
| 2144 | + "header": [ | ||
| 2145 | + { | ||
| 2146 | + "key": "Authorization", | ||
| 2147 | + "value": "Bearer {{Channel_access_token}}", | ||
| 2148 | + "type": "text" | ||
| 2149 | + }, | ||
| 2150 | + { | ||
| 2151 | + "key": "Content-Type", | ||
| 2152 | + "value": "image/jpeg", | ||
| 2153 | + "type": "text", | ||
| 2154 | + "disabled": true | ||
| 2155 | + } | ||
| 2156 | + ], | ||
| 2157 | + "url": { | ||
| 2158 | + "raw": "https://api.line.me/v2/bot/richmenu/alias/rich1", | ||
| 2159 | + "protocol": "https", | ||
| 2160 | + "host": [ | ||
| 2161 | + "api", | ||
| 2162 | + "line", | ||
| 2163 | + "me" | ||
| 2164 | + ], | ||
| 2165 | + "path": [ | ||
| 2166 | + "v2", | ||
| 2167 | + "bot", | ||
| 2168 | + "richmenu", | ||
| 2169 | + "alias", | ||
| 2170 | + "rich1" | ||
| 2171 | + ] | ||
| 2172 | + } | ||
| 2173 | + }, | ||
| 2174 | + "response": [] | ||
| 2175 | + }, | ||
| 2176 | + { | ||
| 2177 | + "name": "Get ALL RICH MENU ALIAS", | ||
| 2178 | + "event": [ | ||
| 2179 | + { | ||
| 2180 | + "listen": "test", | ||
| 2181 | + "script": { | ||
| 2182 | + "exec": [ | ||
| 2183 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 2184 | + "// {\r", | ||
| 2185 | + "// \"status\": \"ready\",\r", | ||
| 2186 | + "// \"followers\": 3,\r", | ||
| 2187 | + "// \"targetedReaches\": 3,\r", | ||
| 2188 | + "// \"blocks\": 0\r", | ||
| 2189 | + "// }" | ||
| 2190 | + ], | ||
| 2191 | + "type": "text/javascript" | ||
| 2192 | + } | ||
| 2193 | + } | ||
| 2194 | + ], | ||
| 2195 | + "request": { | ||
| 2196 | + "method": "GET", | ||
| 2197 | + "header": [ | ||
| 2198 | + { | ||
| 2199 | + "key": "Authorization", | ||
| 2200 | + "value": "Bearer {{Channel_access_token}}", | ||
| 2201 | + "type": "text" | ||
| 2202 | + }, | ||
| 2203 | + { | ||
| 2204 | + "key": "Content-Type", | ||
| 2205 | + "value": "image/jpeg", | ||
| 2206 | + "type": "text", | ||
| 2207 | + "disabled": true | ||
| 2208 | + } | ||
| 2209 | + ], | ||
| 2210 | + "url": { | ||
| 2211 | + "raw": "https://api.line.me/v2/bot/richmenu/alias/list", | ||
| 2212 | + "protocol": "https", | ||
| 2213 | + "host": [ | ||
| 2214 | + "api", | ||
| 2215 | + "line", | ||
| 2216 | + "me" | ||
| 2217 | + ], | ||
| 2218 | + "path": [ | ||
| 2219 | + "v2", | ||
| 2220 | + "bot", | ||
| 2221 | + "richmenu", | ||
| 2222 | + "alias", | ||
| 2223 | + "list" | ||
| 2224 | + ] | ||
| 2225 | + } | ||
| 2226 | + }, | ||
| 2227 | + "response": [] | ||
| 2228 | + }, | ||
| 2229 | + { | ||
| 2230 | + "name": "Get RICH MENU ID OF USER", | ||
| 2231 | + "event": [ | ||
| 2232 | + { | ||
| 2233 | + "listen": "test", | ||
| 2234 | + "script": { | ||
| 2235 | + "exec": [ | ||
| 2236 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 2237 | + "// {\r", | ||
| 2238 | + "// \"status\": \"ready\",\r", | ||
| 2239 | + "// \"followers\": 3,\r", | ||
| 2240 | + "// \"targetedReaches\": 3,\r", | ||
| 2241 | + "// \"blocks\": 0\r", | ||
| 2242 | + "// }" | ||
| 2243 | + ], | ||
| 2244 | + "type": "text/javascript" | ||
| 2245 | + } | ||
| 2246 | + } | ||
| 2247 | + ], | ||
| 2248 | + "request": { | ||
| 2249 | + "method": "GET", | ||
| 2250 | + "header": [ | ||
| 2251 | + { | ||
| 2252 | + "key": "Authorization", | ||
| 2253 | + "value": "Bearer {{Channel_access_token}}", | ||
| 2254 | + "type": "text" | ||
| 2255 | + }, | ||
| 2256 | + { | ||
| 2257 | + "key": "Content-Type", | ||
| 2258 | + "value": "image/jpeg", | ||
| 2259 | + "type": "text", | ||
| 2260 | + "disabled": true | ||
| 2261 | + } | ||
| 2262 | + ], | ||
| 2263 | + "url": { | ||
| 2264 | + "raw": "https://api.line.me/v2/bot/user/Uaac2ca5a02feab67a18d5521b572b5aa/richmenu", | ||
| 2265 | + "protocol": "https", | ||
| 2266 | + "host": [ | ||
| 2267 | + "api", | ||
| 2268 | + "line", | ||
| 2269 | + "me" | ||
| 2270 | + ], | ||
| 2271 | + "path": [ | ||
| 2272 | + "v2", | ||
| 2273 | + "bot", | ||
| 2274 | + "user", | ||
| 2275 | + "Uaac2ca5a02feab67a18d5521b572b5aa", | ||
| 2276 | + "richmenu" | ||
| 2277 | + ] | ||
| 2278 | + } | ||
| 2279 | + }, | ||
| 2280 | + "response": [] | ||
| 2281 | + }, | ||
| 2282 | + { | ||
| 2283 | + "name": "UNLINK RICH MENU FROM USER", | ||
| 2284 | + "event": [ | ||
| 2285 | + { | ||
| 2286 | + "listen": "test", | ||
| 2287 | + "script": { | ||
| 2288 | + "exec": [ | ||
| 2289 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 2290 | + "// {\r", | ||
| 2291 | + "// \"status\": \"ready\",\r", | ||
| 2292 | + "// \"followers\": 3,\r", | ||
| 2293 | + "// \"targetedReaches\": 3,\r", | ||
| 2294 | + "// \"blocks\": 0\r", | ||
| 2295 | + "// }" | ||
| 2296 | + ], | ||
| 2297 | + "type": "text/javascript" | ||
| 2298 | + } | ||
| 2299 | + } | ||
| 2300 | + ], | ||
| 2301 | + "request": { | ||
| 2302 | + "method": "DELETE", | ||
| 2303 | + "header": [ | ||
| 2304 | + { | ||
| 2305 | + "key": "Authorization", | ||
| 2306 | + "value": "Bearer {{Channel_access_token}}", | ||
| 2307 | + "type": "text" | ||
| 2308 | + }, | ||
| 2309 | + { | ||
| 2310 | + "key": "Content-Type", | ||
| 2311 | + "value": "image/jpeg", | ||
| 2312 | + "type": "text", | ||
| 2313 | + "disabled": true | ||
| 2314 | + } | ||
| 2315 | + ], | ||
| 2316 | + "url": { | ||
| 2317 | + "raw": "https://api.line.me/v2/bot/user/Uaac2ca5a02feab67a18d5521b572b5aa/richmenu", | ||
| 2318 | + "protocol": "https", | ||
| 2319 | + "host": [ | ||
| 2320 | + "api", | ||
| 2321 | + "line", | ||
| 2322 | + "me" | ||
| 2323 | + ], | ||
| 2324 | + "path": [ | ||
| 2325 | + "v2", | ||
| 2326 | + "bot", | ||
| 2327 | + "user", | ||
| 2328 | + "Uaac2ca5a02feab67a18d5521b572b5aa", | ||
| 2329 | + "richmenu" | ||
| 2330 | + ] | ||
| 2331 | + } | ||
| 2332 | + }, | ||
| 2333 | + "response": [] | ||
| 2334 | + }, | ||
| 2335 | + { | ||
| 2336 | + "name": "UNLINK RICH MENU FROM MUTI USER", | ||
| 2337 | + "event": [ | ||
| 2338 | + { | ||
| 2339 | + "listen": "test", | ||
| 2340 | + "script": { | ||
| 2341 | + "exec": [ | ||
| 2342 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 2343 | + "// {\r", | ||
| 2344 | + "// \"status\": \"ready\",\r", | ||
| 2345 | + "// \"followers\": 3,\r", | ||
| 2346 | + "// \"targetedReaches\": 3,\r", | ||
| 2347 | + "// \"blocks\": 0\r", | ||
| 2348 | + "// }" | ||
| 2349 | + ], | ||
| 2350 | + "type": "text/javascript" | ||
| 2351 | + } | ||
| 2352 | + } | ||
| 2353 | + ], | ||
| 2354 | + "request": { | ||
| 2355 | + "method": "POST", | ||
| 2356 | + "header": [ | ||
| 2357 | + { | ||
| 2358 | + "key": "Authorization", | ||
| 2359 | + "value": "Bearer {{Channel_access_token}}", | ||
| 2360 | + "type": "text" | ||
| 2361 | + }, | ||
| 2362 | + { | ||
| 2363 | + "key": "Content-Type", | ||
| 2364 | + "value": "image/jpeg", | ||
| 2365 | + "type": "text", | ||
| 2366 | + "disabled": true | ||
| 2367 | + } | ||
| 2368 | + ], | ||
| 2369 | + "body": { | ||
| 2370 | + "mode": "raw", | ||
| 2371 | + "raw": "{\r\n \"userIds\":[\"Uaac2ca5a02feab67a18d5521b572b5aa\"]\r\n}", | ||
| 2372 | + "options": { | ||
| 2373 | + "raw": { | ||
| 2374 | + "language": "json" | ||
| 2375 | + } | ||
| 2376 | + } | ||
| 2377 | + }, | ||
| 2378 | + "url": { | ||
| 2379 | + "raw": "https://api.line.me/v2/bot/richmenu/bulk/unlink", | ||
| 2380 | + "protocol": "https", | ||
| 2381 | + "host": [ | ||
| 2382 | + "api", | ||
| 2383 | + "line", | ||
| 2384 | + "me" | ||
| 2385 | + ], | ||
| 2386 | + "path": [ | ||
| 2387 | + "v2", | ||
| 2388 | + "bot", | ||
| 2389 | + "richmenu", | ||
| 2390 | + "bulk", | ||
| 2391 | + "unlink" | ||
| 2392 | + ] | ||
| 2393 | + } | ||
| 2394 | + }, | ||
| 2395 | + "response": [] | ||
| 2396 | + } | ||
| 2397 | + ] | ||
| 2398 | + }, | ||
| 2399 | + { | ||
| 2400 | + "name": "GROUP", | ||
| 2401 | + "item": [ | ||
| 2402 | + { | ||
| 2403 | + "name": "GET GROUP SUMMARY", | ||
| 2404 | + "event": [ | ||
| 2405 | + { | ||
| 2406 | + "listen": "test", | ||
| 2407 | + "script": { | ||
| 2408 | + "exec": [ | ||
| 2409 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 2410 | + "// {\r", | ||
| 2411 | + "// \"status\": \"ready\",\r", | ||
| 2412 | + "// \"followers\": 3,\r", | ||
| 2413 | + "// \"targetedReaches\": 3,\r", | ||
| 2414 | + "// \"blocks\": 0\r", | ||
| 2415 | + "// }" | ||
| 2416 | + ], | ||
| 2417 | + "type": "text/javascript" | ||
| 2418 | + } | ||
| 2419 | + } | ||
| 2420 | + ], | ||
| 2421 | + "protocolProfileBehavior": { | ||
| 2422 | + "disableBodyPruning": true | ||
| 2423 | + }, | ||
| 2424 | + "request": { | ||
| 2425 | + "method": "GET", | ||
| 2426 | + "header": [ | ||
| 2427 | + { | ||
| 2428 | + "key": "Authorization", | ||
| 2429 | + "value": "Bearer {{Channel_access_token}}", | ||
| 2430 | + "type": "text" | ||
| 2431 | + } | ||
| 2432 | + ], | ||
| 2433 | + "body": { | ||
| 2434 | + "mode": "raw", | ||
| 2435 | + "raw": "{\r\n \"size\": {\r\n \"width\": 2500,\r\n \"height\": 1686\r\n },\r\n \"selected\": true,\r\n \"name\": \"Rich02\",\r\n \"chatBarText\": \"Bulletin\",\r\n \"areas\": [\r\n {\r\n \"bounds\": {\r\n \"x\": 1677,\r\n \"y\": 863,\r\n \"width\": 767,\r\n \"height\": 746\r\n },\r\n \"action\": {\r\n \"type\": \"postback\",\r\n \"data\": \"GO BACK\"\r\n }\r\n }\r\n ]\r\n}", | ||
| 2436 | + "options": { | ||
| 2437 | + "raw": { | ||
| 2438 | + "language": "json" | ||
| 2439 | + } | ||
| 2440 | + } | ||
| 2441 | + }, | ||
| 2442 | + "url": { | ||
| 2443 | + "raw": "https://api.line.me/v2/bot/group/C2511c70e16f53c1bb69a536e465a36d5/summary", | ||
| 2444 | + "protocol": "https", | ||
| 2445 | + "host": [ | ||
| 2446 | + "api", | ||
| 2447 | + "line", | ||
| 2448 | + "me" | ||
| 2449 | + ], | ||
| 2450 | + "path": [ | ||
| 2451 | + "v2", | ||
| 2452 | + "bot", | ||
| 2453 | + "group", | ||
| 2454 | + "C2511c70e16f53c1bb69a536e465a36d5", | ||
| 2455 | + "summary" | ||
| 2456 | + ] | ||
| 2457 | + } | ||
| 2458 | + }, | ||
| 2459 | + "response": [] | ||
| 2460 | + }, | ||
| 2461 | + { | ||
| 2462 | + "name": "GET NUMBER OF USERS IN A GROUP", | ||
| 2463 | + "event": [ | ||
| 2464 | + { | ||
| 2465 | + "listen": "test", | ||
| 2466 | + "script": { | ||
| 2467 | + "exec": [ | ||
| 2468 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 2469 | + "// {\r", | ||
| 2470 | + "// \"status\": \"ready\",\r", | ||
| 2471 | + "// \"followers\": 3,\r", | ||
| 2472 | + "// \"targetedReaches\": 3,\r", | ||
| 2473 | + "// \"blocks\": 0\r", | ||
| 2474 | + "// }" | ||
| 2475 | + ], | ||
| 2476 | + "type": "text/javascript" | ||
| 2477 | + } | ||
| 2478 | + } | ||
| 2479 | + ], | ||
| 2480 | + "protocolProfileBehavior": { | ||
| 2481 | + "disableBodyPruning": true | ||
| 2482 | + }, | ||
| 2483 | + "request": { | ||
| 2484 | + "method": "GET", | ||
| 2485 | + "header": [ | ||
| 2486 | + { | ||
| 2487 | + "key": "Authorization", | ||
| 2488 | + "value": "Bearer {{Channel_access_token}}", | ||
| 2489 | + "type": "text" | ||
| 2490 | + } | ||
| 2491 | + ], | ||
| 2492 | + "body": { | ||
| 2493 | + "mode": "raw", | ||
| 2494 | + "raw": "{\r\n \"size\": {\r\n \"width\": 2500,\r\n \"height\": 1686\r\n },\r\n \"selected\": true,\r\n \"name\": \"Rich02\",\r\n \"chatBarText\": \"Bulletin\",\r\n \"areas\": [\r\n {\r\n \"bounds\": {\r\n \"x\": 1677,\r\n \"y\": 863,\r\n \"width\": 767,\r\n \"height\": 746\r\n },\r\n \"action\": {\r\n \"type\": \"postback\",\r\n \"data\": \"GO BACK\"\r\n }\r\n }\r\n ]\r\n}", | ||
| 2495 | + "options": { | ||
| 2496 | + "raw": { | ||
| 2497 | + "language": "json" | ||
| 2498 | + } | ||
| 2499 | + } | ||
| 2500 | + }, | ||
| 2501 | + "url": { | ||
| 2502 | + "raw": "https://api.line.me/v2/bot/group/C2511c70e16f53c1bb69a536e465a36d5/members/count", | ||
| 2503 | + "protocol": "https", | ||
| 2504 | + "host": [ | ||
| 2505 | + "api", | ||
| 2506 | + "line", | ||
| 2507 | + "me" | ||
| 2508 | + ], | ||
| 2509 | + "path": [ | ||
| 2510 | + "v2", | ||
| 2511 | + "bot", | ||
| 2512 | + "group", | ||
| 2513 | + "C2511c70e16f53c1bb69a536e465a36d5", | ||
| 2514 | + "members", | ||
| 2515 | + "count" | ||
| 2516 | + ] | ||
| 2517 | + } | ||
| 2518 | + }, | ||
| 2519 | + "response": [] | ||
| 2520 | + }, | ||
| 2521 | + { | ||
| 2522 | + "name": "GET GROUP MEMBER USER IDs (PAY)", | ||
| 2523 | + "event": [ | ||
| 2524 | + { | ||
| 2525 | + "listen": "test", | ||
| 2526 | + "script": { | ||
| 2527 | + "exec": [ | ||
| 2528 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 2529 | + "// {\r", | ||
| 2530 | + "// \"status\": \"ready\",\r", | ||
| 2531 | + "// \"followers\": 3,\r", | ||
| 2532 | + "// \"targetedReaches\": 3,\r", | ||
| 2533 | + "// \"blocks\": 0\r", | ||
| 2534 | + "// }" | ||
| 2535 | + ], | ||
| 2536 | + "type": "text/javascript" | ||
| 2537 | + } | ||
| 2538 | + } | ||
| 2539 | + ], | ||
| 2540 | + "protocolProfileBehavior": { | ||
| 2541 | + "disableBodyPruning": true | ||
| 2542 | + }, | ||
| 2543 | + "request": { | ||
| 2544 | + "method": "GET", | ||
| 2545 | + "header": [ | ||
| 2546 | + { | ||
| 2547 | + "key": "Authorization", | ||
| 2548 | + "value": "Bearer {{Channel_access_token}}", | ||
| 2549 | + "type": "text" | ||
| 2550 | + } | ||
| 2551 | + ], | ||
| 2552 | + "body": { | ||
| 2553 | + "mode": "raw", | ||
| 2554 | + "raw": "{\r\n \"size\": {\r\n \"width\": 2500,\r\n \"height\": 1686\r\n },\r\n \"selected\": true,\r\n \"name\": \"Rich02\",\r\n \"chatBarText\": \"Bulletin\",\r\n \"areas\": [\r\n {\r\n \"bounds\": {\r\n \"x\": 1677,\r\n \"y\": 863,\r\n \"width\": 767,\r\n \"height\": 746\r\n },\r\n \"action\": {\r\n \"type\": \"postback\",\r\n \"data\": \"GO BACK\"\r\n }\r\n }\r\n ]\r\n}", | ||
| 2555 | + "options": { | ||
| 2556 | + "raw": { | ||
| 2557 | + "language": "json" | ||
| 2558 | + } | ||
| 2559 | + } | ||
| 2560 | + }, | ||
| 2561 | + "url": { | ||
| 2562 | + "raw": "https://api.line.me/v2/bot/group/C2511c70e16f53c1bb69a536e465a36d5/members/ids", | ||
| 2563 | + "protocol": "https", | ||
| 2564 | + "host": [ | ||
| 2565 | + "api", | ||
| 2566 | + "line", | ||
| 2567 | + "me" | ||
| 2568 | + ], | ||
| 2569 | + "path": [ | ||
| 2570 | + "v2", | ||
| 2571 | + "bot", | ||
| 2572 | + "group", | ||
| 2573 | + "C2511c70e16f53c1bb69a536e465a36d5", | ||
| 2574 | + "members", | ||
| 2575 | + "ids" | ||
| 2576 | + ] | ||
| 2577 | + } | ||
| 2578 | + }, | ||
| 2579 | + "response": [] | ||
| 2580 | + }, | ||
| 2581 | + { | ||
| 2582 | + "name": "GET GROUP MEMBER PROFILE", | ||
| 2583 | + "event": [ | ||
| 2584 | + { | ||
| 2585 | + "listen": "test", | ||
| 2586 | + "script": { | ||
| 2587 | + "exec": [ | ||
| 2588 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 2589 | + "// {\r", | ||
| 2590 | + "// \"status\": \"ready\",\r", | ||
| 2591 | + "// \"followers\": 3,\r", | ||
| 2592 | + "// \"targetedReaches\": 3,\r", | ||
| 2593 | + "// \"blocks\": 0\r", | ||
| 2594 | + "// }" | ||
| 2595 | + ], | ||
| 2596 | + "type": "text/javascript" | ||
| 2597 | + } | ||
| 2598 | + } | ||
| 2599 | + ], | ||
| 2600 | + "protocolProfileBehavior": { | ||
| 2601 | + "disableBodyPruning": true | ||
| 2602 | + }, | ||
| 2603 | + "request": { | ||
| 2604 | + "method": "GET", | ||
| 2605 | + "header": [ | ||
| 2606 | + { | ||
| 2607 | + "key": "Authorization", | ||
| 2608 | + "value": "Bearer {{Channel_access_token}}", | ||
| 2609 | + "type": "text" | ||
| 2610 | + } | ||
| 2611 | + ], | ||
| 2612 | + "body": { | ||
| 2613 | + "mode": "raw", | ||
| 2614 | + "raw": "{\r\n \"size\": {\r\n \"width\": 2500,\r\n \"height\": 1686\r\n },\r\n \"selected\": true,\r\n \"name\": \"Rich02\",\r\n \"chatBarText\": \"Bulletin\",\r\n \"areas\": [\r\n {\r\n \"bounds\": {\r\n \"x\": 1677,\r\n \"y\": 863,\r\n \"width\": 767,\r\n \"height\": 746\r\n },\r\n \"action\": {\r\n \"type\": \"postback\",\r\n \"data\": \"GO BACK\"\r\n }\r\n }\r\n ]\r\n}", | ||
| 2615 | + "options": { | ||
| 2616 | + "raw": { | ||
| 2617 | + "language": "json" | ||
| 2618 | + } | ||
| 2619 | + } | ||
| 2620 | + }, | ||
| 2621 | + "url": { | ||
| 2622 | + "raw": "https://api.line.me/v2/bot/group/C2511c70e16f53c1bb69a536e465a36d5/member/Uaac2ca5a02feab67a18d5521b572b5aa", | ||
| 2623 | + "protocol": "https", | ||
| 2624 | + "host": [ | ||
| 2625 | + "api", | ||
| 2626 | + "line", | ||
| 2627 | + "me" | ||
| 2628 | + ], | ||
| 2629 | + "path": [ | ||
| 2630 | + "v2", | ||
| 2631 | + "bot", | ||
| 2632 | + "group", | ||
| 2633 | + "C2511c70e16f53c1bb69a536e465a36d5", | ||
| 2634 | + "member", | ||
| 2635 | + "Uaac2ca5a02feab67a18d5521b572b5aa" | ||
| 2636 | + ] | ||
| 2637 | + } | ||
| 2638 | + }, | ||
| 2639 | + "response": [] | ||
| 2640 | + }, | ||
| 2641 | + { | ||
| 2642 | + "name": "LEAVE GROUP", | ||
| 2643 | + "event": [ | ||
| 2644 | + { | ||
| 2645 | + "listen": "test", | ||
| 2646 | + "script": { | ||
| 2647 | + "exec": [ | ||
| 2648 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 2649 | + "// {\r", | ||
| 2650 | + "// \"status\": \"ready\",\r", | ||
| 2651 | + "// \"followers\": 3,\r", | ||
| 2652 | + "// \"targetedReaches\": 3,\r", | ||
| 2653 | + "// \"blocks\": 0\r", | ||
| 2654 | + "// }" | ||
| 2655 | + ], | ||
| 2656 | + "type": "text/javascript" | ||
| 2657 | + } | ||
| 2658 | + } | ||
| 2659 | + ], | ||
| 2660 | + "request": { | ||
| 2661 | + "method": "POST", | ||
| 2662 | + "header": [ | ||
| 2663 | + { | ||
| 2664 | + "key": "Authorization", | ||
| 2665 | + "value": "Bearer {{Channel_access_token}}", | ||
| 2666 | + "type": "text" | ||
| 2667 | + } | ||
| 2668 | + ], | ||
| 2669 | + "body": { | ||
| 2670 | + "mode": "raw", | ||
| 2671 | + "raw": "{\r\n \"size\": {\r\n \"width\": 2500,\r\n \"height\": 1686\r\n },\r\n \"selected\": true,\r\n \"name\": \"Rich02\",\r\n \"chatBarText\": \"Bulletin\",\r\n \"areas\": [\r\n {\r\n \"bounds\": {\r\n \"x\": 1677,\r\n \"y\": 863,\r\n \"width\": 767,\r\n \"height\": 746\r\n },\r\n \"action\": {\r\n \"type\": \"postback\",\r\n \"data\": \"GO BACK\"\r\n }\r\n }\r\n ]\r\n}", | ||
| 2672 | + "options": { | ||
| 2673 | + "raw": { | ||
| 2674 | + "language": "json" | ||
| 2675 | + } | ||
| 2676 | + } | ||
| 2677 | + }, | ||
| 2678 | + "url": { | ||
| 2679 | + "raw": "https://api.line.me/v2/bot/group/C2511c70e16f53c1bb69a536e465a36d5/leave", | ||
| 2680 | + "protocol": "https", | ||
| 2681 | + "host": [ | ||
| 2682 | + "api", | ||
| 2683 | + "line", | ||
| 2684 | + "me" | ||
| 2685 | + ], | ||
| 2686 | + "path": [ | ||
| 2687 | + "v2", | ||
| 2688 | + "bot", | ||
| 2689 | + "group", | ||
| 2690 | + "C2511c70e16f53c1bb69a536e465a36d5", | ||
| 2691 | + "leave" | ||
| 2692 | + ] | ||
| 2693 | + } | ||
| 2694 | + }, | ||
| 2695 | + "response": [] | ||
| 2696 | + } | ||
| 2697 | + ] | ||
| 2698 | + }, | ||
| 2699 | + { | ||
| 2700 | + "name": "CHAT ROOM", | ||
| 2701 | + "item": [ | ||
| 2702 | + { | ||
| 2703 | + "name": "Get NUMBER OF USERS IN A ROOM", | ||
| 2704 | + "event": [ | ||
| 2705 | + { | ||
| 2706 | + "listen": "test", | ||
| 2707 | + "script": { | ||
| 2708 | + "exec": [ | ||
| 2709 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 2710 | + "// {\r", | ||
| 2711 | + "// \"status\": \"ready\",\r", | ||
| 2712 | + "// \"followers\": 3,\r", | ||
| 2713 | + "// \"targetedReaches\": 3,\r", | ||
| 2714 | + "// \"blocks\": 0\r", | ||
| 2715 | + "// }" | ||
| 2716 | + ], | ||
| 2717 | + "type": "text/javascript" | ||
| 2718 | + } | ||
| 2719 | + } | ||
| 2720 | + ], | ||
| 2721 | + "protocolProfileBehavior": { | ||
| 2722 | + "disableBodyPruning": true | ||
| 2723 | + }, | ||
| 2724 | + "request": { | ||
| 2725 | + "method": "GET", | ||
| 2726 | + "header": [ | ||
| 2727 | + { | ||
| 2728 | + "key": "Authorization", | ||
| 2729 | + "value": "Bearer {{Channel_access_token}}", | ||
| 2730 | + "type": "text" | ||
| 2731 | + } | ||
| 2732 | + ], | ||
| 2733 | + "body": { | ||
| 2734 | + "mode": "raw", | ||
| 2735 | + "raw": "{\r\n \"size\": {\r\n \"width\": 2500,\r\n \"height\": 1686\r\n },\r\n \"selected\": true,\r\n \"name\": \"Rich02\",\r\n \"chatBarText\": \"Bulletin\",\r\n \"areas\": [\r\n {\r\n \"bounds\": {\r\n \"x\": 1677,\r\n \"y\": 863,\r\n \"width\": 767,\r\n \"height\": 746\r\n },\r\n \"action\": {\r\n \"type\": \"postback\",\r\n \"data\": \"GO BACK\"\r\n }\r\n }\r\n ]\r\n}", | ||
| 2736 | + "options": { | ||
| 2737 | + "raw": { | ||
| 2738 | + "language": "json" | ||
| 2739 | + } | ||
| 2740 | + } | ||
| 2741 | + }, | ||
| 2742 | + "url": { | ||
| 2743 | + "raw": "https://api.line.me/v2/bot/room/{roomId}/members/count", | ||
| 2744 | + "protocol": "https", | ||
| 2745 | + "host": [ | ||
| 2746 | + "api", | ||
| 2747 | + "line", | ||
| 2748 | + "me" | ||
| 2749 | + ], | ||
| 2750 | + "path": [ | ||
| 2751 | + "v2", | ||
| 2752 | + "bot", | ||
| 2753 | + "room", | ||
| 2754 | + "{roomId}", | ||
| 2755 | + "members", | ||
| 2756 | + "count" | ||
| 2757 | + ] | ||
| 2758 | + } | ||
| 2759 | + }, | ||
| 2760 | + "response": [] | ||
| 2761 | + }, | ||
| 2762 | + { | ||
| 2763 | + "name": "Get ROOM MEMBER USER IDs", | ||
| 2764 | + "event": [ | ||
| 2765 | + { | ||
| 2766 | + "listen": "test", | ||
| 2767 | + "script": { | ||
| 2768 | + "exec": [ | ||
| 2769 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 2770 | + "// {\r", | ||
| 2771 | + "// \"status\": \"ready\",\r", | ||
| 2772 | + "// \"followers\": 3,\r", | ||
| 2773 | + "// \"targetedReaches\": 3,\r", | ||
| 2774 | + "// \"blocks\": 0\r", | ||
| 2775 | + "// }" | ||
| 2776 | + ], | ||
| 2777 | + "type": "text/javascript" | ||
| 2778 | + } | ||
| 2779 | + } | ||
| 2780 | + ], | ||
| 2781 | + "protocolProfileBehavior": { | ||
| 2782 | + "disableBodyPruning": true | ||
| 2783 | + }, | ||
| 2784 | + "request": { | ||
| 2785 | + "method": "GET", | ||
| 2786 | + "header": [ | ||
| 2787 | + { | ||
| 2788 | + "key": "Authorization", | ||
| 2789 | + "value": "Bearer {{Channel_access_token}}", | ||
| 2790 | + "type": "text" | ||
| 2791 | + } | ||
| 2792 | + ], | ||
| 2793 | + "body": { | ||
| 2794 | + "mode": "raw", | ||
| 2795 | + "raw": "{\r\n \"size\": {\r\n \"width\": 2500,\r\n \"height\": 1686\r\n },\r\n \"selected\": true,\r\n \"name\": \"Rich02\",\r\n \"chatBarText\": \"Bulletin\",\r\n \"areas\": [\r\n {\r\n \"bounds\": {\r\n \"x\": 1677,\r\n \"y\": 863,\r\n \"width\": 767,\r\n \"height\": 746\r\n },\r\n \"action\": {\r\n \"type\": \"postback\",\r\n \"data\": \"GO BACK\"\r\n }\r\n }\r\n ]\r\n}", | ||
| 2796 | + "options": { | ||
| 2797 | + "raw": { | ||
| 2798 | + "language": "json" | ||
| 2799 | + } | ||
| 2800 | + } | ||
| 2801 | + }, | ||
| 2802 | + "url": { | ||
| 2803 | + "raw": "https://api.line.me/v2/bot/room/{roomId}/members/ids", | ||
| 2804 | + "protocol": "https", | ||
| 2805 | + "host": [ | ||
| 2806 | + "api", | ||
| 2807 | + "line", | ||
| 2808 | + "me" | ||
| 2809 | + ], | ||
| 2810 | + "path": [ | ||
| 2811 | + "v2", | ||
| 2812 | + "bot", | ||
| 2813 | + "room", | ||
| 2814 | + "{roomId}", | ||
| 2815 | + "members", | ||
| 2816 | + "ids" | ||
| 2817 | + ] | ||
| 2818 | + } | ||
| 2819 | + }, | ||
| 2820 | + "response": [] | ||
| 2821 | + }, | ||
| 2822 | + { | ||
| 2823 | + "name": "Get ROOM MEMBER PROFILE", | ||
| 2824 | + "event": [ | ||
| 2825 | + { | ||
| 2826 | + "listen": "test", | ||
| 2827 | + "script": { | ||
| 2828 | + "exec": [ | ||
| 2829 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 2830 | + "// {\r", | ||
| 2831 | + "// \"status\": \"ready\",\r", | ||
| 2832 | + "// \"followers\": 3,\r", | ||
| 2833 | + "// \"targetedReaches\": 3,\r", | ||
| 2834 | + "// \"blocks\": 0\r", | ||
| 2835 | + "// }" | ||
| 2836 | + ], | ||
| 2837 | + "type": "text/javascript" | ||
| 2838 | + } | ||
| 2839 | + } | ||
| 2840 | + ], | ||
| 2841 | + "protocolProfileBehavior": { | ||
| 2842 | + "disableBodyPruning": true | ||
| 2843 | + }, | ||
| 2844 | + "request": { | ||
| 2845 | + "method": "GET", | ||
| 2846 | + "header": [ | ||
| 2847 | + { | ||
| 2848 | + "key": "Authorization", | ||
| 2849 | + "value": "Bearer {{Channel_access_token}}", | ||
| 2850 | + "type": "text" | ||
| 2851 | + } | ||
| 2852 | + ], | ||
| 2853 | + "body": { | ||
| 2854 | + "mode": "raw", | ||
| 2855 | + "raw": "{\r\n \"size\": {\r\n \"width\": 2500,\r\n \"height\": 1686\r\n },\r\n \"selected\": true,\r\n \"name\": \"Rich02\",\r\n \"chatBarText\": \"Bulletin\",\r\n \"areas\": [\r\n {\r\n \"bounds\": {\r\n \"x\": 1677,\r\n \"y\": 863,\r\n \"width\": 767,\r\n \"height\": 746\r\n },\r\n \"action\": {\r\n \"type\": \"postback\",\r\n \"data\": \"GO BACK\"\r\n }\r\n }\r\n ]\r\n}", | ||
| 2856 | + "options": { | ||
| 2857 | + "raw": { | ||
| 2858 | + "language": "json" | ||
| 2859 | + } | ||
| 2860 | + } | ||
| 2861 | + }, | ||
| 2862 | + "url": { | ||
| 2863 | + "raw": "https://api.line.me/v2/bot/room/{roomId}/member/{userId}", | ||
| 2864 | + "protocol": "https", | ||
| 2865 | + "host": [ | ||
| 2866 | + "api", | ||
| 2867 | + "line", | ||
| 2868 | + "me" | ||
| 2869 | + ], | ||
| 2870 | + "path": [ | ||
| 2871 | + "v2", | ||
| 2872 | + "bot", | ||
| 2873 | + "room", | ||
| 2874 | + "{roomId}", | ||
| 2875 | + "member", | ||
| 2876 | + "{userId}" | ||
| 2877 | + ] | ||
| 2878 | + } | ||
| 2879 | + }, | ||
| 2880 | + "response": [] | ||
| 2881 | + }, | ||
| 2882 | + { | ||
| 2883 | + "name": "LEAVE ROOM", | ||
| 2884 | + "event": [ | ||
| 2885 | + { | ||
| 2886 | + "listen": "test", | ||
| 2887 | + "script": { | ||
| 2888 | + "exec": [ | ||
| 2889 | + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", | ||
| 2890 | + "// {\r", | ||
| 2891 | + "// \"status\": \"ready\",\r", | ||
| 2892 | + "// \"followers\": 3,\r", | ||
| 2893 | + "// \"targetedReaches\": 3,\r", | ||
| 2894 | + "// \"blocks\": 0\r", | ||
| 2895 | + "// }" | ||
| 2896 | + ], | ||
| 2897 | + "type": "text/javascript" | ||
| 2898 | + } | ||
| 2899 | + } | ||
| 2900 | + ], | ||
| 2901 | + "request": { | ||
| 2902 | + "method": "POST", | ||
| 2903 | + "header": [ | ||
| 2904 | + { | ||
| 2905 | + "key": "Authorization", | ||
| 2906 | + "value": "Bearer {{Channel_access_token}}", | ||
| 2907 | + "type": "text" | ||
| 2908 | + } | ||
| 2909 | + ], | ||
| 2910 | + "body": { | ||
| 2911 | + "mode": "raw", | ||
| 2912 | + "raw": "{\r\n \"size\": {\r\n \"width\": 2500,\r\n \"height\": 1686\r\n },\r\n \"selected\": true,\r\n \"name\": \"Rich02\",\r\n \"chatBarText\": \"Bulletin\",\r\n \"areas\": [\r\n {\r\n \"bounds\": {\r\n \"x\": 1677,\r\n \"y\": 863,\r\n \"width\": 767,\r\n \"height\": 746\r\n },\r\n \"action\": {\r\n \"type\": \"postback\",\r\n \"data\": \"GO BACK\"\r\n }\r\n }\r\n ]\r\n}", | ||
| 2913 | + "options": { | ||
| 2914 | + "raw": { | ||
| 2915 | + "language": "json" | ||
| 2916 | + } | ||
| 2917 | + } | ||
| 2918 | + }, | ||
| 2919 | + "url": { | ||
| 2920 | + "raw": "https://api.line.me/v2/bot/room/{roomId}/leave", | ||
| 2921 | + "protocol": "https", | ||
| 2922 | + "host": [ | ||
| 2923 | + "api", | ||
| 2924 | + "line", | ||
| 2925 | + "me" | ||
| 2926 | + ], | ||
| 2927 | + "path": [ | ||
| 2928 | + "v2", | ||
| 2929 | + "bot", | ||
| 2930 | + "room", | ||
| 2931 | + "{roomId}", | ||
| 2932 | + "leave" | ||
| 2933 | + ] | ||
| 2934 | + } | ||
| 2935 | + }, | ||
| 2936 | + "response": [] | ||
| 2937 | + } | ||
| 2938 | + ] | ||
| 2939 | + }, | ||
| 2940 | + { | ||
| 2941 | + "name": "getContent", | ||
| 2942 | + "event": [ | ||
| 2943 | + { | ||
| 2944 | + "listen": "test", | ||
| 2945 | + "script": { | ||
| 2946 | + "exec": [ | ||
| 2947 | + "// 14975650341173 video Umaru\r", | ||
| 2948 | + "// 14955535936627 รูปภาพ\r", | ||
| 2949 | + "// 14975790575610 เสียง\r", | ||
| 2950 | + "" | ||
| 2951 | + ], | ||
| 2952 | + "type": "text/javascript" | ||
| 2953 | + } | ||
| 2954 | + } | ||
| 2955 | + ], | ||
| 2956 | + "protocolProfileBehavior": { | ||
| 2957 | + "disableBodyPruning": true | ||
| 2958 | + }, | ||
| 2959 | + "request": { | ||
| 2960 | + "method": "GET", | ||
| 2961 | + "header": [ | ||
| 2962 | + { | ||
| 2963 | + "key": "Authorization", | ||
| 2964 | + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", | ||
| 2965 | + "type": "text" | ||
| 2966 | + } | ||
| 2967 | + ], | ||
| 2968 | + "body": { | ||
| 2969 | + "mode": "raw", | ||
| 2970 | + "raw": "", | ||
| 2971 | + "options": { | ||
| 2972 | + "raw": { | ||
| 2973 | + "language": "json" | ||
| 2974 | + } | ||
| 2975 | + } | ||
| 2976 | + }, | ||
| 2977 | + "url": { | ||
| 2978 | + "raw": "https://api-data.line.me/v2/bot/message/14976544649995/content", | ||
| 2979 | + "protocol": "https", | ||
| 2980 | + "host": [ | ||
| 2981 | + "api-data", | ||
| 2982 | + "line", | ||
| 2983 | + "me" | ||
| 2984 | + ], | ||
| 2985 | + "path": [ | ||
| 2986 | + "v2", | ||
| 2987 | + "bot", | ||
| 2988 | + "message", | ||
| 2989 | + "14976544649995", | ||
| 2990 | + "content" | ||
| 2991 | + ] | ||
| 2992 | + } | ||
| 2993 | + }, | ||
| 2994 | + "response": [] | ||
| 2995 | + }, | ||
| 2996 | + { | ||
| 2997 | + "name": "push message", | ||
| 2998 | + "request": { | ||
| 2999 | + "method": "POST", | ||
| 3000 | + "header": [ | ||
| 3001 | + { | ||
| 3002 | + "key": "Authorization", | ||
| 3003 | + "value": "Bearer NYy1k9OM7e/T7PgabnjafdqcxbRc58m7/K4A3kuNCVkoPxhBoZ/Jvg9gaarsqySG2BtvsoQcVgE4yulPaT1WJ7qTUyBaqegae+r8uh0oWrZO93zXIUILn3bOGUFtLmVFcTuBfRKgFHCaJhi1+wFQ6QdB04t89/1O/w1cDnyilFU=", | ||
| 3004 | + "type": "text" | ||
| 3005 | + }, | ||
| 3006 | + { | ||
| 3007 | + "key": "Content-Type", | ||
| 3008 | + "value": "application/json", | ||
| 3009 | + "type": "text" | ||
| 3010 | + } | ||
| 3011 | + ], | ||
| 3012 | + "body": { | ||
| 3013 | + "mode": "raw", | ||
| 3014 | + "raw": "{\r\n \"to\": \"Uaac2ca5a02feab67a18d5521b572b5aa\",\r\n \"messages\": [\r\n {\r\n \"type\": \"flex\",\r\n \"altText\": \"GenContentFlex!0\",\r\n \"contents\": {\r\n \"type\": \"bubble\",\r\n \"direction\": \"ltr\",\r\n \"header\": {\r\n \"type\": \"box\",\r\n \"layout\": \"vertical\",\r\n \"contents\": [\r\n {\r\n \"type\": \"text\",\r\n \"text\": \"Header\",\r\n \"align\": \"center\",\r\n \"contents\": []\r\n }\r\n ]\r\n },\r\n \"hero\": {\r\n \"type\": \"image\",\r\n \"url\": \"https://1417094351.rsc.cdn77.org/articles/1439/1438984/thumbnail/small.gif?3\",\r\n \"size\": \"full\",\r\n \"aspectRatio\": \"1.51:1\",\r\n \"aspectMode\": \"fit\"\r\n },\r\n \"body\": {\r\n \"type\": \"box\",\r\n \"layout\": \"vertical\",\r\n \"contents\": [\r\n {\r\n \"type\": \"text\",\r\n \"text\": \"Body\",\r\n \"align\": \"center\",\r\n \"contents\": []\r\n }\r\n ]\r\n },\r\n \"footer\": {\r\n \"type\": \"box\",\r\n \"layout\": \"horizontal\",\r\n \"contents\": [\r\n {\r\n \"type\": \"button\",\r\n \"action\": {\r\n \"type\": \"postback\",\r\n \"label\": \"Buy\",\r\n \"data\": \"action=buy&itemid=111\",\r\n \"text\": \"Buy\"\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n}", | ||
| 3015 | + "options": { | ||
| 3016 | + "raw": { | ||
| 3017 | + "language": "json" | ||
| 3018 | + } | ||
| 3019 | + } | ||
| 3020 | + }, | ||
| 3021 | + "url": { | ||
| 3022 | + "raw": "https://api.line.me/v2/bot/message/push", | ||
| 3023 | + "protocol": "https", | ||
| 3024 | + "host": [ | ||
| 3025 | + "api", | ||
| 3026 | + "line", | ||
| 3027 | + "me" | ||
| 3028 | + ], | ||
| 3029 | + "path": [ | ||
| 3030 | + "v2", | ||
| 3031 | + "bot", | ||
| 3032 | + "message", | ||
| 3033 | + "push" | ||
| 3034 | + ] | ||
| 3035 | + } | ||
| 3036 | + }, | ||
| 3037 | + "response": [] | ||
| 3038 | + }, | ||
| 3039 | + { | ||
| 3040 | + "name": "Reply message", | ||
| 3041 | + "request": { | ||
| 3042 | + "method": "POST", | ||
| 3043 | + "header": [ | ||
| 3044 | + { | ||
| 3045 | + "key": "Authorization", | ||
| 3046 | + "value": "Bearer NYy1k9OM7e/T7PgabnjafdqcxbRc58m7/K4A3kuNCVkoPxhBoZ/Jvg9gaarsqySG2BtvsoQcVgE4yulPaT1WJ7qTUyBaqegae+r8uh0oWrZO93zXIUILn3bOGUFtLmVFcTuBfRKgFHCaJhi1+wFQ6QdB04t89/1O/w1cDnyilFU=", | ||
| 3047 | + "type": "text" | ||
| 3048 | + }, | ||
| 3049 | + { | ||
| 3050 | + "key": "Content-Type", | ||
| 3051 | + "value": "application/json", | ||
| 3052 | + "type": "text" | ||
| 3053 | + } | ||
| 3054 | + ], | ||
| 3055 | + "body": { | ||
| 3056 | + "mode": "raw", | ||
| 3057 | + "raw": "{\r\n \"replyToken\":\"d291851be4c140f4b8b4ba27520b8992\",\r\n \"messages\":[\r\n {\r\n \"type\":\"text\",\r\n \"text\":\"Hello, user\"\r\n },\r\n {\r\n \"type\":\"text\",\r\n \"text\":\"May I help you?\"\r\n }\r\n ]\r\n}", | ||
| 3058 | + "options": { | ||
| 3059 | + "raw": { | ||
| 3060 | + "language": "json" | ||
| 3061 | + } | ||
| 3062 | + } | ||
| 3063 | + }, | ||
| 3064 | + "url": { | ||
| 3065 | + "raw": "https://api.line.me/v2/bot/message/reply", | ||
| 3066 | + "protocol": "https", | ||
| 3067 | + "host": [ | ||
| 3068 | + "api", | ||
| 3069 | + "line", | ||
| 3070 | + "me" | ||
| 3071 | + ], | ||
| 3072 | + "path": [ | ||
| 3073 | + "v2", | ||
| 3074 | + "bot", | ||
| 3075 | + "message", | ||
| 3076 | + "reply" | ||
| 3077 | + ] | ||
| 3078 | + } | ||
| 3079 | + }, | ||
| 3080 | + "response": [] | ||
| 3081 | + }, | ||
| 3082 | + { | ||
| 3083 | + "name": "narrowcast", | ||
| 3084 | + "event": [ | ||
| 3085 | + { | ||
| 3086 | + "listen": "test", | ||
| 3087 | + "script": { | ||
| 3088 | + "exec": [ | ||
| 3089 | + "// 14975650341173 video Umaru\r", | ||
| 3090 | + "// 14955535936627 รูปภาพ\r", | ||
| 3091 | + "// 14975790575610 เสียง\r", | ||
| 3092 | + "" | ||
| 3093 | + ], | ||
| 3094 | + "type": "text/javascript" | ||
| 3095 | + } | ||
| 3096 | + } | ||
| 3097 | + ], | ||
| 3098 | + "request": { | ||
| 3099 | + "method": "POST", | ||
| 3100 | + "header": [ | ||
| 3101 | + { | ||
| 3102 | + "key": "Authorization", | ||
| 3103 | + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", | ||
| 3104 | + "type": "text" | ||
| 3105 | + }, | ||
| 3106 | + { | ||
| 3107 | + "key": "Content-Type", | ||
| 3108 | + "value": "application/json", | ||
| 3109 | + "type": "text" | ||
| 3110 | + } | ||
| 3111 | + ], | ||
| 3112 | + "body": { | ||
| 3113 | + "mode": "raw", | ||
| 3114 | + "raw": "{\r\n \"messages\": [\r\n {\r\n \"type\": \"flex\",\r\n \"altText\": \"GenContentFlex!0\",\r\n \"contents\": {\r\n \"type\": \"bubble\",\r\n \"direction\": \"ltr\",\r\n \"header\": {\r\n \"type\": \"box\",\r\n \"layout\": \"vertical\",\r\n \"contents\": [\r\n {\r\n \"type\": \"text\",\r\n \"text\": \"Header\",\r\n \"align\": \"center\",\r\n \"contents\": []\r\n }\r\n ]\r\n },\r\n \"hero\": {\r\n \"type\": \"image\",\r\n \"url\": \"https://1417094351.rsc.cdn77.org/articles/1439/1438984/thumbnail/small.gif?3\",\r\n \"size\": \"full\",\r\n \"aspectRatio\": \"1.51:1\",\r\n \"aspectMode\": \"fit\"\r\n },\r\n \"body\": {\r\n \"type\": \"box\",\r\n \"layout\": \"vertical\",\r\n \"contents\": [\r\n {\r\n \"type\": \"text\",\r\n \"text\": \"Body\",\r\n \"align\": \"center\",\r\n \"contents\": []\r\n }\r\n ]\r\n },\r\n \"footer\": {\r\n \"type\": \"box\",\r\n \"layout\": \"horizontal\",\r\n \"contents\": [\r\n {\r\n \"type\": \"button\",\r\n \"action\": {\r\n \"type\": \"postback\",\r\n \"label\": \"Buy\",\r\n \"data\": \"action=buy&itemid=111\",\r\n \"text\": \"Buy\"\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n}", | ||
| 3115 | + "options": { | ||
| 3116 | + "raw": { | ||
| 3117 | + "language": "json" | ||
| 3118 | + } | ||
| 3119 | + } | ||
| 3120 | + }, | ||
| 3121 | + "url": { | ||
| 3122 | + "raw": "https://api.line.me/v2/bot/message/narrowcast", | ||
| 3123 | + "protocol": "https", | ||
| 3124 | + "host": [ | ||
| 3125 | + "api", | ||
| 3126 | + "line", | ||
| 3127 | + "me" | ||
| 3128 | + ], | ||
| 3129 | + "path": [ | ||
| 3130 | + "v2", | ||
| 3131 | + "bot", | ||
| 3132 | + "message", | ||
| 3133 | + "narrowcast" | ||
| 3134 | + ] | ||
| 3135 | + } | ||
| 3136 | + }, | ||
| 3137 | + "response": [] | ||
| 3138 | + }, | ||
| 3139 | + { | ||
| 3140 | + "name": "broadcast", | ||
| 3141 | + "request": { | ||
| 3142 | + "method": "POST", | ||
| 3143 | + "header": [ | ||
| 3144 | + { | ||
| 3145 | + "key": "Authorization", | ||
| 3146 | + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", | ||
| 3147 | + "type": "text" | ||
| 3148 | + }, | ||
| 3149 | + { | ||
| 3150 | + "key": "Content-Type", | ||
| 3151 | + "value": "application/json", | ||
| 3152 | + "type": "text" | ||
| 3153 | + } | ||
| 3154 | + ], | ||
| 3155 | + "body": { | ||
| 3156 | + "mode": "raw", | ||
| 3157 | + "raw": "{\r\n \"messages\": [\r\n {\r\n \"type\": \"flex\",\r\n \"altText\": \"GenContentFlex!0\",\r\n \"contents\": {\r\n \"type\": \"bubble\",\r\n \"direction\": \"ltr\",\r\n \"header\": {\r\n \"type\": \"box\",\r\n \"layout\": \"vertical\",\r\n \"contents\": [\r\n {\r\n \"type\": \"text\",\r\n \"text\": \"Header\",\r\n \"align\": \"center\",\r\n \"contents\": []\r\n }\r\n ]\r\n },\r\n \"hero\": {\r\n \"type\": \"image\",\r\n \"url\": \"https://vos.line-scdn.net/bot-designer-template-images/bot-designer-icon.png\",\r\n \"size\": \"full\",\r\n \"aspectRatio\": \"1.51:1\",\r\n \"aspectMode\": \"fit\"\r\n },\r\n \"body\": {\r\n \"type\": \"box\",\r\n \"layout\": \"vertical\",\r\n \"contents\": [\r\n {\r\n \"type\": \"text\",\r\n \"text\": \"Body\",\r\n \"align\": \"center\",\r\n \"contents\": []\r\n }\r\n ]\r\n },\r\n \"footer\": {\r\n \"type\": \"box\",\r\n \"layout\": \"horizontal\",\r\n \"contents\": [\r\n {\r\n \"type\": \"button\",\r\n \"action\": {\r\n \"type\": \"uri\",\r\n \"label\": \"Button\",\r\n \"uri\": \"https://linecorp.com\"\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n}", | ||
| 3158 | + "options": { | ||
| 3159 | + "raw": { | ||
| 3160 | + "language": "json" | ||
| 3161 | + } | ||
| 3162 | + } | ||
| 3163 | + }, | ||
| 3164 | + "url": { | ||
| 3165 | + "raw": "https://api.line.me/v2/bot/message/broadcast", | ||
| 3166 | + "protocol": "https", | ||
| 3167 | + "host": [ | ||
| 3168 | + "api", | ||
| 3169 | + "line", | ||
| 3170 | + "me" | ||
| 3171 | + ], | ||
| 3172 | + "path": [ | ||
| 3173 | + "v2", | ||
| 3174 | + "bot", | ||
| 3175 | + "message", | ||
| 3176 | + "broadcast" | ||
| 3177 | + ] | ||
| 3178 | + } | ||
| 3179 | + }, | ||
| 3180 | + "response": [] | ||
| 3181 | + } | ||
| 3182 | + ] | ||
| 3183 | + } | ||
| 3184 | + ] | ||
| 3185 | +} | ||
| 0 | \ No newline at end of file | 3186 | \ No newline at end of file |