docomo-nlu 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.rubocop.yml +32 -0
- data/.ruby-version +1 -0
- data/.travis.yml +7 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +198 -0
- data/README.md +38 -0
- data/Rakefile +8 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/docomo-nlu.gemspec +37 -0
- data/lib/docomo-nlu.rb +11 -0
- data/lib/docomo-nlu/config.rb +25 -0
- data/lib/docomo-nlu/management.rb +28 -0
- data/lib/docomo-nlu/management/account.rb +32 -0
- data/lib/docomo-nlu/management/aiml_base.rb +126 -0
- data/lib/docomo-nlu/management/base.rb +87 -0
- data/lib/docomo-nlu/management/bot.rb +18 -0
- data/lib/docomo-nlu/management/config.rb +25 -0
- data/lib/docomo-nlu/management/default_predicate.rb +15 -0
- data/lib/docomo-nlu/management/map.rb +10 -0
- data/lib/docomo-nlu/management/multipart_base.rb +82 -0
- data/lib/docomo-nlu/management/ng_word.rb +10 -0
- data/lib/docomo-nlu/management/ok_word.rb +10 -0
- data/lib/docomo-nlu/management/organization.rb +23 -0
- data/lib/docomo-nlu/management/organization_member.rb +15 -0
- data/lib/docomo-nlu/management/predicate_name.rb +15 -0
- data/lib/docomo-nlu/management/project.rb +16 -0
- data/lib/docomo-nlu/management/project_member.rb +15 -0
- data/lib/docomo-nlu/management/property.rb +10 -0
- data/lib/docomo-nlu/management/provider.rb +17 -0
- data/lib/docomo-nlu/management/scenario.rb +18 -0
- data/lib/docomo-nlu/management/scenario_project.rb +10 -0
- data/lib/docomo-nlu/management/scenario_util.rb +30 -0
- data/lib/docomo-nlu/management/set.rb +10 -0
- data/lib/docomo-nlu/management/task_project.rb +20 -0
- data/lib/docomo-nlu/spontaneous.rb +8 -0
- data/lib/docomo-nlu/spontaneous/dialogue.rb +58 -0
- data/lib/docomo-nlu/spontaneous/registration.rb +58 -0
- data/lib/docomo-nlu/version.rb +5 -0
- data/lib/generators/docomo_nlu/install/install_generator.rb +11 -0
- data/lib/generators/templates/template.rb +7 -0
- data/vcr/vcr_cassettes/account/count.yml +42 -0
- data/vcr/vcr_cassettes/account/create.yml +44 -0
- data/vcr/vcr_cassettes/account/delete.yml +38 -0
- data/vcr/vcr_cassettes/account/index.yml +43 -0
- data/vcr/vcr_cassettes/account/show.yml +43 -0
- data/vcr/vcr_cassettes/account/update.yml +41 -0
- data/vcr/vcr_cassettes/baes/login.yml +44 -0
- data/vcr/vcr_cassettes/base/login.yml +44 -0
- data/vcr/vcr_cassettes/base/login_400.yml +42 -0
- data/vcr/vcr_cassettes/base/logout.yml +40 -0
- data/vcr/vcr_cassettes/base/logout_400.yml +40 -0
- data/vcr/vcr_cassettes/bot/create.yml +43 -0
- data/vcr/vcr_cassettes/bot/create_conflict.yml +45 -0
- data/vcr/vcr_cassettes/bot/delete.yml +38 -0
- data/vcr/vcr_cassettes/bot/deploy.yml +164 -0
- data/vcr/vcr_cassettes/bot/download_aiml.yml +51 -0
- data/vcr/vcr_cassettes/bot/download_archive.yml +43 -0
- data/vcr/vcr_cassettes/bot/download_dat.yml +43 -0
- data/vcr/vcr_cassettes/bot/index.yml +43 -0
- data/vcr/vcr_cassettes/bot/index_not_found.yml +42 -0
- data/vcr/vcr_cassettes/bot/show.yml +43 -0
- data/vcr/vcr_cassettes/bot/upload_aiml.yml +51 -0
- data/vcr/vcr_cassettes/bot/upload_archive.yml +46 -0
- data/vcr/vcr_cassettes/bot/upload_dat.yml +46 -0
- data/vcr/vcr_cassettes/config/delete.yml +38 -0
- data/vcr/vcr_cassettes/config/index.yml +120 -0
- data/vcr/vcr_cassettes/config/update.yml +42 -0
- data/vcr/vcr_cassettes/default_predicate/create.yml +42 -0
- data/vcr/vcr_cassettes/default_predicate/delete.yml +38 -0
- data/vcr/vcr_cassettes/default_predicate/index.yml +120 -0
- data/vcr/vcr_cassettes/default_predicate/index_not_found.yml +120 -0
- data/vcr/vcr_cassettes/default_predicate/update.yml +40 -0
- data/vcr/vcr_cassettes/map/create.yml +45 -0
- data/vcr/vcr_cassettes/map/create_400.yml +48 -0
- data/vcr/vcr_cassettes/map/delete.yml +38 -0
- data/vcr/vcr_cassettes/map/index_all.yml +43 -0
- data/vcr/vcr_cassettes/map/index_find.yml +43 -0
- data/vcr/vcr_cassettes/map/index_where.yml +43 -0
- data/vcr/vcr_cassettes/map/save.yml +45 -0
- data/vcr/vcr_cassettes/map/save_400.yml +48 -0
- data/vcr/vcr_cassettes/map/show_find.yml +43 -0
- data/vcr/vcr_cassettes/map/show_where.yml +43 -0
- data/vcr/vcr_cassettes/organization/create.yml +44 -0
- data/vcr/vcr_cassettes/organization/delete.yml +38 -0
- data/vcr/vcr_cassettes/organization/index.yml +42 -0
- data/vcr/vcr_cassettes/organization/show.yml +42 -0
- data/vcr/vcr_cassettes/organization/update.yml +40 -0
- data/vcr/vcr_cassettes/organization_member/create.yml +42 -0
- data/vcr/vcr_cassettes/organization_member/delete.yml +38 -0
- data/vcr/vcr_cassettes/organization_member/index.yml +42 -0
- data/vcr/vcr_cassettes/organization_member/index_404.yml +42 -0
- data/vcr/vcr_cassettes/organization_member/index_not_found.yml +42 -0
- data/vcr/vcr_cassettes/predicate_name/create.yml +42 -0
- data/vcr/vcr_cassettes/predicate_name/delete.yml +38 -0
- data/vcr/vcr_cassettes/predicate_name/index.yml +42 -0
- data/vcr/vcr_cassettes/predicate_name/index_all.yml +42 -0
- data/vcr/vcr_cassettes/predicate_name/index_find.yml +42 -0
- data/vcr/vcr_cassettes/predicate_name/index_where.yml +42 -0
- data/vcr/vcr_cassettes/project/create.yml +44 -0
- data/vcr/vcr_cassettes/project/create_conflict.yml +44 -0
- data/vcr/vcr_cassettes/project/delete.yml +38 -0
- data/vcr/vcr_cassettes/project/index.yml +227 -0
- data/vcr/vcr_cassettes/project/show.yml +43 -0
- data/vcr/vcr_cassettes/project_member/create.yml +42 -0
- data/vcr/vcr_cassettes/project_member/delete.yml +38 -0
- data/vcr/vcr_cassettes/project_member/index.yml +42 -0
- data/vcr/vcr_cassettes/project_member/index_403.yml +40 -0
- data/vcr/vcr_cassettes/project_member/index_not_found.yml +42 -0
- data/vcr/vcr_cassettes/provider/create.yml +44 -0
- data/vcr/vcr_cassettes/provider/delete.yml +38 -0
- data/vcr/vcr_cassettes/provider/index.yml +42 -0
- data/vcr/vcr_cassettes/provider/show.yml +42 -0
- data/vcr/vcr_cassettes/scenario/create.yml +42 -0
- data/vcr/vcr_cassettes/scenario/create_conflict.yml +44 -0
- data/vcr/vcr_cassettes/scenario/delete.yml +38 -0
- data/vcr/vcr_cassettes/scenario/deploy.yml +164 -0
- data/vcr/vcr_cassettes/scenario/download_aiml.yml +51 -0
- data/vcr/vcr_cassettes/scenario/index.yml +42 -0
- data/vcr/vcr_cassettes/scenario/index_not_found.yml +42 -0
- data/vcr/vcr_cassettes/scenario/show.yml +42 -0
- data/vcr/vcr_cassettes/scenario/update.yml +40 -0
- data/vcr/vcr_cassettes/scenario/upload.yml +51 -0
- data/vcr/vcr_cassettes/scenario/upload_aiml.yml +51 -0
- data/vcr/vcr_cassettes/scenario/upload_archive.yml +46 -0
- data/vcr/vcr_cassettes/scenario/upload_dat.yml +46 -0
- data/vcr/vcr_cassettes/set/create.yml +45 -0
- data/vcr/vcr_cassettes/set/create_400.yml +48 -0
- data/vcr/vcr_cassettes/set/delete.yml +38 -0
- data/vcr/vcr_cassettes/set/index_all.yml +42 -0
- data/vcr/vcr_cassettes/set/index_find.yml +42 -0
- data/vcr/vcr_cassettes/set/index_where.yml +42 -0
- data/vcr/vcr_cassettes/set/save.yml +45 -0
- data/vcr/vcr_cassettes/set/save_400.yml +48 -0
- data/vcr/vcr_cassettes/set/show_find.yml +43 -0
- data/vcr/vcr_cassettes/set/show_where.yml +43 -0
- metadata +336 -0
@@ -0,0 +1,40 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: put
|
5
|
+
uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/organizations/214
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"address":"test_address","tel":"test_tel","organizationName":"update_organizationName"}'
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/json
|
12
|
+
Authorization:
|
13
|
+
- NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- "*/*"
|
18
|
+
User-Agent:
|
19
|
+
- Ruby
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 204
|
23
|
+
message: No Content
|
24
|
+
headers:
|
25
|
+
Date:
|
26
|
+
- Tue, 21 Aug 2018 08:12:27 GMT
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
Server:
|
30
|
+
- Apache
|
31
|
+
X-Content-Type-Options:
|
32
|
+
- nosniff
|
33
|
+
X-Frame-Options:
|
34
|
+
- SAMEORIGIN
|
35
|
+
body:
|
36
|
+
encoding: UTF-8
|
37
|
+
string: ''
|
38
|
+
http_version:
|
39
|
+
recorded_at: Tue, 21 Aug 2018 08:12:27 GMT
|
40
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/organizations/215/members
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"accountIds":[{"accountId":237}]}'
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/json
|
12
|
+
Authorization:
|
13
|
+
- NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- "*/*"
|
18
|
+
User-Agent:
|
19
|
+
- Ruby
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 201
|
23
|
+
message: Created
|
24
|
+
headers:
|
25
|
+
Date:
|
26
|
+
- Tue, 21 Aug 2018 09:38:39 GMT
|
27
|
+
Content-Length:
|
28
|
+
- '0'
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
Server:
|
32
|
+
- Apache
|
33
|
+
X-Content-Type-Options:
|
34
|
+
- nosniff
|
35
|
+
X-Frame-Options:
|
36
|
+
- SAMEORIGIN
|
37
|
+
body:
|
38
|
+
encoding: UTF-8
|
39
|
+
string: ''
|
40
|
+
http_version:
|
41
|
+
recorded_at: Tue, 21 Aug 2018 09:38:39 GMT
|
42
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: delete
|
5
|
+
uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/organizations/215/members/237
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Authorization:
|
13
|
+
- NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 204
|
21
|
+
message: No Content
|
22
|
+
headers:
|
23
|
+
Date:
|
24
|
+
- Tue, 21 Aug 2018 09:55:48 GMT
|
25
|
+
Connection:
|
26
|
+
- keep-alive
|
27
|
+
Server:
|
28
|
+
- Apache
|
29
|
+
X-Content-Type-Options:
|
30
|
+
- nosniff
|
31
|
+
X-Frame-Options:
|
32
|
+
- SAMEORIGIN
|
33
|
+
body:
|
34
|
+
encoding: UTF-8
|
35
|
+
string: ''
|
36
|
+
http_version:
|
37
|
+
recorded_at: Tue, 21 Aug 2018 09:55:48 GMT
|
38
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/organizations/215/members
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Authorization:
|
13
|
+
- NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Date:
|
24
|
+
- Tue, 21 Aug 2018 09:38:39 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json;charset=utf-8
|
27
|
+
Content-Length:
|
28
|
+
- '34'
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
Server:
|
32
|
+
- Apache
|
33
|
+
X-Content-Type-Options:
|
34
|
+
- nosniff
|
35
|
+
X-Frame-Options:
|
36
|
+
- SAMEORIGIN
|
37
|
+
body:
|
38
|
+
encoding: UTF-8
|
39
|
+
string: '{"accountIds":[{"accountId":237}]}'
|
40
|
+
http_version:
|
41
|
+
recorded_at: Tue, 21 Aug 2018 09:38:39 GMT
|
42
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/organizations/216/members
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Authorization:
|
13
|
+
- NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 404
|
21
|
+
message: Not Found
|
22
|
+
headers:
|
23
|
+
Date:
|
24
|
+
- Tue, 21 Aug 2018 10:00:45 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json;charset=utf-8
|
27
|
+
Content-Length:
|
28
|
+
- '36'
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
Server:
|
32
|
+
- Apache
|
33
|
+
X-Content-Type-Options:
|
34
|
+
- nosniff
|
35
|
+
X-Frame-Options:
|
36
|
+
- SAMEORIGIN
|
37
|
+
body:
|
38
|
+
encoding: UTF-8
|
39
|
+
string: '{"error":"not found","keys":["216"]}'
|
40
|
+
http_version:
|
41
|
+
recorded_at: Tue, 21 Aug 2018 10:00:45 GMT
|
42
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/organizations/215/members
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Authorization:
|
13
|
+
- NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Date:
|
24
|
+
- Tue, 21 Aug 2018 10:02:06 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json;charset=utf-8
|
27
|
+
Content-Length:
|
28
|
+
- '19'
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
Server:
|
32
|
+
- Apache
|
33
|
+
X-Content-Type-Options:
|
34
|
+
- nosniff
|
35
|
+
X-Frame-Options:
|
36
|
+
- SAMEORIGIN
|
37
|
+
body:
|
38
|
+
encoding: UTF-8
|
39
|
+
string: '{"accountIds":null}'
|
40
|
+
http_version:
|
41
|
+
recorded_at: Tue, 21 Aug 2018 10:02:06 GMT
|
42
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/projects/212/bots/test_bot/predicateNames
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"predicateNames":["color"]}'
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/json
|
12
|
+
Authorization:
|
13
|
+
- NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- "*/*"
|
18
|
+
User-Agent:
|
19
|
+
- Ruby
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 201
|
23
|
+
message: Created
|
24
|
+
headers:
|
25
|
+
Date:
|
26
|
+
- Fri, 31 Aug 2018 03:55:05 GMT
|
27
|
+
Content-Length:
|
28
|
+
- '0'
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
Server:
|
32
|
+
- Apache
|
33
|
+
X-Content-Type-Options:
|
34
|
+
- nosniff
|
35
|
+
X-Frame-Options:
|
36
|
+
- SAMEORIGIN
|
37
|
+
body:
|
38
|
+
encoding: UTF-8
|
39
|
+
string: ''
|
40
|
+
http_version:
|
41
|
+
recorded_at: Fri, 31 Aug 2018 03:55:05 GMT
|
42
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: delete
|
5
|
+
uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/projects/212/bots/test_bot/predicateNames/color
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Authorization:
|
13
|
+
- NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 204
|
21
|
+
message: No Content
|
22
|
+
headers:
|
23
|
+
Date:
|
24
|
+
- Fri, 31 Aug 2018 03:55:05 GMT
|
25
|
+
Connection:
|
26
|
+
- keep-alive
|
27
|
+
Server:
|
28
|
+
- Apache
|
29
|
+
X-Content-Type-Options:
|
30
|
+
- nosniff
|
31
|
+
X-Frame-Options:
|
32
|
+
- SAMEORIGIN
|
33
|
+
body:
|
34
|
+
encoding: UTF-8
|
35
|
+
string: ''
|
36
|
+
http_version:
|
37
|
+
recorded_at: Fri, 31 Aug 2018 03:55:05 GMT
|
38
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/projects/212/bots/test_bot/predicateNames
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Authorization:
|
13
|
+
- NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Date:
|
24
|
+
- Fri, 31 Aug 2018 03:55:05 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json;charset=utf-8
|
27
|
+
Content-Length:
|
28
|
+
- '28'
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
Server:
|
32
|
+
- Apache
|
33
|
+
X-Content-Type-Options:
|
34
|
+
- nosniff
|
35
|
+
X-Frame-Options:
|
36
|
+
- SAMEORIGIN
|
37
|
+
body:
|
38
|
+
encoding: UTF-8
|
39
|
+
string: '{"predicateNames":["color"]}'
|
40
|
+
http_version:
|
41
|
+
recorded_at: Fri, 31 Aug 2018 03:55:05 GMT
|
42
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/projects/212/bots/test_bot/predicateNames
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Authorization:
|
13
|
+
- NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Date:
|
24
|
+
- Fri, 31 Aug 2018 03:55:05 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json;charset=utf-8
|
27
|
+
Content-Length:
|
28
|
+
- '28'
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
Server:
|
32
|
+
- Apache
|
33
|
+
X-Content-Type-Options:
|
34
|
+
- nosniff
|
35
|
+
X-Frame-Options:
|
36
|
+
- SAMEORIGIN
|
37
|
+
body:
|
38
|
+
encoding: UTF-8
|
39
|
+
string: '{"predicateNames":["color"]}'
|
40
|
+
http_version:
|
41
|
+
recorded_at: Fri, 31 Aug 2018 03:55:05 GMT
|
42
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/projects/212/bots/test_bot/predicateNames
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Authorization:
|
13
|
+
- NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Date:
|
24
|
+
- Fri, 31 Aug 2018 03:55:05 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json;charset=utf-8
|
27
|
+
Content-Length:
|
28
|
+
- '28'
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
Server:
|
32
|
+
- Apache
|
33
|
+
X-Content-Type-Options:
|
34
|
+
- nosniff
|
35
|
+
X-Frame-Options:
|
36
|
+
- SAMEORIGIN
|
37
|
+
body:
|
38
|
+
encoding: UTF-8
|
39
|
+
string: '{"predicateNames":["color"]}'
|
40
|
+
http_version:
|
41
|
+
recorded_at: Fri, 31 Aug 2018 03:55:05 GMT
|
42
|
+
recorded_with: VCR 4.0.0
|