Commit 0ed4e0e493429c619abe8a8510f1c1e49db2a63b

Authored by hausdoerfer
1 parent 3c39a814

merged postman collections

docu/BeuthBot.postman_collection.json deleted 100644 → 0
1 -{  
2 - "info": {  
3 - "name": "BeuthBot",  
4 - "_postman_id": "fd29548f-6b95-81d0-cae3-1233324d3846",  
5 - "description": "",  
6 - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"  
7 - },  
8 - "item": [  
9 - {  
10 - "name": "Facebook",  
11 - "description": "",  
12 - "item": [  
13 - {  
14 - "name": "FB setWebhook",  
15 - "request": {  
16 - "method": "GET",  
17 - "header": [],  
18 - "body": {},  
19 - "url": {  
20 - "raw": "localhost:8080/facebook/setWebhook",  
21 - "host": [  
22 - "localhost"  
23 - ],  
24 - "port": "8080",  
25 - "path": [  
26 - "facebook",  
27 - "setWebhook"  
28 - ]  
29 - },  
30 - "description": ""  
31 - },  
32 - "response": []  
33 - },  
34 - {  
35 - "name": "FB getUpdates",  
36 - "request": {  
37 - "method": "POST",  
38 - "header": [  
39 - {  
40 - "key": "Content-Type",  
41 - "value": "application/json"  
42 - }  
43 - ],  
44 - "body": {  
45 - "mode": "raw",  
46 - "raw": "{\"object\":\"page\",\"entry\":[{\"id\":\"163783704220143\",\"time\":1513427045712,\"messaging\":[{\"sender\":{\"id\":\"1385529261556255\"},\"recipient\":{\"id\":\"163783704220143\"},\"timestamp\":1513427044846,\"message\":{\"mid\":\"mid.$cAADOButO2l5mkI1R7lgX0gFO8FR5\",\"seq\":4370,\"text\":\"Hallo\"}}]}]}"  
47 - },  
48 - "url": {  
49 - "raw": "localhost:8080/facebook/getUpdates",  
50 - "host": [  
51 - "localhost"  
52 - ],  
53 - "port": "8080",  
54 - "path": [  
55 - "facebook",  
56 - "getUpdates"  
57 - ]  
58 - },  
59 - "description": ""  
60 - },  
61 - "response": []  
62 - }  
63 - ]  
64 - },  
65 - {  
66 - "name": "Rasa",  
67 - "description": "",  
68 - "item": [  
69 - {  
70 - "name": "Rasa parse",  
71 - "request": {  
72 - "method": "GET",  
73 - "header": [],  
74 - "body": {},  
75 - "url": {  
76 - "raw": "localhost:5000/parse?q=Gerichte",  
77 - "host": [  
78 - "localhost"  
79 - ],  
80 - "port": "5000",  
81 - "path": [  
82 - "parse"  
83 - ],  
84 - "query": [  
85 - {  
86 - "key": "q",  
87 - "value": "Gerichte",  
88 - "equals": true  
89 - }  
90 - ]  
91 - },  
92 - "description": ""  
93 - },  
94 - "response": []  
95 - }  
96 - ]  
97 - },  
98 - {  
99 - "name": "Telegram",  
100 - "description": "",  
101 - "item": [  
102 - {  
103 - "name": "Telegram setWebhook",  
104 - "request": {  
105 - "method": "GET",  
106 - "header": [],  
107 - "body": {},  
108 - "url": {  
109 - "raw": ""  
110 - },  
111 - "description": ""  
112 - },  
113 - "response": []  
114 - },  
115 - {  
116 - "name": "Telegram setWebhook",  
117 - "request": {  
118 - "method": "POST",  
119 - "header": [],  
120 - "body": {},  
121 - "url": {  
122 - "raw": "localhost:8080/telegram/setWebhook",  
123 - "host": [  
124 - "localhost"  
125 - ],  
126 - "port": "8080",  
127 - "path": [  
128 - "telegram",  
129 - "setWebhook"  
130 - ]  
131 - },  
132 - "description": ""  
133 - },  
134 - "response": []  
135 - }  
136 - ]  
137 - },  
138 - {  
139 - "name": "Wildfly Home",  
140 - "request": {  
141 - "method": "GET",  
142 - "header": [],  
143 - "body": {},  
144 - "url": {  
145 - "raw": "localhost/8080",  
146 - "host": [  
147 - "localhost"  
148 - ],  
149 - "path": [  
150 - "8080"  
151 - ]  
152 - },  
153 - "description": ""  
154 - },  
155 - "response": []  
156 - }  
157 - ]  
158 -}  
159 \ No newline at end of file 0 \ No newline at end of file
docu/postman/beuth-bot.json
1 { 1 {
  2 + "variables": [],
2 "info": { 3 "info": {
3 - "name": "beuth-bot-v1",  
4 - "_postman_id": "8b06966b-f57c-2927-3250-8241d48b465b", 4 + "name": "beuth-bot-v2",
  5 + "_postman_id": "",
5 "description": "", 6 "description": "",
6 - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" 7 + "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
7 }, 8 },
8 "item": [ 9 "item": [
9 { 10 {
10 "name": "Facebook", 11 "name": "Facebook",
  12 + "description": "",
11 "item": [ 13 "item": [
12 { 14 {
13 "name": "setWebhook", 15 "name": "setWebhook",
14 "request": { 16 "request": {
  17 + "url": "localhost:8080/facebook/setWebhook",
15 "method": "GET", 18 "method": "GET",
16 "header": [], 19 "header": [],
17 - "body": {},  
18 - "url": {  
19 - "raw": "localhost:8080/facebook/setWebhook",  
20 - "host": [  
21 - "localhost"  
22 - ],  
23 - "port": "8080",  
24 - "path": [  
25 - "facebook",  
26 - "setWebhook"  
27 - ] 20 + "body": {
  21 + "mode": "raw",
  22 + "raw": ""
28 }, 23 },
29 "description": "" 24 "description": ""
30 }, 25 },
@@ -33,6 +28,7 @@ @@ -33,6 +28,7 @@
33 { 28 {
34 "name": "getUpdates", 29 "name": "getUpdates",
35 "request": { 30 "request": {
  31 + "url": "localhost:8080/facebook/getUpdates",
36 "method": "POST", 32 "method": "POST",
37 "header": [ 33 "header": [
38 { 34 {
@@ -44,17 +40,6 @@ @@ -44,17 +40,6 @@
44 "mode": "raw", 40 "mode": "raw",
45 "raw": "{\"object\":\"page\",\"entry\":[{\"id\":\"163783704220143\",\"time\":1513427045712,\"messaging\":[{\"sender\":{\"id\":\"1385529261556255\"},\"recipient\":{\"id\":\"163783704220143\"},\"timestamp\":1513427044846,\"message\":{\"mid\":\"mid.$cAADOButO2l5mkI1R7lgX0gFO8FR5\",\"seq\":4370,\"text\":\"Was gibt es in der Mensa heute?\"}}]}]}" 41 "raw": "{\"object\":\"page\",\"entry\":[{\"id\":\"163783704220143\",\"time\":1513427045712,\"messaging\":[{\"sender\":{\"id\":\"1385529261556255\"},\"recipient\":{\"id\":\"163783704220143\"},\"timestamp\":1513427044846,\"message\":{\"mid\":\"mid.$cAADOButO2l5mkI1R7lgX0gFO8FR5\",\"seq\":4370,\"text\":\"Was gibt es in der Mensa heute?\"}}]}]}"
46 }, 42 },
47 - "url": {  
48 - "raw": "localhost:8080/facebook/getUpdates",  
49 - "host": [  
50 - "localhost"  
51 - ],  
52 - "port": "8080",  
53 - "path": [  
54 - "facebook",  
55 - "getUpdates"  
56 - ]  
57 - },  
58 "description": "" 43 "description": ""
59 }, 44 },
60 "response": [] 45 "response": []
@@ -63,16 +48,11 @@ @@ -63,16 +48,11 @@
63 }, 48 },
64 { 49 {
65 "name": "Rasa", 50 "name": "Rasa",
  51 + "description": "",
66 "item": [ 52 "item": [
67 { 53 {
68 "name": "Hello", 54 "name": "Hello",
69 "request": { 55 "request": {
70 - "method": "GET",  
71 - "header": [],  
72 - "body": {  
73 - "mode": "raw",  
74 - "raw": ""  
75 - },  
76 "url": { 56 "url": {
77 "raw": "http://localhost:5000/parse?q=Hello", 57 "raw": "http://localhost:5000/parse?q=Hello",
78 "protocol": "http", 58 "protocol": "http",
@@ -89,8 +69,16 @@ @@ -89,8 +69,16 @@
89 "value": "Hello", 69 "value": "Hello",
90 "equals": true 70 "equals": true
91 } 71 }
92 - ]  
93 - } 72 + ],
  73 + "variable": []
  74 + },
  75 + "method": "GET",
  76 + "header": [],
  77 + "body": {
  78 + "mode": "raw",
  79 + "raw": ""
  80 + },
  81 + "description": ""
94 }, 82 },
95 "response": [] 83 "response": []
96 } 84 }
@@ -98,31 +86,34 @@ @@ -98,31 +86,34 @@
98 }, 86 },
99 { 87 {
100 "name": "Telegram", 88 "name": "Telegram",
  89 + "description": "",
101 "item": [ 90 "item": [
102 { 91 {
  92 + "name": "setWebhook",
  93 + "request": {
  94 + "url": "localhost:8080/telegram/setWebhook",
  95 + "method": "GET",
  96 + "header": [],
  97 + "body": {},
  98 + "description": ""
  99 + },
  100 + "response": []
  101 + },
  102 + {
103 "name": "getUpdates", 103 "name": "getUpdates",
104 "request": { 104 "request": {
  105 + "url": "localhost:8080/telegram/getUpdates",
105 "method": "POST", 106 "method": "POST",
106 "header": [ 107 "header": [
107 { 108 {
108 "key": "Content-Type", 109 "key": "Content-Type",
109 - "value": "application/json" 110 + "value": "application/json",
  111 + "description": ""
110 } 112 }
111 ], 113 ],
112 "body": { 114 "body": {
113 "mode": "raw", 115 "mode": "raw",
114 - "raw": "Update{update_id=800044739, message=Message{message_id=103, from=User{id=61996740, first_name='Markus', last_name='Buhl', username='tweeeeak', language_code='en'}, date=1512399307, chat=Chat{id=61996740, type=Private, first_name='Markus', last_name='Buhl', username='tweeeeak', title='null', all_members_are_administrators=null}, forward_from=null, forward_from_chat=null, forward_from_message_id=null, forward_date=null, reply_to_message=null, edit_date=null, text='Hallo', entities=null, audio=null, document=null, game=null, photo=null, sticker=null, video=null, voice=null, video_note=null, new_chat_members=null, caption='null', contact=null, location=null, venue=null, new_chat_member=null, left_chat_member=null, new_chat_title='null', new_chat_photo=null, delete_chat_photo=null, group_chat_created=null, supergroup_chat_created=null, channel_chat_created=null, migrate_to_chat_id=null, migrate_from_chat_id=null, pinned_message=null, invoice=null, successful_payment=null}, edited_message=null, channel_post=null, edited_channel_post=null, inline_query=null, chosen_inline_result=null, callback_query=null, shipping_query=null, pre_checkout_query=null}"  
115 - },  
116 - "url": {  
117 - "raw": "localhost:8080/telegram/getUpdates",  
118 - "host": [  
119 - "localhost"  
120 - ],  
121 - "port": "8080",  
122 - "path": [  
123 - "telegram",  
124 - "getUpdates"  
125 - ] 116 + "raw": ""
126 }, 117 },
127 "description": "" 118 "description": ""
128 }, 119 },
@@ -133,22 +124,14 @@ @@ -133,22 +124,14 @@
133 { 124 {
134 "name": "Application appearing", 125 "name": "Application appearing",
135 "request": { 126 "request": {
  127 + "url": "localhost:8080/bht-chatbot",
136 "method": "GET", 128 "method": "GET",
137 "header": [], 129 "header": [],
138 "body": { 130 "body": {
139 "mode": "raw", 131 "mode": "raw",
140 "raw": "" 132 "raw": ""
141 }, 133 },
142 - "url": {  
143 - "raw": "localhost:8080/bht-chatbot",  
144 - "host": [  
145 - "localhost"  
146 - ],  
147 - "port": "8080",  
148 - "path": [  
149 - "bht-chatbot"  
150 - ]  
151 - } 134 + "description": ""
152 }, 135 },
153 "response": [] 136 "response": []
154 } 137 }