docomo-nlu 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -2
- data/docomo-nlu.gemspec +1 -0
- data/lib/docomo-nlu/management/V23/bot_logs.rb +8 -0
- data/lib/docomo-nlu/management/V23/logs.rb +8 -0
- data/lib/docomo-nlu/management/V26/bot_logs.rb +61 -0
- data/lib/docomo-nlu/management/V26/logs.rb +34 -0
- data/lib/docomo-nlu/management.rb +6 -0
- data/lib/docomo-nlu/spontaneous.rb +1 -3
- data/lib/docomo-nlu/version.rb +1 -1
- data/vcr/vcr_cassettes/V26/account/count.yml +5 -5
- data/vcr/vcr_cassettes/V26/account/create.yml +5 -5
- data/vcr/vcr_cassettes/V26/account/delete.yml +3 -3
- data/vcr/vcr_cassettes/V26/account/index.yml +6 -6
- data/vcr/vcr_cassettes/V26/account/show.yml +7 -7
- data/vcr/vcr_cassettes/V26/account/update.yml +3 -3
- data/vcr/vcr_cassettes/V26/base/login.yml +4 -4
- data/vcr/vcr_cassettes/V26/base/login_400.yml +6 -6
- data/vcr/vcr_cassettes/V26/base/logout.yml +4 -4
- data/vcr/vcr_cassettes/V26/base/logout_400.yml +6 -6
- data/vcr/vcr_cassettes/V26/bot/create.yml +3 -3
- data/vcr/vcr_cassettes/V26/bot/create_conflict.yml +3 -3
- data/vcr/vcr_cassettes/V26/bot/delete.yml +3 -3
- data/vcr/vcr_cassettes/V26/bot/deploy.yml +19 -19
- data/vcr/vcr_cassettes/V26/bot/download_aiml.yml +3 -3
- data/vcr/vcr_cassettes/V26/bot/download_archive.yml +4 -4
- data/vcr/vcr_cassettes/V26/bot/download_dat.yml +3 -3
- data/vcr/vcr_cassettes/V26/bot/index.yml +5 -5
- data/vcr/vcr_cassettes/V26/bot/index_not_found.yml +3 -3
- data/vcr/vcr_cassettes/V26/bot/show.yml +3 -3
- data/vcr/vcr_cassettes/V26/bot/upload_aiml.yml +5 -5
- data/vcr/vcr_cassettes/V26/bot/upload_archive.yml +6 -6
- data/vcr/vcr_cassettes/V26/bot/upload_dat.yml +6 -6
- data/vcr/vcr_cassettes/V26/bot_logs/query.yml +43 -0
- data/vcr/vcr_cassettes/V26/bot_logs.yml +43 -0
- data/vcr/vcr_cassettes/V26/config/delete.yml +3 -3
- data/vcr/vcr_cassettes/V26/config/index.yml +9 -9
- data/vcr/vcr_cassettes/V26/config/show.yml +3 -3
- data/vcr/vcr_cassettes/V26/config/update.yml +3 -3
- data/vcr/vcr_cassettes/V26/default_predicate/create.yml +3 -3
- data/vcr/vcr_cassettes/V26/default_predicate/delete.yml +3 -3
- data/vcr/vcr_cassettes/V26/default_predicate/index.yml +9 -9
- data/vcr/vcr_cassettes/V26/default_predicate/index_not_found.yml +9 -9
- data/vcr/vcr_cassettes/V26/default_predicate/update.yml +3 -3
- data/vcr/vcr_cassettes/V26/entry/delete.yml +3 -3
- data/vcr/vcr_cassettes/V26/entry/save.yml +5 -5
- data/vcr/vcr_cassettes/V26/logs/count/query.yml +44 -0
- data/vcr/vcr_cassettes/V26/logs/count.yml +44 -0
- data/vcr/vcr_cassettes/V26/logs/query.yml +44 -0
- data/vcr/vcr_cassettes/V26/logs.yml +45 -0
- data/vcr/vcr_cassettes/V26/map/create.yml +5 -5
- data/vcr/vcr_cassettes/V26/map/create_400.yml +5 -5
- data/vcr/vcr_cassettes/V26/map/delete.yml +3 -3
- data/vcr/vcr_cassettes/V26/map/index_all.yml +3 -3
- data/vcr/vcr_cassettes/V26/map/index_find.yml +3 -3
- data/vcr/vcr_cassettes/V26/map/index_where.yml +3 -3
- data/vcr/vcr_cassettes/V26/map/save.yml +5 -5
- data/vcr/vcr_cassettes/V26/map/save_400.yml +5 -5
- data/vcr/vcr_cassettes/V26/map/show_find.yml +3 -3
- data/vcr/vcr_cassettes/V26/map/show_where.yml +3 -3
- data/vcr/vcr_cassettes/V26/organization/create.yml +5 -5
- data/vcr/vcr_cassettes/V26/organization/delete.yml +3 -3
- data/vcr/vcr_cassettes/V26/organization/index.yml +5 -5
- data/vcr/vcr_cassettes/V26/organization/show.yml +5 -5
- data/vcr/vcr_cassettes/V26/organization/update.yml +3 -3
- data/vcr/vcr_cassettes/V26/organization_member/create.yml +4 -4
- data/vcr/vcr_cassettes/V26/organization_member/delete.yml +3 -3
- data/vcr/vcr_cassettes/V26/organization_member/index.yml +5 -5
- data/vcr/vcr_cassettes/V26/organization_member/index_404.yml +3 -3
- data/vcr/vcr_cassettes/V26/organization_member/index_not_found.yml +3 -3
- data/vcr/vcr_cassettes/V26/predicate_name/create.yml +3 -3
- data/vcr/vcr_cassettes/V26/predicate_name/delete.yml +3 -3
- data/vcr/vcr_cassettes/V26/predicate_name/index.yml +3 -3
- data/vcr/vcr_cassettes/V26/predicate_name/index_all.yml +3 -3
- data/vcr/vcr_cassettes/V26/predicate_name/index_find.yml +3 -3
- data/vcr/vcr_cassettes/V26/predicate_name/index_where.yml +3 -3
- data/vcr/vcr_cassettes/V26/project/create.yml +5 -5
- data/vcr/vcr_cassettes/V26/project/create_conflict.yml +3 -3
- data/vcr/vcr_cassettes/V26/project/delete.yml +3 -3
- data/vcr/vcr_cassettes/V26/project/index.yml +38 -8
- data/vcr/vcr_cassettes/V26/project/show.yml +6 -6
- data/vcr/vcr_cassettes/V26/project_member/create.yml +4 -4
- data/vcr/vcr_cassettes/V26/project_member/delete.yml +3 -3
- data/vcr/vcr_cassettes/V26/project_member/index.yml +5 -5
- data/vcr/vcr_cassettes/V26/project_member/index_not_found.yml +3 -3
- data/vcr/vcr_cassettes/V26/provider/create.yml +6 -6
- data/vcr/vcr_cassettes/V26/provider/delete.yml +3 -3
- data/vcr/vcr_cassettes/V26/provider/show.yml +5 -5
- data/vcr/vcr_cassettes/V26/scenario/create.yml +3 -3
- data/vcr/vcr_cassettes/V26/scenario/create_conflict.yml +3 -3
- data/vcr/vcr_cassettes/V26/scenario/delete.yml +3 -3
- data/vcr/vcr_cassettes/V26/scenario/deploy.yml +19 -19
- data/vcr/vcr_cassettes/V26/scenario/download_aiml.yml +3 -3
- data/vcr/vcr_cassettes/V26/scenario/index.yml +5 -6
- data/vcr/vcr_cassettes/V26/scenario/show.yml +3 -3
- data/vcr/vcr_cassettes/V26/scenario/update.yml +3 -3
- data/vcr/vcr_cassettes/V26/scenario/upload_aiml.yml +5 -5
- data/vcr/vcr_cassettes/V26/scenario/upload_archive.yml +6 -6
- data/vcr/vcr_cassettes/V26/scenario/upload_dat.yml +6 -6
- data/vcr/vcr_cassettes/V26/set/create.yml +5 -5
- data/vcr/vcr_cassettes/V26/set/create_400.yml +6 -6
- data/vcr/vcr_cassettes/V26/set/delete.yml +3 -3
- data/vcr/vcr_cassettes/V26/set/index_all.yml +3 -3
- data/vcr/vcr_cassettes/V26/set/index_find.yml +3 -3
- data/vcr/vcr_cassettes/V26/set/index_where.yml +3 -3
- data/vcr/vcr_cassettes/V26/set/save.yml +5 -5
- data/vcr/vcr_cassettes/V26/set/save_400.yml +6 -6
- data/vcr/vcr_cassettes/V26/set/show_find.yml +3 -3
- data/vcr/vcr_cassettes/V26/set/show_where.yml +3 -3
- metadata +26 -2
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: put
|
5
|
-
uri: "<Host>/management
|
5
|
+
uri: "<Host>/management/<Version>/projects/48/bots/test_bot/scenarios/"
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: '{"userScenarios":[{"scenarioId":"test_scenario","description":"test","compileFlag":true}],"templateScenarios":null}'
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
message: '204'
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Thu, 21 Feb 2019 02:32:06 GMT
|
27
27
|
Connection:
|
28
28
|
- keep-alive
|
29
29
|
Server:
|
@@ -36,5 +36,5 @@ http_interactions:
|
|
36
36
|
encoding: UTF-8
|
37
37
|
string: ''
|
38
38
|
http_version:
|
39
|
-
recorded_at:
|
39
|
+
recorded_at: Thu, 21 Feb 2019 02:32:07 GMT
|
40
40
|
recorded_with: VCR 4.0.0
|
@@ -2,18 +2,18 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: put
|
5
|
-
uri: "<Host>/management
|
5
|
+
uri: "<Host>/management/<Version>/projects/48/bots/test_bot/aiml"
|
6
6
|
body:
|
7
7
|
encoding: ASCII-8BIT
|
8
8
|
string: !binary |-
|
9
|
-
|
9
|
+
LS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0LTQyZTZmZGZjNDUzNTNkOTZkYjBlOTdmN2JiYmE1NjhhDQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9InVwbG9hZEZpbGUiOyBmaWxlbmFtZT0idGVzdC5haW1sIg0KQ29udGVudC1MZW5ndGg6IDQwMw0KQ29udGVudC1UeXBlOiB0ZXh0L3BsYWluDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCg0KPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGFpbWwgdmVyc2lvbj0iMi4wLjAiIHhtbG5zPSJodHRwOi8vd3d3Lm50dGRvY29tby5jb20vYWltbC9zY2hlbWEiIHhtbG5zOmh0bWw9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhzaTpzY2hlbWFMb2NhdGlvbj0iaHR0cDovL3d3dy5udHRkb2NvbW8uY29tL2FpbWwvc2NoZW1hL0FJTUwueHNkIj4KICA8Y2F0ZWdvcnk+CiAgICA8cGF0dGVybj4qPC9wYXR0ZXJuPgogICAgPHRlbXBsYXRlPgogICAgICBIZWxsbywgd29ybGQhCiAgICAgIOOBk+OCk+OBq+OBoeOBrwogICAgPC90ZW1wbGF0ZT4KICA8L2NhdGVnb3J5Pgo8L2FpbWw+Cg0KLS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0LTQyZTZmZGZjNDUzNTNkOTZkYjBlOTdmN2JiYmE1NjhhLS0NCg0K
|
10
10
|
headers:
|
11
11
|
User-Agent:
|
12
12
|
- Faraday v0.15.3
|
13
13
|
Authorization:
|
14
14
|
- "<AdminAccessToken>"
|
15
15
|
Content-Type:
|
16
|
-
- multipart/form-data; boundary=-----------RubyMultipartPost-
|
16
|
+
- multipart/form-data; boundary=-----------RubyMultipartPost-42e6fdfc45353d96db0e97f7bbba568a
|
17
17
|
Content-Length:
|
18
18
|
- '696'
|
19
19
|
Accept-Encoding:
|
@@ -26,7 +26,7 @@ http_interactions:
|
|
26
26
|
message: '201'
|
27
27
|
headers:
|
28
28
|
Date:
|
29
|
-
-
|
29
|
+
- Thu, 21 Feb 2019 02:32:07 GMT
|
30
30
|
Content-Length:
|
31
31
|
- '0'
|
32
32
|
Connection:
|
@@ -41,5 +41,5 @@ http_interactions:
|
|
41
41
|
encoding: UTF-8
|
42
42
|
string: ''
|
43
43
|
http_version:
|
44
|
-
recorded_at:
|
44
|
+
recorded_at: Thu, 21 Feb 2019 02:32:07 GMT
|
45
45
|
recorded_with: VCR 4.0.0
|
@@ -2,19 +2,19 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: put
|
5
|
-
uri: "<Host>/management
|
5
|
+
uri: "<Host>/management/<Version>/projects/48/bots/test_bot/archive"
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: "-------------RubyMultipartPost-
|
8
|
+
string: "-------------RubyMultipartPost-4d62a8d16540c36e476b900205e7e28e\r\nContent-Disposition:
|
9
9
|
form-data; name=\"uploadFile\"; filename=\"test.zip\"\r\nContent-Length: 26\r\nContent-Type:
|
10
|
-
text/plain\r\nContent-Transfer-Encoding: binary\r\n\r\n#<File:0x00007fdf7a9681e0>\r\n-------------RubyMultipartPost-
|
10
|
+
text/plain\r\nContent-Transfer-Encoding: binary\r\n\r\n#<File:0x00007fdf7a9681e0>\r\n-------------RubyMultipartPost-4d62a8d16540c36e476b900205e7e28e--\r\n\r\n"
|
11
11
|
headers:
|
12
12
|
User-Agent:
|
13
13
|
- Faraday v0.15.3
|
14
14
|
Authorization:
|
15
15
|
- "<AdminAccessToken>"
|
16
16
|
Content-Type:
|
17
|
-
- multipart/form-data; boundary=-----------RubyMultipartPost-
|
17
|
+
- multipart/form-data; boundary=-----------RubyMultipartPost-4d62a8d16540c36e476b900205e7e28e
|
18
18
|
Content-Length:
|
19
19
|
- '317'
|
20
20
|
Accept-Encoding:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
message: '201'
|
28
28
|
headers:
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Thu, 21 Feb 2019 02:32:07 GMT
|
31
31
|
Content-Length:
|
32
32
|
- '0'
|
33
33
|
Connection:
|
@@ -42,5 +42,5 @@ http_interactions:
|
|
42
42
|
encoding: UTF-8
|
43
43
|
string: ''
|
44
44
|
http_version:
|
45
|
-
recorded_at:
|
45
|
+
recorded_at: Thu, 21 Feb 2019 02:32:07 GMT
|
46
46
|
recorded_with: VCR 4.0.0
|
@@ -2,19 +2,19 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: put
|
5
|
-
uri: "<Host>/management
|
5
|
+
uri: "<Host>/management/<Version>/projects/48/bots/test_bot/dat"
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: "-------------RubyMultipartPost-
|
8
|
+
string: "-------------RubyMultipartPost-4523745dc0a615f0ca001a890519a6eb\r\nContent-Disposition:
|
9
9
|
form-data; name=\"uploadFile\"; filename=\"test.dat\"\r\nContent-Length: 26\r\nContent-Type:
|
10
|
-
text/plain\r\nContent-Transfer-Encoding: binary\r\n\r\n#<File:0x00007fdf7aa53960>\r\n-------------RubyMultipartPost-
|
10
|
+
text/plain\r\nContent-Transfer-Encoding: binary\r\n\r\n#<File:0x00007fdf7aa53960>\r\n-------------RubyMultipartPost-4523745dc0a615f0ca001a890519a6eb--\r\n\r\n"
|
11
11
|
headers:
|
12
12
|
User-Agent:
|
13
13
|
- Faraday v0.15.3
|
14
14
|
Authorization:
|
15
15
|
- "<AdminAccessToken>"
|
16
16
|
Content-Type:
|
17
|
-
- multipart/form-data; boundary=-----------RubyMultipartPost-
|
17
|
+
- multipart/form-data; boundary=-----------RubyMultipartPost-4523745dc0a615f0ca001a890519a6eb
|
18
18
|
Content-Length:
|
19
19
|
- '317'
|
20
20
|
Accept-Encoding:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
message: '201'
|
28
28
|
headers:
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Thu, 21 Feb 2019 02:32:07 GMT
|
31
31
|
Content-Length:
|
32
32
|
- '0'
|
33
33
|
Connection:
|
@@ -42,5 +42,5 @@ http_interactions:
|
|
42
42
|
encoding: UTF-8
|
43
43
|
string: ''
|
44
44
|
http_version:
|
45
|
-
recorded_at:
|
45
|
+
recorded_at: Thu, 21 Feb 2019 02:32:07 GMT
|
46
46
|
recorded_with: VCR 4.0.0
|
@@ -2,18 +2,18 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: put
|
5
|
-
uri: "<Host>/management
|
5
|
+
uri: "<Host>/management/<Version>/projects/48/bots/test_bot/sets"
|
6
6
|
body:
|
7
7
|
encoding: ASCII-8BIT
|
8
8
|
string: !binary |-
|
9
|
-
|
9
|
+
LS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0LWRkZDc0Y2JhM2FjMmMxMGFmYjFmNDM1MmI5OWFmOTg0DQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9InVwbG9hZEZpbGUiOyBmaWxlbmFtZT0idGVzdC5zZXQiDQpDb250ZW50LUxlbmd0aDogOTENCkNvbnRlbnQtVHlwZTogdGV4dC9wbGFpbg0KQ29udGVudC1UcmFuc2Zlci1FbmNvZGluZzogYmluYXJ5DQoNCuadseS6rArjg4jjgqbjgq3jg6fjg7wK6YO95YaFCuWkp+WdggrjgarjgpPjgbAK56We5aWI5bedCuaoqua1nArmqKrpoIjos4AK5rmY5Y2XCuWwj+eUsOWOnwoNCi0tLS0tLS0tLS0tLS1SdWJ5TXVsdGlwYXJ0UG9zdC1kZGQ3NGNiYTNhYzJjMTBhZmIxZjQzNTJiOTlhZjk4NC0tDQoNCg==
|
10
10
|
headers:
|
11
11
|
User-Agent:
|
12
12
|
- Faraday v0.15.3
|
13
13
|
Authorization:
|
14
14
|
- "<AdminAccessToken>"
|
15
15
|
Content-Type:
|
16
|
-
- multipart/form-data; boundary=-----------RubyMultipartPost-
|
16
|
+
- multipart/form-data; boundary=-----------RubyMultipartPost-ddd74cba3ac2c10afb1f4352b99af984
|
17
17
|
Content-Length:
|
18
18
|
- '382'
|
19
19
|
Accept-Encoding:
|
@@ -26,7 +26,7 @@ http_interactions:
|
|
26
26
|
message: '201'
|
27
27
|
headers:
|
28
28
|
Date:
|
29
|
-
-
|
29
|
+
- Thu, 21 Feb 2019 02:28:34 GMT
|
30
30
|
Content-Length:
|
31
31
|
- '0'
|
32
32
|
Connection:
|
@@ -41,5 +41,5 @@ http_interactions:
|
|
41
41
|
encoding: UTF-8
|
42
42
|
string: ''
|
43
43
|
http_version:
|
44
|
-
recorded_at:
|
44
|
+
recorded_at: Thu, 21 Feb 2019 02:28:34 GMT
|
45
45
|
recorded_with: VCR 4.0.0
|
@@ -2,19 +2,19 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: put
|
5
|
-
uri: "<Host>/management
|
5
|
+
uri: "<Host>/management/<Version>/projects/48/bots/test_bot/sets"
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: "-------------RubyMultipartPost-
|
8
|
+
string: "-------------RubyMultipartPost-0d62a8c512a017db7a1f0b062e59a825\r\nContent-Disposition:
|
9
9
|
form-data; name=\"uploadFile\"; filename=\"error.set\"\r\nContent-Length:
|
10
|
-
6\r\nContent-Type: text/plain\r\nContent-Transfer-Encoding: binary\r\n\r\nok\nok\n\r\n-------------RubyMultipartPost-
|
10
|
+
6\r\nContent-Type: text/plain\r\nContent-Transfer-Encoding: binary\r\n\r\nok\nok\n\r\n-------------RubyMultipartPost-0d62a8c512a017db7a1f0b062e59a825--\r\n\r\n"
|
11
11
|
headers:
|
12
12
|
User-Agent:
|
13
13
|
- Faraday v0.15.3
|
14
14
|
Authorization:
|
15
15
|
- "<AdminAccessToken>"
|
16
16
|
Content-Type:
|
17
|
-
- multipart/form-data; boundary=-----------RubyMultipartPost-
|
17
|
+
- multipart/form-data; boundary=-----------RubyMultipartPost-0d62a8c512a017db7a1f0b062e59a825
|
18
18
|
Content-Length:
|
19
19
|
- '297'
|
20
20
|
Accept-Encoding:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
message: '409'
|
28
28
|
headers:
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Thu, 21 Feb 2019 02:28:34 GMT
|
31
31
|
Content-Type:
|
32
32
|
- application/json;charset=utf-8
|
33
33
|
Content-Length:
|
@@ -44,5 +44,5 @@ http_interactions:
|
|
44
44
|
encoding: UTF-8
|
45
45
|
string: '{"error":"duplicated","keys":["ok"]}'
|
46
46
|
http_version:
|
47
|
-
recorded_at:
|
47
|
+
recorded_at: Thu, 21 Feb 2019 02:28:34 GMT
|
48
48
|
recorded_with: VCR 4.0.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: delete
|
5
|
-
uri: "<Host>/management
|
5
|
+
uri: "<Host>/management/<Version>/projects/48/bots/test_bot/sets/test"
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
21
21
|
message: '204'
|
22
22
|
headers:
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Thu, 21 Feb 2019 02:28:34 GMT
|
25
25
|
Connection:
|
26
26
|
- keep-alive
|
27
27
|
Server:
|
@@ -34,5 +34,5 @@ http_interactions:
|
|
34
34
|
encoding: UTF-8
|
35
35
|
string: ''
|
36
36
|
http_version:
|
37
|
-
recorded_at:
|
37
|
+
recorded_at: Thu, 21 Feb 2019 02:28:34 GMT
|
38
38
|
recorded_with: VCR 4.0.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: "<Host>/management
|
5
|
+
uri: "<Host>/management/<Version>/projects/48/bots/test_bot/sets/"
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
21
21
|
message: '200'
|
22
22
|
headers:
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Thu, 21 Feb 2019 02:28:34 GMT
|
25
25
|
Content-Type:
|
26
26
|
- application/json;charset=utf-8
|
27
27
|
Content-Length:
|
@@ -38,5 +38,5 @@ http_interactions:
|
|
38
38
|
encoding: UTF-8
|
39
39
|
string: '{"categories":[]}'
|
40
40
|
http_version:
|
41
|
-
recorded_at:
|
41
|
+
recorded_at: Thu, 21 Feb 2019 02:28:34 GMT
|
42
42
|
recorded_with: VCR 4.0.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: "<Host>/management
|
5
|
+
uri: "<Host>/management/<Version>/projects/48/bots/test_bot/sets/"
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
21
21
|
message: '200'
|
22
22
|
headers:
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Thu, 21 Feb 2019 02:28:34 GMT
|
25
25
|
Content-Type:
|
26
26
|
- application/json;charset=utf-8
|
27
27
|
Content-Length:
|
@@ -38,5 +38,5 @@ http_interactions:
|
|
38
38
|
encoding: UTF-8
|
39
39
|
string: '{"categories":[]}'
|
40
40
|
http_version:
|
41
|
-
recorded_at:
|
41
|
+
recorded_at: Thu, 21 Feb 2019 02:28:34 GMT
|
42
42
|
recorded_with: VCR 4.0.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: "<Host>/management
|
5
|
+
uri: "<Host>/management/<Version>/projects/48/bots/test_bot/sets/"
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
21
21
|
message: '200'
|
22
22
|
headers:
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Thu, 21 Feb 2019 02:28:34 GMT
|
25
25
|
Content-Type:
|
26
26
|
- application/json;charset=utf-8
|
27
27
|
Content-Length:
|
@@ -38,5 +38,5 @@ http_interactions:
|
|
38
38
|
encoding: UTF-8
|
39
39
|
string: '{"categories":[]}'
|
40
40
|
http_version:
|
41
|
-
recorded_at:
|
41
|
+
recorded_at: Thu, 21 Feb 2019 02:28:34 GMT
|
42
42
|
recorded_with: VCR 4.0.0
|
@@ -2,18 +2,18 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: put
|
5
|
-
uri: "<Host>/management
|
5
|
+
uri: "<Host>/management/<Version>/projects/48/bots/test_bot/sets"
|
6
6
|
body:
|
7
7
|
encoding: ASCII-8BIT
|
8
8
|
string: !binary |-
|
9
|
-
|
9
|
+
LS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0LTUxNGFhNTYyMzc4MTQ3ZDQxOTNhZTUxMTI3NjZjNTBlDQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9InVwbG9hZEZpbGUiOyBmaWxlbmFtZT0idGVzdC5zZXQiDQpDb250ZW50LUxlbmd0aDogOTENCkNvbnRlbnQtVHlwZTogdGV4dC9wbGFpbg0KQ29udGVudC1UcmFuc2Zlci1FbmNvZGluZzogYmluYXJ5DQoNCuadseS6rArjg4jjgqbjgq3jg6fjg7wK6YO95YaFCuWkp+WdggrjgarjgpPjgbAK56We5aWI5bedCuaoqua1nArmqKrpoIjos4AK5rmY5Y2XCuWwj+eUsOWOnwoNCi0tLS0tLS0tLS0tLS1SdWJ5TXVsdGlwYXJ0UG9zdC01MTRhYTU2MjM3ODE0N2Q0MTkzYWU1MTEyNzY2YzUwZS0tDQoNCg==
|
10
10
|
headers:
|
11
11
|
User-Agent:
|
12
12
|
- Faraday v0.15.3
|
13
13
|
Authorization:
|
14
14
|
- "<AdminAccessToken>"
|
15
15
|
Content-Type:
|
16
|
-
- multipart/form-data; boundary=-----------RubyMultipartPost-
|
16
|
+
- multipart/form-data; boundary=-----------RubyMultipartPost-514aa562378147d4193ae5112766c50e
|
17
17
|
Content-Length:
|
18
18
|
- '382'
|
19
19
|
Accept-Encoding:
|
@@ -26,7 +26,7 @@ http_interactions:
|
|
26
26
|
message: '201'
|
27
27
|
headers:
|
28
28
|
Date:
|
29
|
-
-
|
29
|
+
- Thu, 21 Feb 2019 02:28:34 GMT
|
30
30
|
Content-Length:
|
31
31
|
- '0'
|
32
32
|
Connection:
|
@@ -41,5 +41,5 @@ http_interactions:
|
|
41
41
|
encoding: UTF-8
|
42
42
|
string: ''
|
43
43
|
http_version:
|
44
|
-
recorded_at:
|
44
|
+
recorded_at: Thu, 21 Feb 2019 02:28:34 GMT
|
45
45
|
recorded_with: VCR 4.0.0
|
@@ -2,19 +2,19 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: put
|
5
|
-
uri: "<Host>/management
|
5
|
+
uri: "<Host>/management/<Version>/projects/48/bots/test_bot/sets"
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: "-------------RubyMultipartPost-
|
8
|
+
string: "-------------RubyMultipartPost-95480299a060a3a585abfd6321011031\r\nContent-Disposition:
|
9
9
|
form-data; name=\"uploadFile\"; filename=\"error.set\"\r\nContent-Length:
|
10
|
-
6\r\nContent-Type: text/plain\r\nContent-Transfer-Encoding: binary\r\n\r\nok\nok\n\r\n-------------RubyMultipartPost-
|
10
|
+
6\r\nContent-Type: text/plain\r\nContent-Transfer-Encoding: binary\r\n\r\nok\nok\n\r\n-------------RubyMultipartPost-95480299a060a3a585abfd6321011031--\r\n\r\n"
|
11
11
|
headers:
|
12
12
|
User-Agent:
|
13
13
|
- Faraday v0.15.3
|
14
14
|
Authorization:
|
15
15
|
- "<AdminAccessToken>"
|
16
16
|
Content-Type:
|
17
|
-
- multipart/form-data; boundary=-----------RubyMultipartPost-
|
17
|
+
- multipart/form-data; boundary=-----------RubyMultipartPost-95480299a060a3a585abfd6321011031
|
18
18
|
Content-Length:
|
19
19
|
- '297'
|
20
20
|
Accept-Encoding:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
message: '409'
|
28
28
|
headers:
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Thu, 21 Feb 2019 02:28:34 GMT
|
31
31
|
Content-Type:
|
32
32
|
- application/json;charset=utf-8
|
33
33
|
Content-Length:
|
@@ -44,5 +44,5 @@ http_interactions:
|
|
44
44
|
encoding: UTF-8
|
45
45
|
string: '{"error":"duplicated","keys":["ok"]}'
|
46
46
|
http_version:
|
47
|
-
recorded_at:
|
47
|
+
recorded_at: Thu, 21 Feb 2019 02:28:34 GMT
|
48
48
|
recorded_with: VCR 4.0.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: "<Host>/management
|
5
|
+
uri: "<Host>/management/<Version>/projects/48/bots/test_bot/sets/test"
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
21
21
|
message: '200'
|
22
22
|
headers:
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Thu, 21 Feb 2019 02:28:34 GMT
|
25
25
|
Content-Length:
|
26
26
|
- '105'
|
27
27
|
Connection:
|
@@ -39,5 +39,5 @@ http_interactions:
|
|
39
39
|
string: !binary |-
|
40
40
|
I21vZGU6c3VyZmFjZQrjgarjgpPjgbAK44OI44Km44Kt44On44O8CuWkp+WdggrlsI/nlLDljp8K5p2x5LqsCuaoqua1nArmqKrpoIjos4AK5rmY5Y2XCuelnuWliOW3nQrpg73lhoUK
|
41
41
|
http_version:
|
42
|
-
recorded_at:
|
42
|
+
recorded_at: Thu, 21 Feb 2019 02:28:34 GMT
|
43
43
|
recorded_with: VCR 4.0.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: "<Host>/management
|
5
|
+
uri: "<Host>/management/<Version>/projects/48/bots/test_bot/sets/test"
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
21
21
|
message: '200'
|
22
22
|
headers:
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Thu, 21 Feb 2019 02:28:34 GMT
|
25
25
|
Content-Length:
|
26
26
|
- '105'
|
27
27
|
Connection:
|
@@ -39,5 +39,5 @@ http_interactions:
|
|
39
39
|
string: !binary |-
|
40
40
|
I21vZGU6c3VyZmFjZQrjgarjgpPjgbAK44OI44Km44Kt44On44O8CuWkp+WdggrlsI/nlLDljp8K5p2x5LqsCuaoqua1nArmqKrpoIjos4AK5rmY5Y2XCuelnuWliOW3nQrpg73lhoUK
|
41
41
|
http_version:
|
42
|
-
recorded_at:
|
42
|
+
recorded_at: Thu, 21 Feb 2019 02:28:34 GMT
|
43
43
|
recorded_with: VCR 4.0.0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docomo-nlu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Koji Yamazaki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activeresource
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rubyzip
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: onkcop
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -220,9 +234,11 @@ files:
|
|
220
234
|
- lib/docomo-nlu/management/V23/aiml_base.rb
|
221
235
|
- lib/docomo-nlu/management/V23/base.rb
|
222
236
|
- lib/docomo-nlu/management/V23/bot.rb
|
237
|
+
- lib/docomo-nlu/management/V23/bot_logs.rb
|
223
238
|
- lib/docomo-nlu/management/V23/config.rb
|
224
239
|
- lib/docomo-nlu/management/V23/default_predicate.rb
|
225
240
|
- lib/docomo-nlu/management/V23/entry.rb
|
241
|
+
- lib/docomo-nlu/management/V23/logs.rb
|
226
242
|
- lib/docomo-nlu/management/V23/map.rb
|
227
243
|
- lib/docomo-nlu/management/V23/multipart_base.rb
|
228
244
|
- lib/docomo-nlu/management/V23/ng_word.rb
|
@@ -243,9 +259,11 @@ files:
|
|
243
259
|
- lib/docomo-nlu/management/V26/aiml_base.rb
|
244
260
|
- lib/docomo-nlu/management/V26/base.rb
|
245
261
|
- lib/docomo-nlu/management/V26/bot.rb
|
262
|
+
- lib/docomo-nlu/management/V26/bot_logs.rb
|
246
263
|
- lib/docomo-nlu/management/V26/config.rb
|
247
264
|
- lib/docomo-nlu/management/V26/default_predicate.rb
|
248
265
|
- lib/docomo-nlu/management/V26/entry.rb
|
266
|
+
- lib/docomo-nlu/management/V26/logs.rb
|
249
267
|
- lib/docomo-nlu/management/V26/map.rb
|
250
268
|
- lib/docomo-nlu/management/V26/multipart_base.rb
|
251
269
|
- lib/docomo-nlu/management/V26/ng_word.rb
|
@@ -381,6 +399,8 @@ files:
|
|
381
399
|
- vcr/vcr_cassettes/V26/bot/upload_aiml.yml
|
382
400
|
- vcr/vcr_cassettes/V26/bot/upload_archive.yml
|
383
401
|
- vcr/vcr_cassettes/V26/bot/upload_dat.yml
|
402
|
+
- vcr/vcr_cassettes/V26/bot_logs.yml
|
403
|
+
- vcr/vcr_cassettes/V26/bot_logs/query.yml
|
384
404
|
- vcr/vcr_cassettes/V26/config/delete.yml
|
385
405
|
- vcr/vcr_cassettes/V26/config/index.yml
|
386
406
|
- vcr/vcr_cassettes/V26/config/show.yml
|
@@ -392,6 +412,10 @@ files:
|
|
392
412
|
- vcr/vcr_cassettes/V26/default_predicate/update.yml
|
393
413
|
- vcr/vcr_cassettes/V26/entry/delete.yml
|
394
414
|
- vcr/vcr_cassettes/V26/entry/save.yml
|
415
|
+
- vcr/vcr_cassettes/V26/logs.yml
|
416
|
+
- vcr/vcr_cassettes/V26/logs/count.yml
|
417
|
+
- vcr/vcr_cassettes/V26/logs/count/query.yml
|
418
|
+
- vcr/vcr_cassettes/V26/logs/query.yml
|
395
419
|
- vcr/vcr_cassettes/V26/map/create.yml
|
396
420
|
- vcr/vcr_cassettes/V26/map/create_400.yml
|
397
421
|
- vcr/vcr_cassettes/V26/map/delete.yml
|