datarobot-ai_api 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +3 -0
  3. data/Gemfile +3 -0
  4. data/README.md +12 -0
  5. data/Rakefile +54 -0
  6. data/datarobot-ai_api.gemspec +19 -0
  7. data/lib/datarobot.rb +1 -0
  8. data/lib/datarobot/ai_api.rb +190 -0
  9. data/lib/datarobot/ai_api/ai.rb +191 -0
  10. data/lib/datarobot/ai_api/dataset.rb +99 -0
  11. data/lib/datarobot/ai_api/deployment.rb +20 -0
  12. data/lib/datarobot/ai_api/evaluation.rb +21 -0
  13. data/lib/datarobot/ai_api/learning_session.rb +112 -0
  14. data/lib/datarobot/ai_api/output.rb +58 -0
  15. data/lib/datarobot/ai_api/page.rb +50 -0
  16. data/lib/datarobot/ai_api/prediction.rb +20 -0
  17. data/lib/datarobot/ai_api/refreshable.rb +20 -0
  18. data/lib/datarobot/ai_api/task.rb +86 -0
  19. data/test/cassettes/Datarobot_AiApi/_ping/returns_unauthorized_when_not_authorized.yml +41 -0
  20. data/test/cassettes/Datarobot_AiApi/_ping/works_when_authorized.yml +58 -0
  21. data/test/cassettes/Datarobot_AiApi/_ping_me/returns_unauthorized_when_not_authorized.yml +41 -0
  22. data/test/cassettes/Datarobot_AiApi/_ping_me/works_when_authorized.yml +58 -0
  23. data/test/cassettes/Datarobot_AiApi_AI/when_authorized/404s_if_there_is_no_matching_output.yml +190 -0
  24. data/test/cassettes/Datarobot_AiApi_AI/when_authorized/_find/should_accept_a_block.yml +66 -0
  25. data/test/cassettes/Datarobot_AiApi_AI/when_authorized/_next_page/can_go_to_the_next_page.yml +132 -0
  26. data/test/cassettes/Datarobot_AiApi_AI/when_authorized/_next_page/returns_the_same_page_if_there_is_no_next_page.yml +123 -0
  27. data/test/cassettes/Datarobot_AiApi_AI/when_authorized/_previous_page/can_go_to_the_previous_page.yml +262 -0
  28. data/test/cassettes/Datarobot_AiApi_AI/when_authorized/_previous_page/returns_the_same_page_if_there_is_no_previous_page.yml +67 -0
  29. data/test/cassettes/Datarobot_AiApi_AI/when_authorized/_refresh/can_refresh_to_a_new_object.yml +129 -0
  30. data/test/cassettes/Datarobot_AiApi_AI/when_authorized/_refresh_/can_refresh_its_values.yml +129 -0
  31. data/test/cassettes/Datarobot_AiApi_AI/when_authorized/can_add_datasets_to_AIs.yml +120 -0
  32. data/test/cassettes/Datarobot_AiApi_AI/when_authorized/can_add_learning_sessions_to_AIs.yml +120 -0
  33. data/test/cassettes/Datarobot_AiApi_AI/when_authorized/can_be_trained.yml +4554 -0
  34. data/test/cassettes/Datarobot_AiApi_AI/when_authorized/can_create_AIs.yml +120 -0
  35. data/test/cassettes/Datarobot_AiApi_AI/when_authorized/can_delete_AIs.yml +58 -0
  36. data/test/cassettes/Datarobot_AiApi_AI/when_authorized/can_find_AIs.yml +63 -0
  37. data/test/cassettes/Datarobot_AiApi_AI/when_authorized/can_get_AI_datasets.yml +131 -0
  38. data/test/cassettes/Datarobot_AiApi_AI/when_authorized/can_get_AI_outputs.yml +124 -0
  39. data/test/cassettes/Datarobot_AiApi_AI/when_authorized/can_list_AIs.yml +123 -0
  40. data/test/cassettes/Datarobot_AiApi_AI/when_authorized/can_predict_things.yml +190 -0
  41. data/test/cassettes/Datarobot_AiApi_AI/when_not_authorized/can_not_create_AIs.yml +43 -0
  42. data/test/cassettes/Datarobot_AiApi_AI/when_not_authorized/can_not_find_AIs.yml +43 -0
  43. data/test/cassettes/Datarobot_AiApi_AI/when_not_authorized/can_not_list_AIs.yml +45 -0
  44. data/test/cassettes/Datarobot_AiApi_Dataset/when_authorized/_find/should_accept_a_block.yml +64 -0
  45. data/test/cassettes/Datarobot_AiApi_Dataset/when_authorized/_next_page/can_go_to_the_next_page.yml +126 -0
  46. data/test/cassettes/Datarobot_AiApi_Dataset/when_authorized/_next_page/returns_the_same_page_if_there_is_no_next_page.yml +113 -0
  47. data/test/cassettes/Datarobot_AiApi_Dataset/when_authorized/_previous_page/can_go_to_the_previous_page.yml +250 -0
  48. data/test/cassettes/Datarobot_AiApi_Dataset/when_authorized/_previous_page/returns_the_same_page_if_there_is_no_previous_page.yml +64 -0
  49. data/test/cassettes/Datarobot_AiApi_Dataset/when_authorized/_refresh/can_refresh_to_a_new_object.yml +125 -0
  50. data/test/cassettes/Datarobot_AiApi_Dataset/when_authorized/_refresh_/can_refresh_its_values.yml +125 -0
  51. data/test/cassettes/Datarobot_AiApi_Dataset/when_authorized/can_delete_datasets.yml +58 -0
  52. data/test/cassettes/Datarobot_AiApi_Dataset/when_authorized/can_find_datasets.yml +61 -0
  53. data/test/cassettes/Datarobot_AiApi_Dataset/when_authorized/can_import_a_dataset_from_a_file.yml +1077 -0
  54. data/test/cassettes/Datarobot_AiApi_Dataset/when_authorized/can_import_a_dataset_from_a_url.yml +55 -0
  55. data/test/cassettes/Datarobot_AiApi_Dataset/when_authorized/can_list_datasets.yml +113 -0
  56. data/test/cassettes/Datarobot_AiApi_LearningSession/when_authorized/_find/should_accept_a_block.yml +67 -0
  57. data/test/cassettes/Datarobot_AiApi_LearningSession/when_authorized/_next_page/can_go_to_the_next_page.yml +67 -0
  58. data/test/cassettes/Datarobot_AiApi_LearningSession/when_authorized/_next_page/returns_the_same_page_if_there_is_no_next_page.yml +100 -0
  59. data/test/cassettes/Datarobot_AiApi_LearningSession/when_authorized/_previous_page/can_go_to_the_previous_page.yml +67 -0
  60. data/test/cassettes/Datarobot_AiApi_LearningSession/when_authorized/_previous_page/returns_the_same_page_if_there_is_no_previous_page.yml +100 -0
  61. data/test/cassettes/Datarobot_AiApi_LearningSession/when_authorized/_refresh/can_refresh_to_a_new_object.yml +131 -0
  62. data/test/cassettes/Datarobot_AiApi_LearningSession/when_authorized/_refresh_/can_refresh_its_values.yml +130 -0
  63. data/test/cassettes/Datarobot_AiApi_LearningSession/when_authorized/can_create_learning_sessions.yml +2815 -0
  64. data/test/cassettes/Datarobot_AiApi_LearningSession/when_authorized/can_delete_learning_sessions.yml +58 -0
  65. data/test/cassettes/Datarobot_AiApi_LearningSession/when_authorized/can_find_learning_sessions.yml +63 -0
  66. data/test/cassettes/Datarobot_AiApi_LearningSession/when_authorized/can_get_learning_session_deployment_data.yml +123 -0
  67. data/test/cassettes/Datarobot_AiApi_LearningSession/when_authorized/can_get_learning_session_evaluation_data.yml +67 -0
  68. data/test/cassettes/Datarobot_AiApi_LearningSession/when_authorized/can_get_learning_session_features.yml +127 -0
  69. data/test/cassettes/Datarobot_AiApi_LearningSession/when_authorized/can_list_learning_sessions.yml +100 -0
  70. data/test/cassettes/Datarobot_AiApi_Output/when_authorized/can_create_outputs.yml +60 -0
  71. data/test/cassettes/Datarobot_AiApi_Output/when_authorized/can_find_named_outputs.yml +123 -0
  72. data/test/cassettes/Datarobot_AiApi_Output/when_authorized/can_get_features_of_an_output.yml +184 -0
  73. data/test/cassettes/Datarobot_AiApi_Output/when_authorized/can_get_the_evaluation_of_an_output.yml +131 -0
  74. data/test/cassettes/Datarobot_AiApi_Output/when_authorized/can_list_outputs.yml +124 -0
  75. data/test/cassettes/Datarobot_AiApi_Task/when_authorized/_find/should_accept_a_block.yml +63 -0
  76. data/test/cassettes/Datarobot_AiApi_Task/when_authorized/_refresh/can_refresh_to_a_new_object.yml +124 -0
  77. data/test/cassettes/Datarobot_AiApi_Task/when_authorized/_refresh_/can_refresh_its_values.yml +125 -0
  78. data/test/cassettes/Datarobot_AiApi_Task/when_authorized/can_stop_a_task.yml +58 -0
  79. data/test/cassettes/Datarobot_AiApi_Task/when_authorized/can_wait_until_completed.yml +1138 -0
  80. data/test/cassettes/Datarobot_AiApi_Task/when_authorized/check_the_status_of_a_task.yml +64 -0
  81. data/test/data/delete-me.csv +8037 -0
  82. data/test/data/test.csv +8037 -0
  83. data/test/datarobot/ai_api/test_ai.rb +133 -0
  84. data/test/datarobot/ai_api/test_dataset.rb +64 -0
  85. data/test/datarobot/ai_api/test_learning_session.rb +77 -0
  86. data/test/datarobot/ai_api/test_output.rb +54 -0
  87. data/test/datarobot/ai_api/test_page.rb +50 -0
  88. data/test/datarobot/ai_api/test_prediction.rb +0 -0
  89. data/test/datarobot/ai_api/test_refreshable.rb +39 -0
  90. data/test/datarobot/ai_api/test_task.rb +53 -0
  91. data/test/datarobot/test_ai_api.rb +52 -0
  92. data/test/test_helper.rb +40 -0
  93. metadata +217 -0
@@ -0,0 +1,126 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://developers.datarobot.com/aiapi/datasets/?limit=1&offset=0
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - datarobot-ai/ruby
16
+ Host:
17
+ - developers.datarobot.com
18
+ Content-Type:
19
+ - application/json
20
+ Authorization:
21
+ - Bearer testingKey
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Date:
28
+ - Thu, 29 Aug 2019 03:41:50 GMT
29
+ Content-Type:
30
+ - application/json
31
+ Content-Length:
32
+ - '241'
33
+ Connection:
34
+ - keep-alive
35
+ Server:
36
+ - openresty
37
+ Set-Cookie:
38
+ - SERVERID=blue; path=/
39
+ Strict-Transport-Security:
40
+ - max-age=16070400; includeSubDomains
41
+ Vary:
42
+ - Origin
43
+ X-Content-Type-Options:
44
+ - nosniff
45
+ X-Datarobot-Request-Id:
46
+ - 1598f2f2a1172a46f89428e6fa0c9e0a
47
+ X-Frame-Options:
48
+ - SAMEORIGIN
49
+ X-Ratelimit-Limit:
50
+ - "-1"
51
+ X-Ratelimit-Remaining:
52
+ - '0'
53
+ X-Ratelimit-Reset:
54
+ - '1562953893'
55
+ X-Xss-Protection:
56
+ - 1; mode=block
57
+ body:
58
+ encoding: UTF-8
59
+ string: '{"total": 38, "data": [{"createdOn": "2019-08-27T17:43:12.505000Z",
60
+ "id": "5d656bb042eabf201366f2d7", "datasetName": "delete-me.csv"}], "links":
61
+ {"previous": null, "next": "https://developers.datarobot.com/aiapi/datasets/?limit=1&offset=1"}}'
62
+ http_version:
63
+ recorded_at: Thu, 29 Aug 2019 03:41:50 GMT
64
+ - request:
65
+ method: get
66
+ uri: https://developers.datarobot.com/aiapi/datasets/?limit=1&offset=1
67
+ body:
68
+ encoding: US-ASCII
69
+ string: ''
70
+ headers:
71
+ Accept-Encoding:
72
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
73
+ Accept:
74
+ - "*/*"
75
+ User-Agent:
76
+ - datarobot-ai/ruby
77
+ Host:
78
+ - developers.datarobot.com
79
+ Content-Type:
80
+ - application/json
81
+ Authorization:
82
+ - Bearer testingKey
83
+ response:
84
+ status:
85
+ code: 200
86
+ message: OK
87
+ headers:
88
+ Date:
89
+ - Thu, 29 Aug 2019 03:41:50 GMT
90
+ Content-Type:
91
+ - application/json
92
+ Content-Length:
93
+ - '299'
94
+ Connection:
95
+ - keep-alive
96
+ Server:
97
+ - openresty
98
+ Set-Cookie:
99
+ - SERVERID=blue; path=/
100
+ Strict-Transport-Security:
101
+ - max-age=16070400; includeSubDomains
102
+ Vary:
103
+ - Origin
104
+ X-Content-Type-Options:
105
+ - nosniff
106
+ X-Datarobot-Request-Id:
107
+ - 5b4de9c87682304dd3f19bc68d0d6c7a
108
+ X-Frame-Options:
109
+ - SAMEORIGIN
110
+ X-Ratelimit-Limit:
111
+ - "-1"
112
+ X-Ratelimit-Remaining:
113
+ - '0'
114
+ X-Ratelimit-Reset:
115
+ - '1562953893'
116
+ X-Xss-Protection:
117
+ - 1; mode=block
118
+ body:
119
+ encoding: UTF-8
120
+ string: '{"total": 38, "data": [{"createdOn": "2019-08-27T00:31:52.432000Z",
121
+ "id": "5d6479f842eabf1d9266f307", "datasetName": "test.csv"}], "links": {"previous":
122
+ "https://developers.datarobot.com/aiapi/datasets/?limit=1&offset=0", "next":
123
+ "https://developers.datarobot.com/aiapi/datasets/?limit=1&offset=2"}}'
124
+ http_version:
125
+ recorded_at: Thu, 29 Aug 2019 03:41:50 GMT
126
+ recorded_with: VCR 5.0.0
@@ -0,0 +1,113 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://developers.datarobot.com/aiapi/datasets/?limit=100&offset=0
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - datarobot-ai/ruby
16
+ Host:
17
+ - developers.datarobot.com
18
+ Content-Type:
19
+ - application/json
20
+ Authorization:
21
+ - Bearer testingKey
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Date:
28
+ - Thu, 29 Aug 2019 03:41:50 GMT
29
+ Content-Type:
30
+ - application/json
31
+ Content-Length:
32
+ - '1064'
33
+ Connection:
34
+ - keep-alive
35
+ Server:
36
+ - openresty
37
+ Set-Cookie:
38
+ - SERVERID=blue; path=/
39
+ Strict-Transport-Security:
40
+ - max-age=16070400; includeSubDomains
41
+ Vary:
42
+ - Origin
43
+ X-Content-Type-Options:
44
+ - nosniff
45
+ X-Datarobot-Request-Id:
46
+ - 107641b2ecb359ce25dcae8a8d26f9ef
47
+ X-Frame-Options:
48
+ - SAMEORIGIN
49
+ X-Ratelimit-Limit:
50
+ - "-1"
51
+ X-Ratelimit-Remaining:
52
+ - '0'
53
+ X-Ratelimit-Reset:
54
+ - '1562953893'
55
+ X-Xss-Protection:
56
+ - 1; mode=block
57
+ body:
58
+ encoding: ASCII-8BIT
59
+ string: '{"total": 38, "data": [{"createdOn": "2019-08-27T17:43:12.505000Z",
60
+ "id": "5d656bb042eabf201366f2d7", "datasetName": "delete-me.csv"}, {"createdOn":
61
+ "2019-08-27T00:31:52.432000Z", "id": "5d6479f842eabf1d9266f307", "datasetName":
62
+ "test.csv"}, {"createdOn": "2019-08-27T00:27:25.185000Z", "id": "5d6478ed42eabf1e0266f2ad",
63
+ "datasetName": "test.csv"}, {"createdOn": "2019-08-27T00:24:43.470000Z", "id":
64
+ "5d64784b42eabf1dd266f302", "datasetName": "test.csv"}, {"createdOn": "2019-08-27T00:23:19.535000Z",
65
+ "id": "5d6477f742eabf1dea66f2d9", "datasetName": "test.csv"}, {"createdOn":
66
+ "2019-08-27T00:21:58.082000Z", "id": "5d6477a642eabf1d7a66f35c", "datasetName":
67
+ "test.csv"}, {"createdOn": "2019-08-27T00:20:27.681000Z", "id": "5d64774b42eabf1dd266f2f4",
68
+ "datasetName": "test.csv"}, {"createdOn": "2019-08-26T23:56:08.231000Z", "id":
69
+ "5d64719842eabf1da466f37d", "datasetName": "test.csv"}, {"createdOn": "2019-08-26T23:53:57.998000Z",
70
+ "id": "5d64711542eabf1dea66f2b2", "datasetName": "test.csv"}, {"createdOn":
71
+ "2019-08-26T23:48:42.526000Z", "id": "5d646fda42eabf1dd266f2e0", "datasetName":
72
+ "test.csv"}, {"createdOn": "2019-08-26T23:45:37.467000Z", "id": "5d646f2142eabf1da466f36f",
73
+ "datasetName": "test.csv"}, {"createdOn": "2019-08-26T23:38:42.440000Z", "id":
74
+ "5d646d8242eabf1dea66f2a0", "datasetName": "test.csv"}, {"createdOn": "2019-08-26T23:11:17.817000Z",
75
+ "id": "5d64671542eabf1dd266f2bc", "datasetName": "test.csv"}, {"createdOn":
76
+ "2019-08-26T22:47:21.985000Z", "id": "5d64617942eabf1dd266f299", "datasetName":
77
+ "test.csv"}, {"createdOn": "2019-08-26T22:41:57.292000Z", "id": "5d64603542eabf1da466f33d",
78
+ "datasetName": "test.csv"}, {"createdOn": "2019-08-26T22:38:02.395000Z", "id":
79
+ "5d645f4a42eabf1d9266f2d2", "datasetName": "test.csv"}, {"createdOn": "2019-08-23T17:17:47.872000Z",
80
+ "id": "5d601fbb42eabf14d666f2c0", "datasetName": "test.csv"}, {"createdOn":
81
+ "2019-08-21T18:45:34.404000Z", "id": "5d5d914e42eabf0f1166f29f", "datasetName":
82
+ "house_national_forecast.csv"}, {"createdOn": "2019-08-21T18:26:54.025000Z",
83
+ "id": "5d5d8cee42eabf0eb766f322", "datasetName": "delete-me.csv"}, {"createdOn":
84
+ "2019-08-07T19:05:23.003000Z", "id": "5d4b20f37741a3052f171759", "datasetName":
85
+ "chords_part0000.csv"}, {"createdOn": "2019-07-31T22:00:22.488000Z", "id":
86
+ "5d420f76d8c81f0477732a5b", "datasetName": "matches-5.csv"}, {"createdOn":
87
+ "2019-07-31T21:44:52.535000Z", "id": "5d420bd4d8c81f0566732a86", "datasetName":
88
+ "matches-5.csv"}, {"createdOn": "2019-07-31T21:42:56.460000Z", "id": "5d420b60d8c81f05fe732a89",
89
+ "datasetName": "matches-4.csv"}, {"createdOn": "2019-07-31T21:41:14.441000Z",
90
+ "id": "5d420afad8c81f05ed732a8f", "datasetName": "matches-3.csv"}, {"createdOn":
91
+ "2019-07-31T21:28:39.860000Z", "id": "5d420807d8c81f05ed732a6b", "datasetName":
92
+ "matches-2.csv"}, {"createdOn": "2019-07-31T21:26:50.990000Z", "id": "5d42079ad8c81f0045732a6b",
93
+ "datasetName": "matches-1.csv"}, {"createdOn": "2019-07-31T21:24:17.092000Z",
94
+ "id": "5d420701d8c81f05fe732a51", "datasetName": "matches-0.csv"}, {"createdOn":
95
+ "2019-07-31T21:21:40.544000Z", "id": "5d420664d8c81f05e0732a1f", "datasetName":
96
+ "matches-0.csv"}, {"createdOn": "2019-07-31T19:50:37.625000Z", "id": "5d41f10dd8c81f05bc732a21",
97
+ "datasetName": "matches-5.csv"}, {"createdOn": "2019-07-31T18:42:24.678000Z",
98
+ "id": "5d41e110d8c81f0587732aa9", "datasetName": "matches-5.csv"}, {"createdOn":
99
+ "2019-07-31T18:41:16.774000Z", "id": "5d41e0ccd8c81f0587732aa1", "datasetName":
100
+ "matches-5.csv"}, {"createdOn": "2019-07-31T18:38:57.721000Z", "id": "5d41e041d8c81f0578732a94",
101
+ "datasetName": "matches-4.csv"}, {"createdOn": "2019-07-31T18:32:20.921000Z",
102
+ "id": "5d41deb4d8c81f0587732a5d", "datasetName": "matches-3.csv"}, {"createdOn":
103
+ "2019-07-31T18:29:43.345000Z", "id": "5d41de17d8c81f04ee732a8d", "datasetName":
104
+ "matches-2.csv"}, {"createdOn": "2019-07-31T18:26:00.583000Z", "id": "5d41dd38d8c81f04ee732a84",
105
+ "datasetName": "matches-1.csv"}, {"createdOn": "2019-07-31T18:22:25.016000Z",
106
+ "id": "5d41dc61d8c81f0578732a65", "datasetName": "matches-0.csv"}, {"createdOn":
107
+ "2019-07-19T20:59:04.226000Z", "id": "5d322f185c142b15c6f826a0", "datasetName":
108
+ "image_birds_multiclass_6x100.csv"}, {"createdOn": "2019-07-19T20:56:11.098000Z",
109
+ "id": "5d322e6b5c142b15d2f826c9", "datasetName": "image_birds_multiclass_6x100.csv"}],
110
+ "links": {"previous": null, "next": null}}'
111
+ http_version:
112
+ recorded_at: Thu, 29 Aug 2019 03:41:50 GMT
113
+ recorded_with: VCR 5.0.0
@@ -0,0 +1,250 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://developers.datarobot.com/aiapi/datasets/?limit=1&offset=0
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - datarobot-ai/ruby
16
+ Host:
17
+ - developers.datarobot.com
18
+ Content-Type:
19
+ - application/json
20
+ Authorization:
21
+ - Bearer testingKey
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Date:
28
+ - Thu, 29 Aug 2019 03:41:51 GMT
29
+ Content-Type:
30
+ - application/json
31
+ Content-Length:
32
+ - '241'
33
+ Connection:
34
+ - keep-alive
35
+ Server:
36
+ - openresty
37
+ Set-Cookie:
38
+ - SERVERID=blue; path=/
39
+ Strict-Transport-Security:
40
+ - max-age=16070400; includeSubDomains
41
+ Vary:
42
+ - Origin
43
+ X-Content-Type-Options:
44
+ - nosniff
45
+ X-Datarobot-Request-Id:
46
+ - 57631d6f69a2174936a5971a5e106dc9
47
+ X-Frame-Options:
48
+ - SAMEORIGIN
49
+ X-Ratelimit-Limit:
50
+ - "-1"
51
+ X-Ratelimit-Remaining:
52
+ - '0'
53
+ X-Ratelimit-Reset:
54
+ - '1562953893'
55
+ X-Xss-Protection:
56
+ - 1; mode=block
57
+ body:
58
+ encoding: UTF-8
59
+ string: '{"total": 38, "data": [{"createdOn": "2019-08-27T17:43:12.505000Z",
60
+ "id": "5d656bb042eabf201366f2d7", "datasetName": "delete-me.csv"}], "links":
61
+ {"previous": null, "next": "https://developers.datarobot.com/aiapi/datasets/?limit=1&offset=1"}}'
62
+ http_version:
63
+ recorded_at: Thu, 29 Aug 2019 03:41:51 GMT
64
+ - request:
65
+ method: get
66
+ uri: https://developers.datarobot.com/aiapi/datasets/?limit=1&offset=1
67
+ body:
68
+ encoding: US-ASCII
69
+ string: ''
70
+ headers:
71
+ Accept-Encoding:
72
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
73
+ Accept:
74
+ - "*/*"
75
+ User-Agent:
76
+ - datarobot-ai/ruby
77
+ Host:
78
+ - developers.datarobot.com
79
+ Content-Type:
80
+ - application/json
81
+ Authorization:
82
+ - Bearer testingKey
83
+ response:
84
+ status:
85
+ code: 200
86
+ message: OK
87
+ headers:
88
+ Date:
89
+ - Thu, 29 Aug 2019 03:41:51 GMT
90
+ Content-Type:
91
+ - application/json
92
+ Content-Length:
93
+ - '299'
94
+ Connection:
95
+ - keep-alive
96
+ Server:
97
+ - openresty
98
+ Set-Cookie:
99
+ - SERVERID=blue; path=/
100
+ Strict-Transport-Security:
101
+ - max-age=16070400; includeSubDomains
102
+ Vary:
103
+ - Origin
104
+ X-Content-Type-Options:
105
+ - nosniff
106
+ X-Datarobot-Request-Id:
107
+ - 82dcf9335f1670840ff1c3acc97e0eb7
108
+ X-Frame-Options:
109
+ - SAMEORIGIN
110
+ X-Ratelimit-Limit:
111
+ - "-1"
112
+ X-Ratelimit-Remaining:
113
+ - '0'
114
+ X-Ratelimit-Reset:
115
+ - '1562953893'
116
+ X-Xss-Protection:
117
+ - 1; mode=block
118
+ body:
119
+ encoding: UTF-8
120
+ string: '{"total": 38, "data": [{"createdOn": "2019-08-27T00:31:52.432000Z",
121
+ "id": "5d6479f842eabf1d9266f307", "datasetName": "test.csv"}], "links": {"previous":
122
+ "https://developers.datarobot.com/aiapi/datasets/?limit=1&offset=0", "next":
123
+ "https://developers.datarobot.com/aiapi/datasets/?limit=1&offset=2"}}'
124
+ http_version:
125
+ recorded_at: Thu, 29 Aug 2019 03:41:51 GMT
126
+ - request:
127
+ method: get
128
+ uri: https://developers.datarobot.com/aiapi/datasets/?limit=1&offset=2
129
+ body:
130
+ encoding: US-ASCII
131
+ string: ''
132
+ headers:
133
+ Accept-Encoding:
134
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
135
+ Accept:
136
+ - "*/*"
137
+ User-Agent:
138
+ - datarobot-ai/ruby
139
+ Host:
140
+ - developers.datarobot.com
141
+ Content-Type:
142
+ - application/json
143
+ Authorization:
144
+ - Bearer testingKey
145
+ response:
146
+ status:
147
+ code: 200
148
+ message: OK
149
+ headers:
150
+ Date:
151
+ - Thu, 29 Aug 2019 03:41:51 GMT
152
+ Content-Type:
153
+ - application/json
154
+ Content-Length:
155
+ - '299'
156
+ Connection:
157
+ - keep-alive
158
+ Server:
159
+ - openresty
160
+ Set-Cookie:
161
+ - SERVERID=blue; path=/
162
+ Strict-Transport-Security:
163
+ - max-age=16070400; includeSubDomains
164
+ Vary:
165
+ - Origin
166
+ X-Content-Type-Options:
167
+ - nosniff
168
+ X-Datarobot-Request-Id:
169
+ - f24452f8911f4222c73b3f67f30f9139
170
+ X-Frame-Options:
171
+ - SAMEORIGIN
172
+ X-Ratelimit-Limit:
173
+ - "-1"
174
+ X-Ratelimit-Remaining:
175
+ - '0'
176
+ X-Ratelimit-Reset:
177
+ - '1562953893'
178
+ X-Xss-Protection:
179
+ - 1; mode=block
180
+ body:
181
+ encoding: UTF-8
182
+ string: '{"total": 38, "data": [{"createdOn": "2019-08-27T00:27:25.185000Z",
183
+ "id": "5d6478ed42eabf1e0266f2ad", "datasetName": "test.csv"}], "links": {"previous":
184
+ "https://developers.datarobot.com/aiapi/datasets/?limit=1&offset=1", "next":
185
+ "https://developers.datarobot.com/aiapi/datasets/?limit=1&offset=3"}}'
186
+ http_version:
187
+ recorded_at: Thu, 29 Aug 2019 03:41:51 GMT
188
+ - request:
189
+ method: get
190
+ uri: https://developers.datarobot.com/aiapi/datasets/?limit=1&offset=1
191
+ body:
192
+ encoding: US-ASCII
193
+ string: ''
194
+ headers:
195
+ Accept-Encoding:
196
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
197
+ Accept:
198
+ - "*/*"
199
+ User-Agent:
200
+ - datarobot-ai/ruby
201
+ Host:
202
+ - developers.datarobot.com
203
+ Content-Type:
204
+ - application/json
205
+ Authorization:
206
+ - Bearer testingKey
207
+ response:
208
+ status:
209
+ code: 200
210
+ message: OK
211
+ headers:
212
+ Date:
213
+ - Thu, 29 Aug 2019 03:41:51 GMT
214
+ Content-Type:
215
+ - application/json
216
+ Content-Length:
217
+ - '299'
218
+ Connection:
219
+ - keep-alive
220
+ Server:
221
+ - openresty
222
+ Set-Cookie:
223
+ - SERVERID=blue; path=/
224
+ Strict-Transport-Security:
225
+ - max-age=16070400; includeSubDomains
226
+ Vary:
227
+ - Origin
228
+ X-Content-Type-Options:
229
+ - nosniff
230
+ X-Datarobot-Request-Id:
231
+ - 40e8037163d41b9be711a40031e2948c
232
+ X-Frame-Options:
233
+ - SAMEORIGIN
234
+ X-Ratelimit-Limit:
235
+ - "-1"
236
+ X-Ratelimit-Remaining:
237
+ - '0'
238
+ X-Ratelimit-Reset:
239
+ - '1562953893'
240
+ X-Xss-Protection:
241
+ - 1; mode=block
242
+ body:
243
+ encoding: UTF-8
244
+ string: '{"total": 38, "data": [{"createdOn": "2019-08-27T00:31:52.432000Z",
245
+ "id": "5d6479f842eabf1d9266f307", "datasetName": "test.csv"}], "links": {"previous":
246
+ "https://developers.datarobot.com/aiapi/datasets/?limit=1&offset=0", "next":
247
+ "https://developers.datarobot.com/aiapi/datasets/?limit=1&offset=2"}}'
248
+ http_version:
249
+ recorded_at: Thu, 29 Aug 2019 03:41:51 GMT
250
+ recorded_with: VCR 5.0.0