diff --git a/Z-MessageList.postman_collection.json b/Z-MessageList.postman_collection.json new file mode 100644 index 0000000..f806784 --- /dev/null +++ b/Z-MessageList.postman_collection.json @@ -0,0 +1,3185 @@ +{ + "info": { + "_postman_id": "7e523052-8c6c-4731-9b0d-0ec8e61e96c3", + "name": "Z-MessageList", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" + }, + "item": [ + { + "name": "ByMyAPI", + "item": [ + { + "name": "code push message", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "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}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://localhost:3000/push", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "3000", + "path": [ + "push" + ] + } + }, + "response": [] + }, + { + "name": "code multicast", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"user_ids\": [\r\n \"Uaac2ca5a02feab67a18d5521b572b5aa\"\r\n ]\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://localhost:3000/multicast", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "3000", + "path": [ + "multicast" + ] + } + }, + "response": [] + }, + { + "name": "code broadcast", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "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}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://localhost:3000/broadcast", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "3000", + "path": [ + "broadcast" + ] + } + }, + "response": [] + }, + { + "name": "saveFileLine", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"message_id\":\"14976544649995\"\r\n}" + }, + "url": { + "raw": "http://localhost:3000/save", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "3000", + "path": [ + "save" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "ByLine", + "item": [ + { + "name": "Audience", + "item": [ + { + "name": "Create audience", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// 14975650341173 video Umaru\r", + "// 14955535936627 รูปภาพ\r", + "// 14975790575610 เสียง\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"description\": \"gang01\",\r\n \"isIfaAudience\": false,\r\n \"audiences\": []\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/audienceGroup/upload", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "audienceGroup", + "upload" + ] + } + }, + "response": [] + }, + { + "name": "Update audience", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// 14975650341173 video Umaru\r", + "// 14955535936627 รูปภาพ\r", + "// 14975790575610 เสียง\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"audienceGroupId\":\"2575099999989\",\r\n \"uploadDescription\": \"id : Ua8cbdeaefaf6550a3b9f5159f8fca76c\",\r\n \"audiences\": [{\r\n \"id\":\"Ua8cbdeaefaf6550a3b9f5159f8fca76c\"\r\n }]\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/audienceGroup/upload", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "audienceGroup", + "upload" + ] + } + }, + "response": [] + }, + { + "name": "Rename an audience", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// 14975650341173 video Umaru\r", + "// 14955535936627 รูปภาพ\r", + "// 14975790575610 เสียง\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"description\": \"GROUPA\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/audienceGroup/8724357860597/updateDescription", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "audienceGroup", + "8724357860597", + "updateDescription" + ] + } + }, + "response": [] + }, + { + "name": "Activate audience", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// 14975650341173 video Umaru\r", + "// 14955535936627 รูปภาพ\r", + "// 14975790575610 เสียง\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/audienceGroup/3641589622255/activate", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "audienceGroup", + "3641589622255", + "activate" + ] + } + }, + "response": [] + }, + { + "name": "Delete audience", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// 14975650341173 video Umaru\r", + "// 14955535936627 รูปภาพ\r", + "// 14975790575610 เสียง\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/audienceGroup/7158024622225", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "audienceGroup", + "7158024622225" + ] + } + }, + "response": [] + }, + { + "name": "narrowcast", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// 14975650341173 video Umaru\r", + "// 14955535936627 รูปภาพ\r", + "// 14975790575610 เสียง\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "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}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/message/narrowcast", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "message", + "narrowcast" + ] + } + }, + "response": [] + }, + { + "name": "Get audience", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// 14975650341173 video Umaru\r", + "// 14955535936627 รูปภาพ\r", + "// 14975790575610 เสียง\r", + "" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"description\": \"14\",\r\n \"isIfaAudience\": false,\r\n \"audiences\": []\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/audienceGroup/9507500470438", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "audienceGroup", + "9507500470438" + ] + } + }, + "response": [] + }, + { + "name": "Update the authority level of the audience", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// 14975650341173 video Umaru\r", + "// 14955535936627 รูปภาพ\r", + "// 14975790575610 เสียง\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"authorityLevel\": \"PUBLIC\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/audienceGroup/authorityLevel", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "audienceGroup", + "authorityLevel" + ] + } + }, + "response": [] + }, + { + "name": "Get the authority level of the audience", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// 14975650341173 video Umaru\r", + "// 14955535936627 รูปภาพ\r", + "// 14975790575610 เสียง\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "https://api.line.me/v2/bot/audienceGroup/authorityLevel", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "audienceGroup", + "authorityLevel" + ] + } + }, + "response": [] + }, + { + "name": "x Create audience for click-based retargeting", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// 14975650341173 video Umaru\r", + "// 14955535936627 รูปภาพ\r", + "// 14975790575610 เสียง\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"description\": \"clickAD1\",\r\n \"requestId\": \"bc41cf95-fa3b-46c2-88fb-6076e560c982\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/audienceGroup/click", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "audienceGroup", + "click" + ] + } + }, + "response": [] + }, + { + "name": "x Create audience for impression-based retargeting", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// 14975650341173 video Umaru\r", + "// 14955535936627 รูปภาพ\r", + "// 14975790575610 เสียง\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"description\": \"UserRead\",\r\n \"requestId\": \"fb9daafc-4d3e-4edf-a759-510975755810\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/audienceGroup/imp", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "audienceGroup", + "imp" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Insight", + "item": [ + { + "name": "Get number of message deliveries", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/insight/followers?date=20211026", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "insight", + "followers" + ], + "query": [ + { + "key": "date", + "value": "20211026" + } + ] + } + }, + "response": [] + }, + { + "name": "Get number of followers", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวันเกิดอะไรขึ้นบ้าง\r", + "// ตัวอย่าง\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"autoResponse\": 7,\r", + "// \"welcomeResponse\": 4,\r", + "// \"apiBroadcast\": 29,\r", + "// \"apiPush\": 5,\r", + "// \"apiMulticast\": 16,\r", + "// \"apiReply\": 101\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/insight/message/delivery?date=20211026", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "insight", + "message", + "delivery" + ], + "query": [ + { + "key": "date", + "value": "20211026" + } + ] + } + }, + "response": [] + }, + { + "name": "Get friend demographics", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวันเกิดอะไรขึ้นบ้าง\r", + "// ตัวอย่าง\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"autoResponse\": 7,\r", + "// \"welcomeResponse\": 4,\r", + "// \"apiBroadcast\": 29,\r", + "// \"apiPush\": 5,\r", + "// \"apiMulticast\": 16,\r", + "// \"apiReply\": 101\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/insight/demographic", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "insight", + "demographic" + ] + } + }, + "response": [] + }, + { + "name": "Get user interaction statistics", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// แสดงผล ว่าส่งให้กี่คน และส่งอะไรไป\r", + "// {\r", + "// \"overview\": {\r", + "// \"requestId\": \"47fd8f7f-5108-49dd-8ca9-2e9b68ba5754\",\r", + "// \"timestamp\": 1635314400,\r", + "// \"delivered\": 4,\r", + "// \"uniqueImpression\": null,\r", + "// \"uniqueClick\": null,\r", + "// \"uniqueMediaPlayed\": null,\r", + "// \"uniqueMediaPlayed100Percent\": null\r", + "// },\r", + "// \"messages\": [],\r", + "// \"clicks\": []\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/insight/message/event?requestId=bc41cf95-fa3b-46c2-88fb-6076e560c982", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "insight", + "message", + "event" + ], + "query": [ + { + "key": "requestId", + "value": "bc41cf95-fa3b-46c2-88fb-6076e560c982" + } + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Users", + "item": [ + { + "name": "Get profile", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/profile/Uaac2ca5a02feab67a18d5521b572b5aa", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "profile", + "Uaac2ca5a02feab67a18d5521b572b5aa" + ] + } + }, + "response": [] + }, + { + "name": "Get profile followers Me", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// แสดงผล ว่าส่งให้กี่คน และส่งอะไรไป\r", + "// {\r", + "// \"overview\": {\r", + "// \"requestId\": \"47fd8f7f-5108-49dd-8ca9-2e9b68ba5754\",\r", + "// \"timestamp\": 1635314400,\r", + "// \"delivered\": 4,\r", + "// \"uniqueImpression\": null,\r", + "// \"uniqueClick\": null,\r", + "// \"uniqueMediaPlayed\": null,\r", + "// \"uniqueMediaPlayed100Percent\": null\r", + "// },\r", + "// \"messages\": [],\r", + "// \"clicks\": []\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/followers/ids", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "followers", + "ids" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Bot", + "item": [ + { + "name": "Get bot info", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/info", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "info" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Account link", + "item": [ + { + "name": "Issue link token", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/user/Uaac2ca5a02feab67a18d5521b572b5aa/linkToken", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "user", + "Uaac2ca5a02feab67a18d5521b572b5aa", + "linkToken" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "RichMenu", + "item": [ + { + "name": "Create", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "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}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/richmenu", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "richmenu" + ] + } + }, + "response": [] + }, + { + "name": "UPLOAD", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "image/jpeg", + "type": "text" + } + ], + "body": { + "mode": "file", + "file": { + "src": "/C:/Users/ePUI/Desktop/TestRichmenu/richmenu-02.png" + } + }, + "url": { + "raw": "https://api-data.line.me/v2/bot/richmenu/richmenu-a9995ce54d06a8c1438ea96bf74c02aa/content", + "protocol": "https", + "host": [ + "api-data", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "richmenu", + "richmenu-a9995ce54d06a8c1438ea96bf74c02aa", + "content" + ] + } + }, + "response": [] + }, + { + "name": "DOWNLOAD", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "image/jpeg", + "type": "text" + } + ], + "body": { + "mode": "file", + "file": { + "src": "/C:/Users/ePUI/Downloads/129895999_1820102924833603_4191640007679978823_o.jpg" + } + }, + "url": { + "raw": "https://api-data.line.me/v2/bot/richmenu/richmenu-25ee8938bfb135341be84dc40c67d456/content/content", + "protocol": "https", + "host": [ + "api-data", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "richmenu", + "richmenu-25ee8938bfb135341be84dc40c67d456", + "content", + "content" + ] + } + }, + "response": [] + }, + { + "name": "GET MENU LIST", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "image/jpeg", + "type": "text", + "disabled": true + } + ], + "body": { + "mode": "file", + "file": { + "src": "" + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/richmenu/list", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "richmenu", + "list" + ] + } + }, + "response": [] + }, + { + "name": "GET MENU", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "image/jpeg", + "type": "text" + } + ], + "body": { + "mode": "file", + "file": { + "src": "/C:/Users/ePUI/Downloads/129895999_1820102924833603_4191640007679978823_o.jpg" + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/richmenu/richmenu-5f0ccf6ed573da3906f3004e0834f52b", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "richmenu", + "richmenu-5f0ccf6ed573da3906f3004e0834f52b" + ] + } + }, + "response": [] + }, + { + "name": "DELETE MENU", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "image/jpeg", + "type": "text", + "disabled": true + } + ], + "body": { + "mode": "file", + "file": { + "src": "/C:/Users/ePUI/Downloads/129895999_1820102924833603_4191640007679978823_o.jpg" + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/richmenu/richmenu-9aa9f8b5be29a61951691ba70d00780d", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "richmenu", + "richmenu-9aa9f8b5be29a61951691ba70d00780d" + ] + } + }, + "response": [] + }, + { + "name": "SET DEFAULT", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "image/jpeg", + "type": "text" + } + ], + "body": { + "mode": "file", + "file": { + "src": "/C:/Users/ePUI/Downloads/129895999_1820102924833603_4191640007679978823_o.jpg" + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/user/all/richmenu/richmenu-589b58f237a7042a57a4cf1698895d18", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "user", + "all", + "richmenu", + "richmenu-589b58f237a7042a57a4cf1698895d18" + ] + } + }, + "response": [] + }, + { + "name": "GET DEFAULT MENU", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "image/jpeg", + "type": "text" + } + ], + "body": { + "mode": "file", + "file": { + "src": "/C:/Users/ePUI/Downloads/129895999_1820102924833603_4191640007679978823_o.jpg" + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/user/all/richmenu", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "user", + "all", + "richmenu" + ] + } + }, + "response": [] + }, + { + "name": "CANCEL DEFAULT MENU", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "image/jpeg", + "type": "text" + } + ], + "body": { + "mode": "file", + "file": { + "src": "" + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/user/all/richmenu", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "user", + "all", + "richmenu" + ] + } + }, + "response": [] + }, + { + "name": "LINK RICH MENU TO USER", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "image/jpeg", + "type": "text", + "disabled": true + } + ], + "body": { + "mode": "file", + "file": { + "src": "" + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/user/Uaac2ca5a02feab67a18d5521b572b5aa/richmenu/richmenu-589b58f237a7042a57a4cf1698895d18", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "user", + "Uaac2ca5a02feab67a18d5521b572b5aa", + "richmenu", + "richmenu-589b58f237a7042a57a4cf1698895d18" + ] + } + }, + "response": [] + }, + { + "name": "LINK RICH MENU TO MUTI USER", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "image/jpeg", + "type": "text", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"richMenuId\": \"richmenu-9aa9f8b5be29a61951691ba70d00780d\",\r\n \"userIds\": [\r\n \"Uaac2ca5a02feab67a18d5521b572b5aa\"\r\n ]\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/richmenu/bulk/link", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "richmenu", + "bulk", + "link" + ] + } + }, + "response": [] + }, + { + "name": "CRATE RICH MENU ALIAS", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "image/jpeg", + "type": "text", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"richMenuAliasId\":\"rich1\",\r\n \"richMenuId\":\"richmenu-1f93748bf67af4f76c6729d7ab9d6b61\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/richmenu/alias", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "richmenu", + "alias" + ] + } + }, + "response": [] + }, + { + "name": "DELETE RICH MENU ALIAS", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "image/jpeg", + "type": "text", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"richMenuAliasId\":\"rich1\",\r\n \"richMenuId\":\"richmenu-1f93748bf67af4f76c6729d7ab9d6b61\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/richmenu/alias/rich1", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "richmenu", + "alias", + "rich1" + ] + } + }, + "response": [] + }, + { + "name": "UPDATE RICH MENU ALIAS", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "image/jpeg", + "type": "text", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"richMenuId\": \"richmenu-1f93748bf67af4f76c6729d7ab9d6b61\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/richmenu/alias/rich1", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "richmenu", + "alias", + "rich1" + ] + } + }, + "response": [] + }, + { + "name": "Get RICH MENU ALIAS", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "image/jpeg", + "type": "text", + "disabled": true + } + ], + "url": { + "raw": "https://api.line.me/v2/bot/richmenu/alias/rich1", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "richmenu", + "alias", + "rich1" + ] + } + }, + "response": [] + }, + { + "name": "Get ALL RICH MENU ALIAS", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "image/jpeg", + "type": "text", + "disabled": true + } + ], + "url": { + "raw": "https://api.line.me/v2/bot/richmenu/alias/list", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "richmenu", + "alias", + "list" + ] + } + }, + "response": [] + }, + { + "name": "Get RICH MENU ID OF USER", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "image/jpeg", + "type": "text", + "disabled": true + } + ], + "url": { + "raw": "https://api.line.me/v2/bot/user/Uaac2ca5a02feab67a18d5521b572b5aa/richmenu", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "user", + "Uaac2ca5a02feab67a18d5521b572b5aa", + "richmenu" + ] + } + }, + "response": [] + }, + { + "name": "UNLINK RICH MENU FROM USER", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "image/jpeg", + "type": "text", + "disabled": true + } + ], + "url": { + "raw": "https://api.line.me/v2/bot/user/Uaac2ca5a02feab67a18d5521b572b5aa/richmenu", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "user", + "Uaac2ca5a02feab67a18d5521b572b5aa", + "richmenu" + ] + } + }, + "response": [] + }, + { + "name": "UNLINK RICH MENU FROM MUTI USER", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "image/jpeg", + "type": "text", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"userIds\":[\"Uaac2ca5a02feab67a18d5521b572b5aa\"]\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/richmenu/bulk/unlink", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "richmenu", + "bulk", + "unlink" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "GROUP", + "item": [ + { + "name": "GET GROUP SUMMARY", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "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}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/group/C2511c70e16f53c1bb69a536e465a36d5/summary", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "group", + "C2511c70e16f53c1bb69a536e465a36d5", + "summary" + ] + } + }, + "response": [] + }, + { + "name": "GET NUMBER OF USERS IN A GROUP", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "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}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/group/C2511c70e16f53c1bb69a536e465a36d5/members/count", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "group", + "C2511c70e16f53c1bb69a536e465a36d5", + "members", + "count" + ] + } + }, + "response": [] + }, + { + "name": "GET GROUP MEMBER USER IDs (PAY)", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "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}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/group/C2511c70e16f53c1bb69a536e465a36d5/members/ids", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "group", + "C2511c70e16f53c1bb69a536e465a36d5", + "members", + "ids" + ] + } + }, + "response": [] + }, + { + "name": "GET GROUP MEMBER PROFILE", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "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}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/group/C2511c70e16f53c1bb69a536e465a36d5/member/Uaac2ca5a02feab67a18d5521b572b5aa", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "group", + "C2511c70e16f53c1bb69a536e465a36d5", + "member", + "Uaac2ca5a02feab67a18d5521b572b5aa" + ] + } + }, + "response": [] + }, + { + "name": "LEAVE GROUP", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "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}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/group/C2511c70e16f53c1bb69a536e465a36d5/leave", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "group", + "C2511c70e16f53c1bb69a536e465a36d5", + "leave" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "CHAT ROOM", + "item": [ + { + "name": "Get NUMBER OF USERS IN A ROOM", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "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}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/room/{roomId}/members/count", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "room", + "{roomId}", + "members", + "count" + ] + } + }, + "response": [] + }, + { + "name": "Get ROOM MEMBER USER IDs", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "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}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/room/{roomId}/members/ids", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "room", + "{roomId}", + "members", + "ids" + ] + } + }, + "response": [] + }, + { + "name": "Get ROOM MEMBER PROFILE", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "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}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/room/{roomId}/member/{userId}", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "room", + "{roomId}", + "member", + "{userId}" + ] + } + }, + "response": [] + }, + { + "name": "LEAVE ROOM", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// เช็คว่าแต่ละวัน มาคนติดตามเท่าไหร่\r", + "// {\r", + "// \"status\": \"ready\",\r", + "// \"followers\": 3,\r", + "// \"targetedReaches\": 3,\r", + "// \"blocks\": 0\r", + "// }" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{Channel_access_token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "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}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/room/{roomId}/leave", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "room", + "{roomId}", + "leave" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "getContent", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// 14975650341173 video Umaru\r", + "// 14955535936627 รูปภาพ\r", + "// 14975790575610 เสียง\r", + "" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api-data.line.me/v2/bot/message/14976544649995/content", + "protocol": "https", + "host": [ + "api-data", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "message", + "14976544649995", + "content" + ] + } + }, + "response": [] + }, + { + "name": "push message", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer NYy1k9OM7e/T7PgabnjafdqcxbRc58m7/K4A3kuNCVkoPxhBoZ/Jvg9gaarsqySG2BtvsoQcVgE4yulPaT1WJ7qTUyBaqegae+r8uh0oWrZO93zXIUILn3bOGUFtLmVFcTuBfRKgFHCaJhi1+wFQ6QdB04t89/1O/w1cDnyilFU=", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "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}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/message/push", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "message", + "push" + ] + } + }, + "response": [] + }, + { + "name": "Reply message", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer NYy1k9OM7e/T7PgabnjafdqcxbRc58m7/K4A3kuNCVkoPxhBoZ/Jvg9gaarsqySG2BtvsoQcVgE4yulPaT1WJ7qTUyBaqegae+r8uh0oWrZO93zXIUILn3bOGUFtLmVFcTuBfRKgFHCaJhi1+wFQ6QdB04t89/1O/w1cDnyilFU=", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "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}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/message/reply", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "message", + "reply" + ] + } + }, + "response": [] + }, + { + "name": "narrowcast", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "// 14975650341173 video Umaru\r", + "// 14955535936627 รูปภาพ\r", + "// 14975790575610 เสียง\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "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}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/message/narrowcast", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "message", + "narrowcast" + ] + } + }, + "response": [] + }, + { + "name": "broadcast", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer be/XHjQ+gMoypZE78Us7hk0h6PA04TyfpQciMOq+B/OVPmumozdhGzYUwopDgsOMCM7RymTK8m++q20GSj3c6B7gZkgEmuGYEYPvc6j+4as6X5bu7tEg+KAZKMfBVDnk+ekpAorC7FMwVPyt2frGRQdB04t89/1O/w1cDnyilFU=", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "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}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api.line.me/v2/bot/message/broadcast", + "protocol": "https", + "host": [ + "api", + "line", + "me" + ], + "path": [ + "v2", + "bot", + "message", + "broadcast" + ] + } + }, + "response": [] + } + ] + } + ] +} \ No newline at end of file -- libgit2 0.21.2