scaleapi-ruby 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd1682c683487bf57533d8f7e15262377c34a08c
4
- data.tar.gz: c55fce2c3b0be18af7617511919420c388505e79
3
+ metadata.gz: 6828ab929069cd5ca8ca6ca91f68de12c6a45717
4
+ data.tar.gz: 36960fb14346e20b584826ba18186f4c6f7ee5e1
5
5
  SHA512:
6
- metadata.gz: 214b011b51c59ee19523f84f10d7d256e580f41e7ee11c87814e8bd2845f80e08446bbafd92387dca29b0b38cef31b5b13f522dc0fc7523dce16a67977b06fb9
7
- data.tar.gz: 366e928aab8f116be689fe8cd6e14643097c9ed5d76f09e165758cba47a6f2c6ee9649bf6878fd82a9e739edf39cab52fcea80144c413605c1158ede152dc1e5
6
+ metadata.gz: c512d4a15df8ebad3b0ecef40560a3bdeb440a690e111fc0515440b51f266e6c1c16f3841b57a3ccbf6c7decc50f261d816114db737c4fd5b02f2cdd59d2646c
7
+ data.tar.gz: 9ba0f4514f0eae2ab6a9e1051171832db5f1207f9866fb912d2ddf4e90e76d1a9075cb80ad8e809048765e58b6ab47ddfb21c74460809bc9242038ed4f35f679
data/Gemfile CHANGED
@@ -7,8 +7,6 @@ group :development do
7
7
  gem 'rdoc', '~> 3.12'
8
8
  gem 'bundler', '~> 1.0'
9
9
  gem 'juwelier', '~> 2.1.0'
10
- gem 'pry'
11
- gem 'pry-nav'
12
10
  end
13
11
 
14
12
  group :test do
@@ -17,3 +15,8 @@ group :test do
17
15
  gem 'vcr'
18
16
  gem 'webmock'
19
17
  end
18
+
19
+ group :development, :test do
20
+ gem 'pry'
21
+ gem 'pry-nav'
22
+ end
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Gem Version](https://badge.fury.io/rb/scaleapi-ruby.svg)](https://badge.fury.io/rb/scaleapi-ruby) [![Dependency Status](https://gemnasium.com/badges/github.com/wikiti/scaleapi-ruby.svg)](https://gemnasium.com/github.com/wikiti/scaleapi-ruby) [![CircleCI](https://circleci.com/gh/wikiti/scaleapi-ruby.svg?style=shield)](https://circleci.com/gh/wikiti/scaleapi-ruby)
2
+
1
3
  # ScaleAPI for Ruby
2
4
 
3
5
  A simple ruby wrapper for the [Scale](http://www.scaleapi.com) HTTP API. Documentation for this API is available [here](https://docs.scaleapi.com/).
@@ -85,6 +87,7 @@ scale.create_phonecall_task(
85
87
  instruction: "Call this person and tell me his email address. Ask if he's happy too.",
86
88
  phone_number: '5055006865',
87
89
  entity_name: 'Alexandr Wang',
90
+ script: 'Hello ! Are you happy today? (pause) One more thing - what is your email address?',
88
91
  fields: { email: 'Email Address' },
89
92
  choices: ['He is happy', 'He is not happy']
90
93
  )
@@ -112,12 +115,40 @@ scale.create_comparison_task(
112
115
  Check [this](https://docs.scaleapi.com/#create-annotation-task-bounding-box) for further information.
113
116
 
114
117
  ```ruby
115
- scale.create_comparison_task(
118
+ scale.create_annotation_task(
116
119
  callback_url: 'http://www.example.com/callback',
117
120
  instruction: 'Draw a box around each baby cow and big cow.',
118
121
  attachment_type: "image",
119
122
  attachment: "http://i.imgur.com/v4cBreD.jpg",
120
- objects_to_annotate: ["baby cow", "big cow"]
123
+ objects_to_annotate: ["baby cow", "big cow"],
124
+ examples: [
125
+ {
126
+ correct: false,
127
+ image: 'http://i.imgur.com/lj6e98s.jpg',
128
+ explanation: 'The boxes are tight and accurate'
129
+ },
130
+ {
131
+ correct: true,
132
+ image: 'http://i.imgur.com/HIrvIDq.jpg',
133
+ explanation: 'The boxes are neither accurate nor complete'
134
+ }
135
+ ]
136
+ )
137
+ ```
138
+
139
+ #### Create data collection task
140
+
141
+ Check [this](https://docs.scaleapi.com/?shell#create-data-collection-task) for further information.
142
+
143
+ ```ruby
144
+ scale.create_data_collection_task(
145
+ callback_url: 'http://www.example.com/callback',
146
+ instruction: 'Find the URL for the hiring page for the company with attached website.',
147
+ attachment_type: 'website',
148
+ attachment: 'https://www.scaleapi.com/',
149
+ fields: {
150
+ hiring_page: 'Hiring Page URL'
151
+ }
121
152
  )
122
153
  ```
123
154
 
@@ -149,7 +180,7 @@ Check [this](https://docs.scaleapi.com/#list-all-tasks) for further information.
149
180
  Retrieve a list (`Array`) of all tasks.
150
181
 
151
182
  ```ruby
152
- tasks = scale.tasks
183
+ tasks = scale.tasks # Scale::Resources::Tasks
153
184
  tasks.all? { |t| t.is_a? Scale::Resources::Task } # true
154
185
  ```
155
186
 
@@ -205,10 +236,10 @@ The api initialization accepts the following options:
205
236
 
206
237
  | Name | Description | Default |
207
238
  | ---- | ----------- | ------- |
208
- | `endpoint` | Endpoint used in the http requests. | https://api.scaleapi.com/v1/ |
209
- | `api_key` | API key used in the http requests. | |
210
- | `callback_key` | API key used to validate callback POST requests. | |
211
- | `default_request_params` | Default parameters (payload) for the API requests | |
239
+ | `endpoint` | Endpoint used in the http requests. | `'https://api.scaleapi.com/v1/'` |
240
+ | `api_key` | API key used in the http requests. | `nil` |
241
+ | `callback_key` | API key used to validate callback POST requests. | `nil` |
242
+ | `default_request_params` | Default parameters (payload) for the API requests | `{}` |
212
243
 
213
244
  For example, `default_request_params` can be used to always set the same `callback_url` value:
214
245
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.1.0
@@ -11,6 +11,7 @@ require 'scale/http_error'
11
11
 
12
12
  require 'scale/resources/base'
13
13
  require 'scale/resources/task'
14
+ require 'scale/resources/tasks'
14
15
 
15
16
  require 'scale/endpoints/endpoint'
16
17
 
@@ -20,6 +21,7 @@ require 'scale/endpoints/tasks/create_categorization_task'
20
21
  require 'scale/endpoints/tasks/create_transcription_task'
21
22
  require 'scale/endpoints/tasks/create_comparison_task'
22
23
  require 'scale/endpoints/tasks/create_phonecall_task'
24
+ require 'scale/endpoints/tasks/create_data_collection_task'
23
25
  require 'scale/endpoints/tasks/retrieve_task'
24
26
  require 'scale/endpoints/tasks/cancel_task'
25
27
  require 'scale/endpoints/tasks/list_tasks'
@@ -24,7 +24,7 @@ module Scale
24
24
  method: type,
25
25
  url: url(path),
26
26
  user: api_key,
27
- payload: Scale.hash(default_request_params).merge(Scale.hash(payload)),
27
+ payload: Scale.hash(default_request_params).merge(Scale.hash(payload)).to_json,
28
28
  headers: { accept: :json, content_type: :json }
29
29
  ).execute
30
30
  rescue RestClient::Exception => e
@@ -0,0 +1,16 @@
1
+ module Scale
2
+ module Endpoints
3
+ module Tasks
4
+ class CreateDataCollectionTask < TaskEndpoint
5
+ def process
6
+ response = api.request :post, path('datacollection'), params
7
+ build_task response
8
+ end
9
+
10
+ def self.shortcut
11
+ 'create_data_collection_task'
12
+ end
13
+ end
14
+ end
15
+ end
16
+ end
@@ -14,12 +14,12 @@ module Scale
14
14
  protected
15
15
 
16
16
  def path
17
- "tasks"
17
+ 'tasks'
18
18
  end
19
19
 
20
20
  def build_tasks(response)
21
- response = parse(response)
22
- response.map { |obj| build_task obj }
21
+ response = parse response
22
+ Resources::Tasks.new response['docs'].map { |obj| build_task obj }, response
23
23
  end
24
24
  end
25
25
  end
@@ -1,6 +1,6 @@
1
1
  module Scale
2
2
  module Resources
3
- class Base
3
+ module Base
4
4
  end
5
5
  end
6
6
  end
@@ -1,12 +1,15 @@
1
1
  module Scale
2
2
  module Resources
3
- class Task < Base
3
+ class Task
4
+ include Base
5
+
4
6
  ATTRIBUTES = %w(task_id type instruction params urgency response callback_url status created_at completed_at)
5
7
  ATTRIBUTES.each { |attr| attr_reader attr }
6
8
 
7
9
  alias_method :id, :task_id
8
10
 
9
11
  def initialize(json = {})
12
+
10
13
  ATTRIBUTES.each do |attr|
11
14
  instance_variable_set "@#{attr}", json[attr]
12
15
  end
@@ -0,0 +1,18 @@
1
+ module Scale
2
+ module Resources
3
+ class Tasks < Array
4
+ include Base
5
+
6
+ ATTRIBUTES = %w(docs total limit offset has_more)
7
+ ATTRIBUTES.each { |attr| attr_reader attr }
8
+
9
+ def initialize(tasks, attributes = {})
10
+ ATTRIBUTES.each do |attr|
11
+ instance_variable_set "@#{attr}", attributes[attr]
12
+ end
13
+
14
+ super tasks
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,101 @@
1
+ # Generated by juwelier
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+ # stub: scaleapi-ruby 0.1.0 ruby lib
6
+
7
+ Gem::Specification.new do |s|
8
+ s.name = "scaleapi-ruby"
9
+ s.version = "0.1.0"
10
+
11
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib"]
13
+ s.authors = ["Daniel Herzog"]
14
+ s.date = "2016-10-29"
15
+ s.description = "A ruby gem wrapper for the Scale API, containing all the endpoints available."
16
+ s.email = "info@danielherzog.es"
17
+ s.extra_rdoc_files = [
18
+ "LICENSE.md",
19
+ "README.md"
20
+ ]
21
+ s.files = [
22
+ ".document",
23
+ "CONTRIBUTING.md",
24
+ "Gemfile",
25
+ "Gemfile.lock",
26
+ "LICENSE.md",
27
+ "README.md",
28
+ "Rakefile",
29
+ "VERSION",
30
+ "lib/scale.rb",
31
+ "lib/scale/api.rb",
32
+ "lib/scale/callbacks/base.rb",
33
+ "lib/scale/callbacks/task.rb",
34
+ "lib/scale/endpoints/endpoint.rb",
35
+ "lib/scale/endpoints/tasks/cancel_task.rb",
36
+ "lib/scale/endpoints/tasks/create_annotation_task.rb",
37
+ "lib/scale/endpoints/tasks/create_categorization_task.rb",
38
+ "lib/scale/endpoints/tasks/create_comparison_task.rb",
39
+ "lib/scale/endpoints/tasks/create_data_collection_task.rb",
40
+ "lib/scale/endpoints/tasks/create_phonecall_task.rb",
41
+ "lib/scale/endpoints/tasks/create_transcription_task.rb",
42
+ "lib/scale/endpoints/tasks/list_tasks.rb",
43
+ "lib/scale/endpoints/tasks/retrieve_task.rb",
44
+ "lib/scale/endpoints/tasks/task_endpoint.rb",
45
+ "lib/scale/generic_error.rb",
46
+ "lib/scale/http_error.rb",
47
+ "lib/scale/resources/base.rb",
48
+ "lib/scale/resources/task.rb",
49
+ "lib/scale/resources/tasks.rb",
50
+ "scaleapi-ruby.gemspec",
51
+ "test/callbacks/test_task_callback.rb",
52
+ "test/fixtures/callback.json",
53
+ "test/fixtures/vcr_cassettes/tasks.yml",
54
+ "test/helper.rb",
55
+ "test/tasks/test_cancel_task.rb",
56
+ "test/tasks/test_create_annotation_task.rb",
57
+ "test/tasks/test_create_categorization_task.rb",
58
+ "test/tasks/test_create_comparison_task.rb",
59
+ "test/tasks/test_create_data_collection_task.rb",
60
+ "test/tasks/test_create_phonecall_task.rb",
61
+ "test/tasks/test_create_transcription_task.rb",
62
+ "test/tasks/test_list_tasks.rb",
63
+ "test/tasks/test_retrieve_task.rb",
64
+ "test/test_api.rb"
65
+ ]
66
+ s.homepage = "http://github.com/wikiti/scaleapi-ruby"
67
+ s.licenses = ["MIT"]
68
+ s.rubygems_version = "2.4.5.1"
69
+ s.summary = "A ruby gem wrapper for the Scale API"
70
+
71
+ if s.respond_to? :specification_version then
72
+ s.specification_version = 4
73
+
74
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
75
+ s.add_runtime_dependency(%q<rest-client>, [">= 0"])
76
+ s.add_runtime_dependency(%q<activesupport>, [">= 0"])
77
+ s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
78
+ s.add_development_dependency(%q<bundler>, ["~> 1.0"])
79
+ s.add_development_dependency(%q<juwelier>, ["~> 2.1.0"])
80
+ s.add_development_dependency(%q<pry>, [">= 0"])
81
+ s.add_development_dependency(%q<pry-nav>, [">= 0"])
82
+ else
83
+ s.add_dependency(%q<rest-client>, [">= 0"])
84
+ s.add_dependency(%q<activesupport>, [">= 0"])
85
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
86
+ s.add_dependency(%q<bundler>, ["~> 1.0"])
87
+ s.add_dependency(%q<juwelier>, ["~> 2.1.0"])
88
+ s.add_dependency(%q<pry>, [">= 0"])
89
+ s.add_dependency(%q<pry-nav>, [">= 0"])
90
+ end
91
+ else
92
+ s.add_dependency(%q<rest-client>, [">= 0"])
93
+ s.add_dependency(%q<activesupport>, [">= 0"])
94
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
95
+ s.add_dependency(%q<bundler>, ["~> 1.0"])
96
+ s.add_dependency(%q<juwelier>, ["~> 2.1.0"])
97
+ s.add_dependency(%q<pry>, [">= 0"])
98
+ s.add_dependency(%q<pry-nav>, [">= 0"])
99
+ end
100
+ end
101
+
@@ -5,7 +5,11 @@ http_interactions:
5
5
  uri: https://api.scaleapi.com/v1/task/phonecall
6
6
  body:
7
7
  encoding: UTF-8
8
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Call+this+person+and+tell+me+his+email+address.+Ask+if+he%27s+happy+too.&phone_number=5055006865&entity_name=Alexandr+Wang&fields[email]=Email+Address&choices[]=He+is+happy&choices[]=He+is+not+happy
8
+ string: '{"callback_url":"http://www.example.com/callback","instruction":"Call
9
+ this person and tell me his email address. Ask if he''s happy too.","phone_number":"5055006865","entity_name":"Alexandr
10
+ Wang","fields":{"email":"Email Address"},"script":"Hello ! Are you happy today?
11
+ (pause) One more thing - what is your email address?","choices":["He is happy","He
12
+ is not happy"]}'
9
13
  headers:
10
14
  Accept:
11
15
  - application/json
@@ -14,9 +18,9 @@ http_interactions:
14
18
  User-Agent:
15
19
  - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
16
20
  Content-Type:
17
- - application/x-www-form-urlencoded
21
+ - application/json
18
22
  Content-Length:
19
- - '263'
23
+ - '367'
20
24
  Host:
21
25
  - api.scaleapi.com
22
26
  Authorization:
@@ -27,7 +31,7 @@ http_interactions:
27
31
  message: OK
28
32
  headers:
29
33
  Date:
30
- - Tue, 20 Sep 2016 20:33:49 GMT
34
+ - Sat, 29 Oct 2016 18:26:15 GMT
31
35
  Content-Type:
32
36
  - application/json; charset=utf-8
33
37
  Transfer-Encoding:
@@ -35,23 +39,25 @@ http_interactions:
35
39
  Connection:
36
40
  - keep-alive
37
41
  Set-Cookie:
38
- - __cfduid=d39ec5d41e60cdcd371dba28c989f0b3f1474403625; expires=Wed, 20-Sep-17
39
- 20:33:45 GMT; path=/; domain=.scaleapi.com; HttpOnly
40
- - heroku-session-affinity=ACyDaANoA24IAXNQgdX///8HYgAGKK1iAAD3Z2EBbAAAAAFtAAAABXdlYi4xalCE7IkFbf79r1lpim0KINdzkUSJ;
41
- Version=1; Expires=Wed, 21-Sep-2016 20:33:49 GMT; Max-Age=86400; Domain=api.scaleapi.com;
42
+ - __cfduid=da2c78797a6c3965e4e71162d41cde6e01477765575; expires=Sun, 29-Oct-17
43
+ 18:26:15 GMT; path=/; domain=.scaleapi.com; HttpOnly
44
+ - heroku-session-affinity=ACyDaANoA24IARZHr7D///8HYgALrodiAAE6PGEBbAAAAAFtAAAABXdlYi4xajlzbcLVRbo3TJTC4ixrxxPp5XqG;
45
+ Version=1; Expires=Sun, 30-Oct-2016 18:26:15 GMT; Max-Age=86400; Domain=api.scaleapi.com;
42
46
  Path=/; HttpOnly
43
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
44
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
47
+ - scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
48
+ - scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
45
49
  X-Powered-By:
46
50
  - Express
47
51
  Access-Control-Allow-Origin:
48
- - "*"
52
+ - https://docs.scaleapi.com
49
53
  Access-Control-Allow-Methods:
50
54
  - GET,PUT,POST,DELETE
51
55
  Access-Control-Allow-Headers:
52
56
  - Content-Type
57
+ Access-Control-Allow-Credentials:
58
+ - 'true'
53
59
  Etag:
54
- - W/"1af-hH9RmZqyYUwWkCDAAmTDNQ"
60
+ - W/"21a-zx5wUs5VFgRa729Un42EUA"
55
61
  Vary:
56
62
  - Accept-Encoding
57
63
  Via:
@@ -63,28 +69,29 @@ http_interactions:
63
69
  Server:
64
70
  - cloudflare-nginx
65
71
  Cf-Ray:
66
- - 2e580de34b7b08de-CDG
72
+ - 2f98acbbebfd2f77-MAD
67
73
  Content-Encoding:
68
74
  - gzip
69
75
  body:
70
76
  encoding: ASCII-8BIT
71
77
  string: !binary |-
72
- H4sIAAAAAAAAAzTKMW7DMAwAwK8QXLo4tuIUQaMt6Bc6ZQlYia2E0JIg0nCD
73
- fr7w0PVwvxg6k3G8k6HH2R3PB3c5zO5jdv508q+X0Z3fbjhgIJFPCo/72gU9
74
- JrPmp2nbtpF/aGnCY6jL9L9wQHs2Ro8t1cI744BqZKvuyCXm8o0D5qLW12C5
75
- FvT4TiJgKSs07loLUIlgLAILw868UBagGDurjnDVB+QvSPyikKi1J1itfwAA
76
- AP//LI/LCsIwEEV/pdx1kPhIH9l1IfgHLkRC2kw12KaSpGCR/rs0djmXORzO
77
- DgyTf5BrZ0gYPYPhrb0eAuQX7XO0LQXIGy6U2Y0D2y43xm25M3SWepOo5IXE
78
- Ofnrvx8LA7lo46ycHtbYuqePdsZnV53qUrxy09CQh4TgQnCel7lYURtUpBAh
79
- o5+IIerwUtasbwXtK3MwVSVORhxLztuCuqbD8gMAAP//AwB8PcyvrwEAAA==
78
+ H4sIAAAAAAAAA1SQW4vbMBCF/8r0vLQFJXHS5rJ6WUIp7FtfCoWWYibWJBaR
79
+ JSONyZqQ/16cpgt9nI85nMsVTRZWcTUrLFbVcjNbVrPV0/flzq42drmeV7vd
80
+ Txg0HMKBm3M95ACLVrW3i8XlcpnLK3d9kHmTusW/Lxjo2Ass+jZFmTAMirIO
81
+ ZYISnY8nGPhYNA+N+hRh8YVDIG19oV5ySZE4OlIJgTqhCUvHPhA7l6WUOe3L
82
+ mfyRWnlfqOW+H0lTmsNgyCeJzQgLxyMMes7cFdgrmjb5RgrsL7wI+YcO5nHF
83
+ pA/y2+DoJbi76u4Li693//1ff9wMSpN9P033IiEkekf7LDSm4S2O4/GZPvQ8
84
+ FPlI36JQl7JMHeOJZnRpWSfbMQ35/3LPMJCoXsc6cjctuQ/yytFl+sH36e7L
85
+ 1nHoDpJhsa7W66ra7DbrKZcvtUpRWM2DGCiXc+3d9LZbfpanZns4uu3hU7Wp
86
+ qqOsttUWBp0oO1aGvd5ufwAAAP//AwBlBU4/GgIAAA==
80
87
  http_version:
81
- recorded_at: Tue, 20 Sep 2016 20:33:46 GMT
88
+ recorded_at: Sat, 29 Oct 2016 18:26:15 GMT
82
89
  - request:
83
90
  method: post
84
- uri: https://api.scaleapi.com/v1/task/57e19d2d9954d53800c7efbf/cancel
91
+ uri: https://api.scaleapi.com/v1/task/5814e9c7bfd7b30600fe2707/cancel
85
92
  body:
86
93
  encoding: UTF-8
87
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback
94
+ string: '{"callback_url":"http://www.example.com/callback"}'
88
95
  headers:
89
96
  Accept:
90
97
  - application/json
@@ -93,9 +100,9 @@ http_interactions:
93
100
  User-Agent:
94
101
  - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
95
102
  Content-Type:
96
- - application/x-www-form-urlencoded
103
+ - application/json
97
104
  Content-Length:
98
- - '52'
105
+ - '50'
99
106
  Host:
100
107
  - api.scaleapi.com
101
108
  Authorization:
@@ -106,31 +113,33 @@ http_interactions:
106
113
  message: Internal Server Error
107
114
  headers:
108
115
  Date:
109
- - Tue, 20 Sep 2016 20:33:49 GMT
116
+ - Sat, 29 Oct 2016 18:26:15 GMT
110
117
  Content-Type:
111
118
  - application/json; charset=utf-8
112
119
  Content-Length:
113
- - '66'
120
+ - '84'
114
121
  Connection:
115
122
  - keep-alive
116
123
  Set-Cookie:
117
- - __cfduid=db1a2f80028a3af817a9bd8330ccf0ab11474403629; expires=Wed, 20-Sep-17
118
- 20:33:49 GMT; path=/; domain=.scaleapi.com; HttpOnly
119
- - heroku-session-affinity=ACyDaANoA24IAVbhMdf///8HYgAGKK1iAA0OGmEBbAAAAAFtAAAABXdlYi4xajrRD26eXZ5r7jUOQCTI6mrx4qP7;
120
- Version=1; Expires=Wed, 21-Sep-2016 20:33:49 GMT; Max-Age=86400; Domain=api.scaleapi.com;
124
+ - __cfduid=db8ffa3ecd203f1266defb1c8471726031477765575; expires=Sun, 29-Oct-17
125
+ 18:26:15 GMT; path=/; domain=.scaleapi.com; HttpOnly
126
+ - heroku-session-affinity=ACyDaANoA24IAXPb/a7///8HYgALrodiAAYpaWEBbAAAAAFtAAAABXdlYi4xatV1skAeTieHuxyrkl+4zq0FeuYz;
127
+ Version=1; Expires=Sun, 30-Oct-2016 18:26:15 GMT; Max-Age=86400; Domain=api.scaleapi.com;
121
128
  Path=/; HttpOnly
122
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
123
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
129
+ - scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
130
+ - scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
124
131
  X-Powered-By:
125
132
  - Express
126
133
  Access-Control-Allow-Origin:
127
- - "*"
134
+ - https://docs.scaleapi.com
128
135
  Access-Control-Allow-Methods:
129
136
  - GET,PUT,POST,DELETE
130
137
  Access-Control-Allow-Headers:
131
138
  - Content-Type
139
+ Access-Control-Allow-Credentials:
140
+ - 'true'
132
141
  Etag:
133
- - W/"42-+FzgKDURClpieXRtAvqOKQ"
142
+ - W/"54-CEqJp2g87nXs5K5WXZFU6A"
134
143
  Vary:
135
144
  - Accept-Encoding
136
145
  Via:
@@ -142,18 +151,23 @@ http_interactions:
142
151
  Server:
143
152
  - cloudflare-nginx
144
153
  Cf-Ray:
145
- - 2e580dfc781b08fc-CDG
154
+ - 2f98acbddba52f4d-MAD
146
155
  body:
147
156
  encoding: UTF-8
148
- string: '{"error":"The task was already completed and cannot be canceled."}'
157
+ string: '{"status_code":500,"error":"The task was already completed and cannot
158
+ be canceled."}'
149
159
  http_version:
150
- recorded_at: Tue, 20 Sep 2016 20:33:46 GMT
160
+ recorded_at: Sat, 29 Oct 2016 18:26:15 GMT
151
161
  - request:
152
162
  method: post
153
163
  uri: https://api.scaleapi.com/v1/task/annotation
154
164
  body:
155
165
  encoding: UTF-8
156
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Draw+a+box+around+each+baby+cow+and+big+cow.&attachment_type=image&attachment=http%3A%2F%2Fi.imgur.com%2Fv4cBreD.jpg&objects_to_annotate[]=baby+cow&objects_to_annotate[]=big+cow&with_labels=true
166
+ string: '{"callback_url":"http://www.example.com/callback","instruction":"Draw
167
+ a box around each baby cow and big cow.","attachment_type":"image","attachment":"http://i.imgur.com/v4cBreD.jpg","objects_to_annotate":["baby
168
+ cow","big cow"],"with_labels":true,"examples":[{"correct":false,"image":"http://i.imgur.com/lj6e98s.jpg","explanation":"The
169
+ boxes are tight and accurate"},{"correct":true,"image":"http://i.imgur.com/HIrvIDq.jpg","explanation":"The
170
+ boxes are neither accurate nor complete"}]}'
157
171
  headers:
158
172
  Accept:
159
173
  - application/json
@@ -162,9 +176,9 @@ http_interactions:
162
176
  User-Agent:
163
177
  - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
164
178
  Content-Type:
165
- - application/x-www-form-urlencoded
179
+ - application/json
166
180
  Content-Length:
167
- - '259'
181
+ - '486'
168
182
  Host:
169
183
  - api.scaleapi.com
170
184
  Authorization:
@@ -175,7 +189,7 @@ http_interactions:
175
189
  message: OK
176
190
  headers:
177
191
  Date:
178
- - Tue, 20 Sep 2016 20:33:50 GMT
192
+ - Sat, 29 Oct 2016 18:26:15 GMT
179
193
  Content-Type:
180
194
  - application/json; charset=utf-8
181
195
  Transfer-Encoding:
@@ -183,23 +197,25 @@ http_interactions:
183
197
  Connection:
184
198
  - keep-alive
185
199
  Set-Cookie:
186
- - __cfduid=d7ade39dd8f459bfc5b17c73797b1802f1474403630; expires=Wed, 20-Sep-17
187
- 20:33:50 GMT; path=/; domain=.scaleapi.com; HttpOnly
188
- - heroku-session-affinity=ACyDaANoA24IAVGVENb///8HYgAGKK5iAAgxvWEBbAAAAAFtAAAABXdlYi4xavrPKty01xSdjP0+z1i+1FzeJaqB;
189
- Version=1; Expires=Wed, 21-Sep-2016 20:33:50 GMT; Max-Age=86400; Domain=api.scaleapi.com;
200
+ - __cfduid=d0ddaf6a2fa45c60a3d91de11c23de3db1477765575; expires=Sun, 29-Oct-17
201
+ 18:26:15 GMT; path=/; domain=.scaleapi.com; HttpOnly
202
+ - heroku-session-affinity=ACyDaANoA24IARUcqK7///8HYgALrodiAAsJ72EBbAAAAAFtAAAABXdlYi4xah5Hqk0CeZG51QMTKhvOzAZbhDY+;
203
+ Version=1; Expires=Sun, 30-Oct-2016 18:26:15 GMT; Max-Age=86400; Domain=api.scaleapi.com;
190
204
  Path=/; HttpOnly
191
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
192
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
205
+ - scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
206
+ - scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
193
207
  X-Powered-By:
194
208
  - Express
195
209
  Access-Control-Allow-Origin:
196
- - "*"
210
+ - https://docs.scaleapi.com
197
211
  Access-Control-Allow-Methods:
198
212
  - GET,PUT,POST,DELETE
199
213
  Access-Control-Allow-Headers:
200
214
  - Content-Type
215
+ Access-Control-Allow-Credentials:
216
+ - 'true'
201
217
  Etag:
202
- - W/"195-QWENveudsuqS93GdxosWgA"
218
+ - W/"292-uwiW2JZgfsp7gA9e2GelTA"
203
219
  Vary:
204
220
  - Accept-Encoding
205
221
  Via:
@@ -211,27 +227,29 @@ http_interactions:
211
227
  Server:
212
228
  - cloudflare-nginx
213
229
  Cf-Ray:
214
- - 2e580e00e9141515-CDG
230
+ - 2f98acbfdc8d5474-MAD
215
231
  Content-Encoding:
216
232
  - gzip
217
233
  body:
218
234
  encoding: ASCII-8BIT
219
235
  string: !binary |-
220
- H4sIAAAAAAAAA0xQS26DMBS8ijVrhxAIbfGyyhG6alWhh3kFJ2CQ/ShBUe5e
221
- NUrU7kaaj2bmAhuYhJuKBAZZunvapOUmS9+y1OS5KdKkyMt3aFjq+5rsqZpD
222
- D4NOZDLb7bIsCZ9pmHpO7DhsHypoyDoxDMj7UUjc6KERhWSOMJjYN8630JhD
223
- y96uMGhohYbzUcJsbwaDQ6BFkarHs6Iwzr5RTLZTNdWrsuOiyDeqdu0vTqAx
224
- UaAhwlywOOmqnmruI4yEmTXG+shWYiVjdS/FMB94ZEHjnoRPDRIh2w3spboP
225
- cQO1jP/M3w0ucUM7h9sF33v7GviQHKcWVw0XK+EojxJC8VS5BgbFM+/KJuOy
226
- LPZNkb+kqX3mL7vD9QcAAP//AwCENVttlQEAAA==
236
+ H4sIAAAAAAAAA4SRzW7bMBCEX4WYMyNLbuIfHgsfmntODQJhRa0lOhKpkqso
237
+ huF3L+TYbVEE7Y3kLme+nT3BRibhuiSBwTIvVndFfrfcPhUbs1yZ4iFbF8V3
238
+ aFjquorsaznGDgatyGAWi2maMn6nfug4s6Ff3LqgIceBYUDeByFxwUMjCcmY
239
+ YDCwr51voDHGhr09wqCmIzScTxJHe/lgsIs0KVJVeFcUw+hrxWRbVVF1VDZM
240
+ inytKtfM5wwaA0XqE8wJV6gE8zxfho48XTWfWp4FOSmKrMQ1rVx0yNoxkvAM
241
+ 0VPDv6d0meubMV4m7A4r3m5SdhhmehtiZCswe+oSn/W/vTw7aTn+clI+RGXD
242
+ DPo/22+P8e1x9+NvW4kjn180Jidt2VHFXfp41AjVga2kUkJ53QHDPOMWHTSu
243
+ weFFg0TItj17Ka97+2D5s/I52Nu9/Rp5dwE7a7hUCie5QQil19LVMHjYFPe8
244
+ tetqX6+rL/kqz/e8XOdbaPQsVJMQzOl8/gkAAP//AwDVGZOFkgIAAA==
227
245
  http_version:
228
- recorded_at: Tue, 20 Sep 2016 20:33:47 GMT
246
+ recorded_at: Sat, 29 Oct 2016 18:26:15 GMT
229
247
  - request:
230
248
  method: post
231
249
  uri: https://api.scaleapi.com/v1/task/annotation
232
250
  body:
233
251
  encoding: UTF-8
234
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback
252
+ string: '{"callback_url":"http://www.example.com/callback"}'
235
253
  headers:
236
254
  Accept:
237
255
  - application/json
@@ -240,9 +258,9 @@ http_interactions:
240
258
  User-Agent:
241
259
  - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
242
260
  Content-Type:
243
- - application/x-www-form-urlencoded
261
+ - application/json
244
262
  Content-Length:
245
- - '52'
263
+ - '50'
246
264
  Host:
247
265
  - api.scaleapi.com
248
266
  Authorization:
@@ -253,31 +271,33 @@ http_interactions:
253
271
  message: Bad Request
254
272
  headers:
255
273
  Date:
256
- - Tue, 20 Sep 2016 20:33:51 GMT
274
+ - Sat, 29 Oct 2016 18:26:16 GMT
257
275
  Content-Type:
258
276
  - application/json; charset=utf-8
259
277
  Content-Length:
260
- - '110'
278
+ - '81'
261
279
  Connection:
262
280
  - keep-alive
263
281
  Set-Cookie:
264
- - __cfduid=d61efbc4debd32d1ae2dc029f60bd0b1c1474403630; expires=Wed, 20-Sep-17
265
- 20:33:50 GMT; path=/; domain=.scaleapi.com; HttpOnly
266
- - heroku-session-affinity=ACyDaANoA24IAVS0e9X///8HYgAGKK9iAAYQl2EBbAAAAAFtAAAABXdlYi4xagKnd9cFekxkVCSTgMSVXPV8IcEu;
267
- Version=1; Expires=Wed, 21-Sep-2016 20:33:51 GMT; Max-Age=86400; Domain=api.scaleapi.com;
282
+ - __cfduid=d7b4efe485437b2f5eefebb13e0dced391477765576; expires=Sun, 29-Oct-17
283
+ 18:26:16 GMT; path=/; domain=.scaleapi.com; HttpOnly
284
+ - heroku-session-affinity=ACyDaANoA24IAbHds6////8HYgALrohiAAYCOWEBbAAAAAFtAAAABXdlYi4xakVSML/c4v0h50voHT9fDeiM2c97;
285
+ Version=1; Expires=Sun, 30-Oct-2016 18:26:16 GMT; Max-Age=86400; Domain=api.scaleapi.com;
268
286
  Path=/; HttpOnly
269
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
270
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
287
+ - scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
288
+ - scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
271
289
  X-Powered-By:
272
290
  - Express
273
291
  Access-Control-Allow-Origin:
274
- - "*"
292
+ - https://docs.scaleapi.com
275
293
  Access-Control-Allow-Methods:
276
294
  - GET,PUT,POST,DELETE
277
295
  Access-Control-Allow-Headers:
278
296
  - Content-Type
297
+ Access-Control-Allow-Credentials:
298
+ - 'true'
279
299
  Etag:
280
- - W/"6e-3CVLHbmZIEWFI2BiZeBrFQ"
300
+ - W/"51-mD9g78yI4aIq5q67WrSipA"
281
301
  Vary:
282
302
  - Accept-Encoding
283
303
  Via:
@@ -289,19 +309,19 @@ http_interactions:
289
309
  Server:
290
310
  - cloudflare-nginx
291
311
  Cf-Ray:
292
- - 2e580e053da22f2f-MAD
312
+ - 2f98acc20ffb0de7-MAD
293
313
  body:
294
314
  encoding: UTF-8
295
- string: '{"status_code":400,"message":"Please provide a plaintext instruction
296
- to the worker in the instruction field."}'
315
+ string: '{"status_code":400,"error":"Please provide an attachment as a URL or
316
+ plaintext."}'
297
317
  http_version:
298
- recorded_at: Tue, 20 Sep 2016 20:33:48 GMT
318
+ recorded_at: Sat, 29 Oct 2016 18:26:16 GMT
299
319
  - request:
300
320
  method: post
301
321
  uri: https://api.scaleapi.com/v1/task/annotation
302
322
  body:
303
323
  encoding: UTF-8
304
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback
324
+ string: '{"callback_url":"http://www.example.com/callback"}'
305
325
  headers:
306
326
  Accept:
307
327
  - application/json
@@ -310,9 +330,9 @@ http_interactions:
310
330
  User-Agent:
311
331
  - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
312
332
  Content-Type:
313
- - application/x-www-form-urlencoded
333
+ - application/json
314
334
  Content-Length:
315
- - '52'
335
+ - '50'
316
336
  Host:
317
337
  - api.scaleapi.com
318
338
  Authorization:
@@ -323,31 +343,33 @@ http_interactions:
323
343
  message: Bad Request
324
344
  headers:
325
345
  Date:
326
- - Tue, 20 Sep 2016 20:33:55 GMT
346
+ - Sat, 29 Oct 2016 18:26:16 GMT
327
347
  Content-Type:
328
348
  - application/json; charset=utf-8
329
349
  Content-Length:
330
- - '110'
350
+ - '81'
331
351
  Connection:
332
352
  - keep-alive
333
353
  Set-Cookie:
334
- - __cfduid=d2fd46ddf206410e3703fe2e7ab42a7f11474403631; expires=Wed, 20-Sep-17
335
- 20:33:51 GMT; path=/; domain=.scaleapi.com; HttpOnly
336
- - heroku-session-affinity=ACyDaANoA24IARMYfNT///8HYgAGKLBiAABtDWEBbAAAAAFtAAAABXdlYi4xajOP5NIpkn5pBxbu55vIQfrsKF22;
337
- Version=1; Expires=Wed, 21-Sep-2016 20:33:52 GMT; Max-Age=86400; Domain=api.scaleapi.com;
354
+ - __cfduid=dfe16fa322165b937ad2b926e0fbf9c531477765576; expires=Sun, 29-Oct-17
355
+ 18:26:16 GMT; path=/; domain=.scaleapi.com; HttpOnly
356
+ - heroku-session-affinity=ACyDaANoA24IATMUmK////8HYgALrohiAAw9aGEBbAAAAAFtAAAABXdlYi4xarMz8efxu5jEipXiWzgQV+7nZURf;
357
+ Version=1; Expires=Sun, 30-Oct-2016 18:26:16 GMT; Max-Age=86400; Domain=api.scaleapi.com;
338
358
  Path=/; HttpOnly
339
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
340
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
359
+ - scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
360
+ - scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
341
361
  X-Powered-By:
342
362
  - Express
343
363
  Access-Control-Allow-Origin:
344
- - "*"
364
+ - https://docs.scaleapi.com
345
365
  Access-Control-Allow-Methods:
346
366
  - GET,PUT,POST,DELETE
347
367
  Access-Control-Allow-Headers:
348
368
  - Content-Type
369
+ Access-Control-Allow-Credentials:
370
+ - 'true'
349
371
  Etag:
350
- - W/"6e-3CVLHbmZIEWFI2BiZeBrFQ"
372
+ - W/"51-mD9g78yI4aIq5q67WrSipA"
351
373
  Vary:
352
374
  - Accept-Encoding
353
375
  Via:
@@ -359,19 +381,20 @@ http_interactions:
359
381
  Server:
360
382
  - cloudflare-nginx
361
383
  Cf-Ray:
362
- - 2e580e09fe023bd5-CDG
384
+ - 2f98acc69a732fa1-MAD
363
385
  body:
364
386
  encoding: UTF-8
365
- string: '{"status_code":400,"message":"Please provide a plaintext instruction
366
- to the worker in the instruction field."}'
387
+ string: '{"status_code":400,"error":"Please provide an attachment as a URL or
388
+ plaintext."}'
367
389
  http_version:
368
- recorded_at: Tue, 20 Sep 2016 20:33:52 GMT
390
+ recorded_at: Sat, 29 Oct 2016 18:26:16 GMT
369
391
  - request:
370
392
  method: post
371
393
  uri: https://api.scaleapi.com/v1/task/comparison
372
394
  body:
373
395
  encoding: UTF-8
374
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Do+the+objects+in+these+images+have+the+same+pattern%3F&attachment_type=image&choices[]=yes&choices[]=no&attachments[]=http%3A%2F%2Fi.ebayimg.com%2F00%2F%24T2eC16dHJGwFFZKjy5ZjBRfNyMC4Ig%7E%7E_32.JPG&attachments[]=http%3A%2F%2Fimages.wisegeek.com%2Fcheckered-tablecloth.jpg
396
+ string: '{"callback_url":"http://www.example.com/callback","instruction":"Do
397
+ the objects in these images have the same pattern?","attachment_type":"image","choices":["yes","no"],"attachments":["http://i.ebayimg.com/00/$T2eC16dHJGwFFZKjy5ZjBRfNyMC4Ig~~_32.JPG","http://images.wisegeek.com/checkered-tablecloth.jpg"]}'
375
398
  headers:
376
399
  Accept:
377
400
  - application/json
@@ -380,9 +403,9 @@ http_interactions:
380
403
  User-Agent:
381
404
  - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
382
405
  Content-Type:
383
- - application/x-www-form-urlencoded
406
+ - application/json
384
407
  Content-Length:
385
- - '338'
408
+ - '306'
386
409
  Host:
387
410
  - api.scaleapi.com
388
411
  Authorization:
@@ -393,7 +416,7 @@ http_interactions:
393
416
  message: OK
394
417
  headers:
395
418
  Date:
396
- - Tue, 20 Sep 2016 20:33:56 GMT
419
+ - Sat, 29 Oct 2016 18:26:17 GMT
397
420
  Content-Type:
398
421
  - application/json; charset=utf-8
399
422
  Transfer-Encoding:
@@ -401,23 +424,25 @@ http_interactions:
401
424
  Connection:
402
425
  - keep-alive
403
426
  Set-Cookie:
404
- - __cfduid=d260c8fd1dd0df662a046032bf5ce27721474403635; expires=Wed, 20-Sep-17
405
- 20:33:55 GMT; path=/; domain=.scaleapi.com; HttpOnly
406
- - heroku-session-affinity=ACyDaANoA24IAXNI+NX///8HYgAGKLRiAAQNemEBbAAAAAFtAAAABXdlYi4xapCNW+lh7MNaS0BGz1rKEj9DyDuH;
407
- Version=1; Expires=Wed, 21-Sep-2016 20:33:56 GMT; Max-Age=86400; Domain=api.scaleapi.com;
427
+ - __cfduid=d930e4366ca0546129f1104b106318ce61477765577; expires=Sun, 29-Oct-17
428
+ 18:26:17 GMT; path=/; domain=.scaleapi.com; HttpOnly
429
+ - heroku-session-affinity=ACyDaANoA24IAd83Fqz///8HYgALroliAAIVNWEBbAAAAAFtAAAABXdlYi4xaqiBQkfYZ4Hqr3/Q1LyJgJ5z/1GQ;
430
+ Version=1; Expires=Sun, 30-Oct-2016 18:26:17 GMT; Max-Age=86400; Domain=api.scaleapi.com;
408
431
  Path=/; HttpOnly
409
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
410
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
432
+ - scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
433
+ - scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
411
434
  X-Powered-By:
412
435
  - Express
413
436
  Access-Control-Allow-Origin:
414
- - "*"
437
+ - https://docs.scaleapi.com
415
438
  Access-Control-Allow-Methods:
416
439
  - GET,PUT,POST,DELETE
417
440
  Access-Control-Allow-Headers:
418
441
  - Content-Type
442
+ Access-Control-Allow-Credentials:
443
+ - 'true'
419
444
  Etag:
420
- - W/"1d0-YcFKk+sZki5BVcoQ4NJTag"
445
+ - W/"1de-7CLCEbqIn2Osu3DUPDW0Dw"
421
446
  Vary:
422
447
  - Accept-Encoding
423
448
  Via:
@@ -429,28 +454,30 @@ http_interactions:
429
454
  Server:
430
455
  - cloudflare-nginx
431
456
  Cf-Ray:
432
- - 2e580e21ee1e048b-CDG
457
+ - 2f98acc8abc42f8f-MAD
433
458
  Content-Encoding:
434
459
  - gzip
435
460
  body:
436
461
  encoding: ASCII-8BIT
437
462
  string: !binary |-
438
- H4sIAAAAAAAAA0xQTW/TQBT8K9aI48Zx7Dghe0GiqIUiEKp6Cqqsl/WrvYm9
439
- a+0+Y6yq/e0IUxDH0XxoZp5gApNwXZFAI882u1V2WOXZfZ7potDlLs332yMU
440
- DHXdicylGkMHjVZk0Ov1NE0p/6R+6Dg1vl//VUFB5oGhYXw/ULDROyhEIRkj
441
- NAZ2tXUNFMbQsDMzNGqaoWBdlDAasd5B44NPpOXEn85sJCbW/YaRE9tTwzFp
442
- 6Qcvgkg9JwOJcHDvoDBQoD5CP8G03hqO0N8xc4SC83hQIBEybc9OqteiSyT+
443
- ZxbT61Cb8olm2zfLzCxbv7nP+Wqzqz/e3kzX18fP57k8nt/fPX6dv1xtPzUv
444
- L1WRp7ffbqD+RSyd08lGbpgvf/5q2Vw4cL0SOnVsOi9teh4aPDwr2FgJR4GW
445
- MLKCULxUtoZGuefNoS62h0O5rcvibZaZPT+aHM+/AAAA//8DAG0OqgzQAQAA
463
+ H4sIAAAAAAAAA0xQ22rbQBT8FTH0cS1Lii/xvhSakrQpKaXkySWIo9WxtLa0
464
+ ErtHUYVxvr1ESUsfh7kwM2cYzyRc5iTQyJJ0s0iTRbZ7TK91ttHpNk5X6z0U
465
+ DDVNQeaUD76BRi3S6+VyHMeYf1PbNxybrl3+VUFBpp6hYbq2J29D56AQhGQI
466
+ 0OjZldZVUBh8xc5M0ChpgoJ1QfxgxHYOGp+7SGqOuuLIRkJk3SsMHNmWKg5R
467
+ Tc88CwK1HPUkwt59hEJPntoAfYapO2s4QP/CxAEKrsOTAomQqVt2kr8XnSPx
468
+ PzOb3ofamAuabFvNM5Nk+eEx45t0U365vxtvb/ffjtN6f/z08/B9erhZfa1e
469
+ XvKrLL7/cQf1L2LuHI82cMV8evurZnNiz+VCqGjYNJ3U8bGv8HRRsCEXDgIt
470
+ fmAFoXDKbQmN9XW64p3ZFYdyW1wlmyQ5cLZNCAotC5UkBH2+XP4AAAD//wMA
471
+ bVsJ0N4BAAA=
446
472
  http_version:
447
- recorded_at: Tue, 20 Sep 2016 20:33:53 GMT
473
+ recorded_at: Sat, 29 Oct 2016 18:26:17 GMT
448
474
  - request:
449
475
  method: post
450
476
  uri: https://api.scaleapi.com/v1/task/comparison
451
477
  body:
452
478
  encoding: UTF-8
453
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction&choices[]=a&choices[]=b
479
+ string: '{"callback_url":"http://www.example.com/callback","instruction":"Test
480
+ instruction","choices":["a","b"]}'
454
481
  headers:
455
482
  Accept:
456
483
  - application/json
@@ -459,9 +486,9 @@ http_interactions:
459
486
  User-Agent:
460
487
  - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
461
488
  Content-Type:
462
- - application/x-www-form-urlencoded
489
+ - application/json
463
490
  Content-Length:
464
- - '105'
491
+ - '103'
465
492
  Host:
466
493
  - api.scaleapi.com
467
494
  Authorization:
@@ -472,31 +499,33 @@ http_interactions:
472
499
  message: Bad Request
473
500
  headers:
474
501
  Date:
475
- - Tue, 20 Sep 2016 20:33:56 GMT
502
+ - Sat, 29 Oct 2016 18:26:17 GMT
476
503
  Content-Type:
477
504
  - application/json; charset=utf-8
478
505
  Content-Length:
479
- - '98'
506
+ - '96'
480
507
  Connection:
481
508
  - keep-alive
482
509
  Set-Cookie:
483
- - __cfduid=d4c7f6f9a59a988f8729d5a330d64c1611474403636; expires=Wed, 20-Sep-17
484
- 20:33:56 GMT; path=/; domain=.scaleapi.com; HttpOnly
485
- - heroku-session-affinity=ACyDaANoA24IARf1mO////8HYgAGKLRiAA5e/GEBbAAAAAFtAAAABXdlYi4xaql8XjExiaNOIwIpyKwv2tIQ77wQ;
486
- Version=1; Expires=Wed, 21-Sep-2016 20:33:56 GMT; Max-Age=86400; Domain=api.scaleapi.com;
510
+ - __cfduid=d65131af6fc725a0c81624b301d6ebd751477765577; expires=Sun, 29-Oct-17
511
+ 18:26:17 GMT; path=/; domain=.scaleapi.com; HttpOnly
512
+ - heroku-session-affinity=ACyDaANoA24IAd0bqaz///8HYgALroliAAzq+WEBbAAAAAFtAAAABXdlYi4xanrtq+FYTZYMCvG4f0CftzTMK1ZG;
513
+ Version=1; Expires=Sun, 30-Oct-2016 18:26:17 GMT; Max-Age=86400; Domain=api.scaleapi.com;
487
514
  Path=/; HttpOnly
488
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
489
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
515
+ - scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
516
+ - scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
490
517
  X-Powered-By:
491
518
  - Express
492
519
  Access-Control-Allow-Origin:
493
- - "*"
520
+ - https://docs.scaleapi.com
494
521
  Access-Control-Allow-Methods:
495
522
  - GET,PUT,POST,DELETE
496
523
  Access-Control-Allow-Headers:
497
524
  - Content-Type
525
+ Access-Control-Allow-Credentials:
526
+ - 'true'
498
527
  Etag:
499
- - W/"62-7Rkh4lSqRHmEsijDGLdcoQ"
528
+ - W/"60-F2SZWzJSI2PY5Xb1B39Hhw"
500
529
  Vary:
501
530
  - Accept-Encoding
502
531
  Via:
@@ -508,19 +537,20 @@ http_interactions:
508
537
  Server:
509
538
  - cloudflare-nginx
510
539
  Cf-Ray:
511
- - 2e580e28dd823c41-CDG
540
+ - 2f98accad9442f59-MAD
512
541
  body:
513
542
  encoding: UTF-8
514
- string: '{"status_code":400,"message":"Please provide attachments for the worker
543
+ string: '{"status_code":400,"error":"Please provide attachments for the worker
515
544
  to compare for the task."}'
516
545
  http_version:
517
- recorded_at: Tue, 20 Sep 2016 20:33:54 GMT
546
+ recorded_at: Sat, 29 Oct 2016 18:26:17 GMT
518
547
  - request:
519
548
  method: post
520
549
  uri: https://api.scaleapi.com/v1/task/comparison
521
550
  body:
522
551
  encoding: UTF-8
523
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction&choices[]=a&choices[]=b
552
+ string: '{"callback_url":"http://www.example.com/callback","instruction":"Test
553
+ instruction","choices":["a","b"]}'
524
554
  headers:
525
555
  Accept:
526
556
  - application/json
@@ -529,9 +559,9 @@ http_interactions:
529
559
  User-Agent:
530
560
  - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
531
561
  Content-Type:
532
- - application/x-www-form-urlencoded
562
+ - application/json
533
563
  Content-Length:
534
- - '105'
564
+ - '103'
535
565
  Host:
536
566
  - api.scaleapi.com
537
567
  Authorization:
@@ -542,31 +572,33 @@ http_interactions:
542
572
  message: Bad Request
543
573
  headers:
544
574
  Date:
545
- - Tue, 20 Sep 2016 20:33:57 GMT
575
+ - Sat, 29 Oct 2016 18:26:18 GMT
546
576
  Content-Type:
547
577
  - application/json; charset=utf-8
548
578
  Content-Length:
549
- - '98'
579
+ - '96'
550
580
  Connection:
551
581
  - keep-alive
552
582
  Set-Cookie:
553
- - __cfduid=d704d0849fcab06108ea278d34eef93a21474403637; expires=Wed, 20-Sep-17
554
- 20:33:57 GMT; path=/; domain=.scaleapi.com; HttpOnly
555
- - heroku-session-affinity=ACyDaANoA24IAXIzrNX///8HYgAGKLViAAkSaGEBbAAAAAFtAAAABXdlYi4xalL5kAHnzxzEkCHfi2Cg7Z5aEn7o;
556
- Version=1; Expires=Wed, 21-Sep-2016 20:33:57 GMT; Max-Age=86400; Domain=api.scaleapi.com;
583
+ - __cfduid=de6a89cdbeb4fd1130bcfee53b166527c1477765578; expires=Sun, 29-Oct-17
584
+ 18:26:18 GMT; path=/; domain=.scaleapi.com; HttpOnly
585
+ - heroku-session-affinity=ACyDaANoA24IAfSmLq////8HYgALropiAALodmEBbAAAAAFtAAAABXdlYi4xaj/bDLJXudUguPxB1QoXeYYvXPFI;
586
+ Version=1; Expires=Sun, 30-Oct-2016 18:26:18 GMT; Max-Age=86400; Domain=api.scaleapi.com;
557
587
  Path=/; HttpOnly
558
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
559
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
588
+ - scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
589
+ - scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
560
590
  X-Powered-By:
561
591
  - Express
562
592
  Access-Control-Allow-Origin:
563
- - "*"
593
+ - https://docs.scaleapi.com
564
594
  Access-Control-Allow-Methods:
565
595
  - GET,PUT,POST,DELETE
566
596
  Access-Control-Allow-Headers:
567
597
  - Content-Type
598
+ Access-Control-Allow-Credentials:
599
+ - 'true'
568
600
  Etag:
569
- - W/"62-7Rkh4lSqRHmEsijDGLdcoQ"
601
+ - W/"60-F2SZWzJSI2PY5Xb1B39Hhw"
570
602
  Vary:
571
603
  - Accept-Encoding
572
604
  Via:
@@ -578,19 +610,20 @@ http_interactions:
578
610
  Server:
579
611
  - cloudflare-nginx
580
612
  Cf-Ray:
581
- - 2e580e2cab835486-MAD
613
+ - 2f98accf5d9b0de1-MAD
582
614
  body:
583
615
  encoding: UTF-8
584
- string: '{"status_code":400,"message":"Please provide attachments for the worker
616
+ string: '{"status_code":400,"error":"Please provide attachments for the worker
585
617
  to compare for the task."}'
586
618
  http_version:
587
- recorded_at: Tue, 20 Sep 2016 20:33:54 GMT
619
+ recorded_at: Sat, 29 Oct 2016 18:26:18 GMT
588
620
  - request:
589
621
  method: post
590
622
  uri: https://api.scaleapi.com/v1/task/categorize
591
623
  body:
592
624
  encoding: UTF-8
593
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Is+this+company+public+or+private%3F&attachment_type=website&attachment=http%3A%2F%2Fwww.google.com%2F&categories[]=public&categories[]=private&allow_multiple=false
625
+ string: '{"callback_url":"http://www.example.com/callback","instruction":"Is
626
+ this company public or private?","attachment_type":"website","attachment":"http://www.google.com/","categories":["public","private"],"allow_multiple":false}'
594
627
  headers:
595
628
  Accept:
596
629
  - application/json
@@ -599,9 +632,9 @@ http_interactions:
599
632
  User-Agent:
600
633
  - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
601
634
  Content-Type:
602
- - application/x-www-form-urlencoded
635
+ - application/json
603
636
  Content-Length:
604
- - '229'
637
+ - '224'
605
638
  Host:
606
639
  - api.scaleapi.com
607
640
  Authorization:
@@ -612,7 +645,7 @@ http_interactions:
612
645
  message: OK
613
646
  headers:
614
647
  Date:
615
- - Tue, 20 Sep 2016 20:33:58 GMT
648
+ - Sat, 29 Oct 2016 18:26:18 GMT
616
649
  Content-Type:
617
650
  - application/json; charset=utf-8
618
651
  Transfer-Encoding:
@@ -620,23 +653,25 @@ http_interactions:
620
653
  Connection:
621
654
  - keep-alive
622
655
  Set-Cookie:
623
- - __cfduid=df9390c895cc9c5676837e8e9d2f2ade81474403638; expires=Wed, 20-Sep-17
624
- 20:33:58 GMT; path=/; domain=.scaleapi.com; HttpOnly
625
- - heroku-session-affinity=ACyDaANoA24IAZSN8dX///8HYgAGKLZiAAUBsWEBbAAAAAFtAAAABXdlYi4xaqqt+yIuhJh+sdoHTha9gP6gkSt8;
626
- Version=1; Expires=Wed, 21-Sep-2016 20:33:58 GMT; Max-Age=86400; Domain=api.scaleapi.com;
656
+ - __cfduid=d2c2d7541578ad7d494a8eb35744b64d61477765578; expires=Sun, 29-Oct-17
657
+ 18:26:18 GMT; path=/; domain=.scaleapi.com; HttpOnly
658
+ - heroku-session-affinity=ACyDaANoA24IAdmEUa////8HYgALropiAAz0YWEBbAAAAAFtAAAABXdlYi4xalDajMA0dw8fH5JarF4LT9Qr4+WG;
659
+ Version=1; Expires=Sun, 30-Oct-2016 18:26:18 GMT; Max-Age=86400; Domain=api.scaleapi.com;
627
660
  Path=/; HttpOnly
628
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
629
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
661
+ - scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
662
+ - scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
630
663
  X-Powered-By:
631
664
  - Express
632
665
  Access-Control-Allow-Origin:
633
- - "*"
666
+ - https://docs.scaleapi.com
634
667
  Access-Control-Allow-Methods:
635
668
  - GET,PUT,POST,DELETE
636
669
  Access-Control-Allow-Headers:
637
670
  - Content-Type
671
+ Access-Control-Allow-Credentials:
672
+ - 'true'
638
673
  Etag:
639
- - W/"182-7rfGqv70s8pufS+gO1e4WA"
674
+ - W/"190-MbWzHs9kQpxO0FOW93G4ew"
640
675
  Vary:
641
676
  - Accept-Encoding
642
677
  Via:
@@ -648,28 +683,28 @@ http_interactions:
648
683
  Server:
649
684
  - cloudflare-nginx
650
685
  Cf-Ray:
651
- - 2e580e319b753c6b-CDG
686
+ - 2f98acd18cf70db7-MAD
652
687
  Content-Encoding:
653
688
  - gzip
654
689
  body:
655
690
  encoding: ASCII-8BIT
656
691
  string: !binary |-
657
- H4sIAAAAAAAAAzTKsW7CMBAG4Fex/tkkIREIbuncvVMXdDinYOHYln1umvLy
658
- lSr1m78XXBFWmW+sIIzD8XwYrodx+BgHmiY6XbrpePmEheMQ7uyet1YCCA/V
659
- TH2/bVsn37zmIJ1La/+/YKF7FhAcqyyp+B9WnyIsqrK2CkKWOPu4wMLHqqW5
660
- v0B4r0YfvhqX1sxxN7ndg3cmFZOL/2KVN1i0skh0Owgz77DIXHitoBd+AQAA
661
- //9MkEEOwiAURO8yaxY1WCtcxRhC4bcSqRj/b7rq3Q2hi+5nJu+Nz7lsblmz
662
- pG8m2MlnpsrfOIhhH2ibtdcm8VTwIj68FvrUJ05+cynzoYdzyh2GG42chLAr
663
- JHZCLLDyW0lBPL9dirDoB7qYqG/G9NfY63vXhYGmoLH/AQAA//8DAGCWYbiC
664
- AQAA
692
+ H4sIAAAAAAAAA1SPwU7DMBAFfyV6Z7dNAm1TXzhz5wRC0cbZJlad2LI3hFD1
693
+ 3xG0ILjPG705w0Qm4bYmgUaZF7tVka/Kw1NR6XKni2pdbatnKBhyriFzqqfo
694
+ oNGLBL3ZzPO85ncaguO18cPmh4KCLIGhYUi489F+kFg/QiEJyZSgEXhs7dhB
695
+ wY5J4mS+AY3HlElvU2b8EGhcsjA1zprMxyxE+0bCD1CYYsejWaDR0gKFQJGG
696
+ BH0GOefnepic2OAY+kgusfr9wQn6BVfn1+6qxKsCiZDpBx7lf1/nfXfLw1+q
697
+ vhXO3CQrjIuCTbVwEmiJEysIpVNtW2hsq+KeD4aaY7tv7vJdnh+53OcNFAYW
698
+ akkI+ny5fAIAAP//AwBqB1VukAEAAA==
665
699
  http_version:
666
- recorded_at: Tue, 20 Sep 2016 20:33:55 GMT
700
+ recorded_at: Sat, 29 Oct 2016 18:26:19 GMT
667
701
  - request:
668
702
  method: post
669
703
  uri: https://api.scaleapi.com/v1/task/categorize
670
704
  body:
671
705
  encoding: UTF-8
672
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction
706
+ string: '{"callback_url":"http://www.example.com/callback","instruction":"Test
707
+ instruction"}'
673
708
  headers:
674
709
  Accept:
675
710
  - application/json
@@ -678,9 +713,9 @@ http_interactions:
678
713
  User-Agent:
679
714
  - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
680
715
  Content-Type:
681
- - application/x-www-form-urlencoded
716
+ - application/json
682
717
  Content-Length:
683
- - '81'
718
+ - '83'
684
719
  Host:
685
720
  - api.scaleapi.com
686
721
  Authorization:
@@ -691,31 +726,33 @@ http_interactions:
691
726
  message: Bad Request
692
727
  headers:
693
728
  Date:
694
- - Tue, 20 Sep 2016 20:33:59 GMT
729
+ - Sat, 29 Oct 2016 18:26:19 GMT
695
730
  Content-Type:
696
731
  - application/json; charset=utf-8
697
732
  Content-Length:
698
- - '83'
733
+ - '81'
699
734
  Connection:
700
735
  - keep-alive
701
736
  Set-Cookie:
702
- - __cfduid=dea75509992f47f89dadaac598c9918281474403638; expires=Wed, 20-Sep-17
703
- 20:33:58 GMT; path=/; domain=.scaleapi.com; HttpOnly
704
- - heroku-session-affinity=ACyDaANoA24IAZPSNdT///8HYgAGKLdiAACRUmEBbAAAAAFtAAAABXdlYi4xahyLlE9YoQ3WApdZqxVOAQJr4MXP;
705
- Version=1; Expires=Wed, 21-Sep-2016 20:33:59 GMT; Max-Age=86400; Domain=api.scaleapi.com;
737
+ - __cfduid=d957bfad2025596e4aded40d943348bdf1477765579; expires=Sun, 29-Oct-17
738
+ 18:26:19 GMT; path=/; domain=.scaleapi.com; HttpOnly
739
+ - heroku-session-affinity=ACyDaANoA24IARnkk67///8HYgALrotiAAOaCmEBbAAAAAFtAAAABXdlYi4xaitCEkxYd0oR2wS/r+nFGRNG+GKx;
740
+ Version=1; Expires=Sun, 30-Oct-2016 18:26:19 GMT; Max-Age=86400; Domain=api.scaleapi.com;
706
741
  Path=/; HttpOnly
707
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
708
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
742
+ - scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
743
+ - scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
709
744
  X-Powered-By:
710
745
  - Express
711
746
  Access-Control-Allow-Origin:
712
- - "*"
747
+ - https://docs.scaleapi.com
713
748
  Access-Control-Allow-Methods:
714
749
  - GET,PUT,POST,DELETE
715
750
  Access-Control-Allow-Headers:
716
751
  - Content-Type
752
+ Access-Control-Allow-Credentials:
753
+ - 'true'
717
754
  Etag:
718
- - W/"53-khmMBM4jK5ggWU2Rp5DM/g"
755
+ - W/"51-mD9g78yI4aIq5q67WrSipA"
719
756
  Vary:
720
757
  - Accept-Encoding
721
758
  Via:
@@ -727,19 +764,20 @@ http_interactions:
727
764
  Server:
728
765
  - cloudflare-nginx
729
766
  Cf-Ray:
730
- - 2e580e35cbb714c7-CDG
767
+ - 2f98acd5cba95474-MAD
731
768
  body:
732
769
  encoding: UTF-8
733
- string: '{"status_code":400,"message":"Please provide an attachment as a URL
734
- or plaintext."}'
770
+ string: '{"status_code":400,"error":"Please provide an attachment as a URL or
771
+ plaintext."}'
735
772
  http_version:
736
- recorded_at: Tue, 20 Sep 2016 20:33:56 GMT
773
+ recorded_at: Sat, 29 Oct 2016 18:26:19 GMT
737
774
  - request:
738
775
  method: post
739
776
  uri: https://api.scaleapi.com/v1/task/categorize
740
777
  body:
741
778
  encoding: UTF-8
742
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction
779
+ string: '{"callback_url":"http://www.example.com/callback","instruction":"Test
780
+ instruction"}'
743
781
  headers:
744
782
  Accept:
745
783
  - application/json
@@ -748,9 +786,9 @@ http_interactions:
748
786
  User-Agent:
749
787
  - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
750
788
  Content-Type:
751
- - application/x-www-form-urlencoded
789
+ - application/json
752
790
  Content-Length:
753
- - '81'
791
+ - '83'
754
792
  Host:
755
793
  - api.scaleapi.com
756
794
  Authorization:
@@ -761,31 +799,33 @@ http_interactions:
761
799
  message: Bad Request
762
800
  headers:
763
801
  Date:
764
- - Tue, 20 Sep 2016 20:34:00 GMT
802
+ - Sat, 29 Oct 2016 18:26:19 GMT
765
803
  Content-Type:
766
804
  - application/json; charset=utf-8
767
805
  Content-Length:
768
- - '83'
806
+ - '81'
769
807
  Connection:
770
808
  - keep-alive
771
809
  Set-Cookie:
772
- - __cfduid=d6fdbce59f6495a1eba6fad95d45be71a1474403639; expires=Wed, 20-Sep-17
773
- 20:33:59 GMT; path=/; domain=.scaleapi.com; HttpOnly
774
- - heroku-session-affinity=ACyDaANoA24IAdEwidT///8HYgAGKLhiAA1S+2EBbAAAAAFtAAAABXdlYi4xakoFKdhF4wfNDVvW4QSVZTFjXBlZ;
775
- Version=1; Expires=Wed, 21-Sep-2016 20:34:00 GMT; Max-Age=86400; Domain=api.scaleapi.com;
810
+ - __cfduid=d4ab67c119d7bdf252ff9eb8bcddcce631477765579; expires=Sun, 29-Oct-17
811
+ 18:26:19 GMT; path=/; domain=.scaleapi.com; HttpOnly
812
+ - heroku-session-affinity=ACyDaANoA24IARvsna7///8HYgALrotiAA12cGEBbAAAAAFtAAAABXdlYi4xatmqP8QC0RQVelcskjt3vlmdYFqP;
813
+ Version=1; Expires=Sun, 30-Oct-2016 18:26:19 GMT; Max-Age=86400; Domain=api.scaleapi.com;
776
814
  Path=/; HttpOnly
777
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
778
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
815
+ - scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
816
+ - scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
779
817
  X-Powered-By:
780
818
  - Express
781
819
  Access-Control-Allow-Origin:
782
- - "*"
820
+ - https://docs.scaleapi.com
783
821
  Access-Control-Allow-Methods:
784
822
  - GET,PUT,POST,DELETE
785
823
  Access-Control-Allow-Headers:
786
824
  - Content-Type
825
+ Access-Control-Allow-Credentials:
826
+ - 'true'
787
827
  Etag:
788
- - W/"53-khmMBM4jK5ggWU2Rp5DM/g"
828
+ - W/"51-mD9g78yI4aIq5q67WrSipA"
789
829
  Vary:
790
830
  - Accept-Encoding
791
831
  Via:
@@ -797,19 +837,21 @@ http_interactions:
797
837
  Server:
798
838
  - cloudflare-nginx
799
839
  Cf-Ray:
800
- - 2e580e3b1f153c41-CDG
840
+ - 2f98acd7c9fb54b6-MAD
801
841
  body:
802
842
  encoding: UTF-8
803
- string: '{"status_code":400,"message":"Please provide an attachment as a URL
804
- or plaintext."}'
843
+ string: '{"status_code":400,"error":"Please provide an attachment as a URL or
844
+ plaintext."}'
805
845
  http_version:
806
- recorded_at: Tue, 20 Sep 2016 20:33:57 GMT
846
+ recorded_at: Sat, 29 Oct 2016 18:26:20 GMT
807
847
  - request:
808
848
  method: post
809
- uri: https://api.scaleapi.com/v1/task/phonecall
849
+ uri: https://api.scaleapi.com/v1/task/datacollection
810
850
  body:
811
851
  encoding: UTF-8
812
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction&phone_number=5055006865
852
+ string: '{"callback_url":"http://www.example.com/callback","instruction":"Find
853
+ the URL for the hiring page for the company with attached website.","attachment_type":"website","attachment":"https://www.scaleapi.com/","fields":{"hiring_page":"Hiring
854
+ Page URL"}}'
813
855
  headers:
814
856
  Accept:
815
857
  - application/json
@@ -818,44 +860,46 @@ http_interactions:
818
860
  User-Agent:
819
861
  - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
820
862
  Content-Type:
821
- - application/x-www-form-urlencoded
863
+ - application/json
822
864
  Content-Length:
823
- - '105'
865
+ - '250'
824
866
  Host:
825
867
  - api.scaleapi.com
826
868
  Authorization:
827
869
  - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
828
870
  response:
829
871
  status:
830
- code: 400
831
- message: Bad Request
872
+ code: 200
873
+ message: OK
832
874
  headers:
833
875
  Date:
834
- - Tue, 20 Sep 2016 20:34:01 GMT
876
+ - Sat, 29 Oct 2016 18:26:20 GMT
835
877
  Content-Type:
836
878
  - application/json; charset=utf-8
837
- Content-Length:
838
- - '139'
879
+ Transfer-Encoding:
880
+ - chunked
839
881
  Connection:
840
882
  - keep-alive
841
883
  Set-Cookie:
842
- - __cfduid=d631b24c6d307983b11ef716aa9f6ab591474403641; expires=Wed, 20-Sep-17
843
- 20:34:01 GMT; path=/; domain=.scaleapi.com; HttpOnly
844
- - heroku-session-affinity=ACyDaANoA24IATbwaNX///8HYgAGKLliAAojumEBbAAAAAFtAAAABXdlYi4xanU7phq0Sa+s89lA1M1JwgqTjQJm;
845
- Version=1; Expires=Wed, 21-Sep-2016 20:34:01 GMT; Max-Age=86400; Domain=api.scaleapi.com;
884
+ - __cfduid=d322b931c154015acfe5d906f530217341477765580; expires=Sun, 29-Oct-17
885
+ 18:26:20 GMT; path=/; domain=.scaleapi.com; HttpOnly
886
+ - heroku-session-affinity=ACyDaANoA24IAX60Sqv///8HYgALroxiAASyrGEBbAAAAAFtAAAABXdlYi4xalUYozzgRrf+/xItaKD6bYjmW21L;
887
+ Version=1; Expires=Sun, 30-Oct-2016 18:26:20 GMT; Max-Age=86400; Domain=api.scaleapi.com;
846
888
  Path=/; HttpOnly
847
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
848
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
889
+ - scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
890
+ - scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
849
891
  X-Powered-By:
850
892
  - Express
851
893
  Access-Control-Allow-Origin:
852
- - "*"
894
+ - https://docs.scaleapi.com
853
895
  Access-Control-Allow-Methods:
854
896
  - GET,PUT,POST,DELETE
855
897
  Access-Control-Allow-Headers:
856
898
  - Content-Type
899
+ Access-Control-Allow-Credentials:
900
+ - 'true'
857
901
  Etag:
858
- - W/"8b-zQ6NnbRJTI0Jh3djmaV6PA"
902
+ - W/"1aa-LU3RLfGR7FwmqM6TAzYtIQ"
859
903
  Vary:
860
904
  - Accept-Encoding
861
905
  Via:
@@ -867,19 +911,28 @@ http_interactions:
867
911
  Server:
868
912
  - cloudflare-nginx
869
913
  Cf-Ray:
870
- - 2e580e464b97151b-CDG
914
+ - 2f98acdc7db55474-MAD
915
+ Content-Encoding:
916
+ - gzip
871
917
  body:
872
- encoding: UTF-8
873
- string: '{"status_code":400,"message":"Please provide an entity name (name,
874
- business name, etc.) corresponding to the phone number for the worker."}'
918
+ encoding: ASCII-8BIT
919
+ string: !binary |-
920
+ H4sIAAAAAAAAA0yQsW6DQBBEfwVNfcZAEhzfB0QpXERW3KRBy7HAyXAgbhFB
921
+ lv89MpAo3Wg1mpm3N5iBSbjISKCRRHG6i6NdcvyMX3WS6iQKk2P6BQVDTZOT
922
+ uWbj0ECjFun1fj9NU8jf1PYNh6Zr978uKMjcMzQKEjJd07AR2zkoeCEZPTR6
923
+ doV1FRSs8zKMq0HjzboikJqDy/kUlN2w6NoO1lVBTxX/3UzX9uTmYLJSByRC
924
+ puYimDj3VjiEwjhU7My8rJih0NNArYe+obTcFItag7NHMDTe15qPR83lfMJd
925
+ YQ1u2cmG7Tdub6hh6u0Cjv/GbGPfpjxSrM+EvUDLMLKCkL9mtoDGy2v8zEdj
926
+ 8rI45E9RGkUlJ4fIQKFlocf7oG/3+w8AAAD//wMAhoiygKoBAAA=
875
927
  http_version:
876
- recorded_at: Tue, 20 Sep 2016 20:33:58 GMT
928
+ recorded_at: Sat, 29 Oct 2016 18:26:20 GMT
877
929
  - request:
878
930
  method: post
879
- uri: https://api.scaleapi.com/v1/task/phonecall
931
+ uri: https://api.scaleapi.com/v1/task/datacollection
880
932
  body:
881
933
  encoding: UTF-8
882
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction&phone_number=5055006865
934
+ string: '{"callback_url":"http://www.example.com/callback","instruction":"Test
935
+ instruction","fields":{"hiring_page":"Hiring Page URL"}}'
883
936
  headers:
884
937
  Accept:
885
938
  - application/json
@@ -888,9 +941,9 @@ http_interactions:
888
941
  User-Agent:
889
942
  - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
890
943
  Content-Type:
891
- - application/x-www-form-urlencoded
944
+ - application/json
892
945
  Content-Length:
893
- - '105'
946
+ - '126'
894
947
  Host:
895
948
  - api.scaleapi.com
896
949
  Authorization:
@@ -901,31 +954,33 @@ http_interactions:
901
954
  message: Bad Request
902
955
  headers:
903
956
  Date:
904
- - Tue, 20 Sep 2016 20:34:02 GMT
957
+ - Sat, 29 Oct 2016 18:26:20 GMT
905
958
  Content-Type:
906
959
  - application/json; charset=utf-8
907
960
  Content-Length:
908
- - '139'
961
+ - '96'
909
962
  Connection:
910
963
  - keep-alive
911
964
  Set-Cookie:
912
- - __cfduid=d292e3839d340be28c28dcd91ed81695e1474403641; expires=Wed, 20-Sep-17
913
- 20:34:01 GMT; path=/; domain=.scaleapi.com; HttpOnly
914
- - heroku-session-affinity=ACyDaANoA24IAZSqhtX///8HYgAGKLpiAAVowGEBbAAAAAFtAAAABXdlYi4xar54AB4YQDHgssd1h+5atSirXfRT;
915
- Version=1; Expires=Wed, 21-Sep-2016 20:34:02 GMT; Max-Age=86400; Domain=api.scaleapi.com;
965
+ - __cfduid=d489ca97e33e2396cae8167da69b121261477765580; expires=Sun, 29-Oct-17
966
+ 18:26:20 GMT; path=/; domain=.scaleapi.com; HttpOnly
967
+ - heroku-session-affinity=ACyDaANoA24IAdCfS6////8HYgALroxiAAnjF2EBbAAAAAFtAAAABXdlYi4xaoqT3JDpUqoPfuB+2T863k6lQ1zl;
968
+ Version=1; Expires=Sun, 30-Oct-2016 18:26:20 GMT; Max-Age=86400; Domain=api.scaleapi.com;
916
969
  Path=/; HttpOnly
917
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
918
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
970
+ - scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
971
+ - scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
919
972
  X-Powered-By:
920
973
  - Express
921
974
  Access-Control-Allow-Origin:
922
- - "*"
975
+ - https://docs.scaleapi.com
923
976
  Access-Control-Allow-Methods:
924
977
  - GET,PUT,POST,DELETE
925
978
  Access-Control-Allow-Headers:
926
979
  - Content-Type
980
+ Access-Control-Allow-Credentials:
981
+ - 'true'
927
982
  Etag:
928
- - W/"8b-zQ6NnbRJTI0Jh3djmaV6PA"
983
+ - W/"60-Bceg3ZwfPsxoZuGdEZAUVQ"
929
984
  Vary:
930
985
  - Accept-Encoding
931
986
  Via:
@@ -937,19 +992,20 @@ http_interactions:
937
992
  Server:
938
993
  - cloudflare-nginx
939
994
  Cf-Ray:
940
- - 2e580e4a3f962f89-MAD
995
+ - 2f98acdeac8c0ded-MAD
941
996
  body:
942
997
  encoding: UTF-8
943
- string: '{"status_code":400,"message":"Please provide an entity name (name,
944
- business name, etc.) corresponding to the phone number for the worker."}'
998
+ string: '{"status_code":400,"error":"Invalid attachment_type - please choose
999
+ one of these: text website"}'
945
1000
  http_version:
946
- recorded_at: Tue, 20 Sep 2016 20:33:59 GMT
1001
+ recorded_at: Sat, 29 Oct 2016 18:26:20 GMT
947
1002
  - request:
948
1003
  method: post
949
- uri: https://api.scaleapi.com/v1/task/transcription
1004
+ uri: https://api.scaleapi.com/v1/task/datacollection
950
1005
  body:
951
1006
  encoding: UTF-8
952
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Transcribe+the+given+fields.+Then+for+each+news+item+on+the+page%2C+transcribe+the+information+for+the+row.&attachment_type=website&attachment=http%3A%2F%2Fwww.google.com%2F&fields[title]=Title+of+Webpage&fields[top_result]=Title+of+the+top+result&row_fields[username]=Username+of+submitter&row_fields[comment_count]=Number+of+comments
1007
+ string: '{"callback_url":"http://www.example.com/callback","instruction":"Test
1008
+ instruction","fields":{"hiring_page":"Hiring Page URL"}}'
953
1009
  headers:
954
1010
  Accept:
955
1011
  - application/json
@@ -958,89 +1014,9 @@ http_interactions:
958
1014
  User-Agent:
959
1015
  - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
960
1016
  Content-Type:
961
- - application/x-www-form-urlencoded
962
- Content-Length:
963
- - '400'
964
- Host:
965
- - api.scaleapi.com
966
- Authorization:
967
- - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
968
- response:
969
- status:
970
- code: 200
971
- message: OK
972
- headers:
973
- Date:
974
- - Tue, 20 Sep 2016 20:34:03 GMT
975
- Content-Type:
976
- - application/json; charset=utf-8
977
- Transfer-Encoding:
978
- - chunked
979
- Connection:
980
- - keep-alive
981
- Set-Cookie:
982
- - __cfduid=d49468a562bcb198eb10ea912a30d4cb71474403642; expires=Wed, 20-Sep-17
983
- 20:34:02 GMT; path=/; domain=.scaleapi.com; HttpOnly
984
- - heroku-session-affinity=ACyDaANoA24IAfCdPNb///8HYgAGKLtiAADDWGEBbAAAAAFtAAAABXdlYi4xaqqWnESqUeMQzlCQpOtrJquXVQn2;
985
- Version=1; Expires=Wed, 21-Sep-2016 20:34:03 GMT; Max-Age=86400; Domain=api.scaleapi.com;
986
- Path=/; HttpOnly
987
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
988
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
989
- X-Powered-By:
990
- - Express
991
- Access-Control-Allow-Origin:
992
- - "*"
993
- Access-Control-Allow-Methods:
994
- - GET,PUT,POST,DELETE
995
- Access-Control-Allow-Headers:
996
- - Content-Type
997
- Etag:
998
- - W/"233-Fqr7mJZxrb6NsbSbLRglKw"
999
- Vary:
1000
- - Accept-Encoding
1001
- Via:
1002
- - 1.1 vegur
1003
- Strict-Transport-Security:
1004
- - max-age=2592000; includeSubDomains; preload
1005
- X-Content-Type-Options:
1006
- - nosniff
1007
- Server:
1008
- - cloudflare-nginx
1009
- Cf-Ray:
1010
- - 2e580e4ebc2a548c-MAD
1011
- Content-Encoding:
1012
- - gzip
1013
- body:
1014
- encoding: ASCII-8BIT
1015
- string: !binary |-
1016
- H4sIAAAAAAAAA1SR207kMAyGXyX6r0OnzAGYPARXg1bipkpTTxvRHJQ4W0aI
1017
- d1+lWwTcxfHnz3H8AZNIMw2dZijs2/uHu/Z8t28v+1Ydjqo9NO1p/woJo+e5
1018
- 1+atK2mGwsQc1W63LEtD79rFmRoT3O6LggTfIkGBk/bZJBvZBg+JzJpLhkIk
1019
- P1g/QsL6zKmYFVC4bAU9CZ5IjPYveXG1NA+5EZepBiEJ0mYSnpYsLJMTwa9w
1020
- 1CNJwb8N1l9Dcrrq19J6l8LSQKKkkby5QWHQN0hEnbTLUB9IYen+N62RCc6R
1021
- 586E4us/PRfXUxLhKrZMrrJMyWtXh37ZjpXIpXeWmRI+Jb6VHGKXKJe5+i6W
1022
- 5xWub+MQxZaR4Jr5Sfyhvk5ZZZpZm6m2/72QMYRx2wd+Ut22koX6bHlV2Nwx
1023
- ZYbiVEiCdX7r7ACF0yPdn4dDfz6fjsPp8NS25pGu5ojPfwAAAP//AwD9KRL9
1024
- MwIAAA==
1025
- http_version:
1026
- recorded_at: Tue, 20 Sep 2016 20:34:00 GMT
1027
- - request:
1028
- method: post
1029
- uri: https://api.scaleapi.com/v1/task/transcription
1030
- body:
1031
- encoding: UTF-8
1032
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction&attachment_type=website
1033
- headers:
1034
- Accept:
1035
1017
  - application/json
1036
- Accept-Encoding:
1037
- - gzip, deflate
1038
- User-Agent:
1039
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1040
- Content-Type:
1041
- - application/x-www-form-urlencoded
1042
1018
  Content-Length:
1043
- - '105'
1019
+ - '126'
1044
1020
  Host:
1045
1021
  - api.scaleapi.com
1046
1022
  Authorization:
@@ -1051,31 +1027,33 @@ http_interactions:
1051
1027
  message: Bad Request
1052
1028
  headers:
1053
1029
  Date:
1054
- - Tue, 20 Sep 2016 20:34:03 GMT
1030
+ - Sat, 29 Oct 2016 18:26:21 GMT
1055
1031
  Content-Type:
1056
1032
  - application/json; charset=utf-8
1057
1033
  Content-Length:
1058
- - '83'
1034
+ - '96'
1059
1035
  Connection:
1060
1036
  - keep-alive
1061
1037
  Set-Cookie:
1062
- - __cfduid=daf329f1405a59d79f4ae45114c03af6d1474403643; expires=Wed, 20-Sep-17
1063
- 20:34:03 GMT; path=/; domain=.scaleapi.com; HttpOnly
1064
- - heroku-session-affinity=ACyDaANoA24IAbDINdb///8HYgAGKLtiAAtXSGEBbAAAAAFtAAAABXdlYi4xahxhyuN+iSzsh+O+yN1g7y5ThTJh;
1065
- Version=1; Expires=Wed, 21-Sep-2016 20:34:03 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1038
+ - __cfduid=d76653060ef18555ff2ff61a6c2628ee51477765580; expires=Sun, 29-Oct-17
1039
+ 18:26:20 GMT; path=/; domain=.scaleapi.com; HttpOnly
1040
+ - heroku-session-affinity=ACyDaANoA24IAV4YB6z///8HYgALro1iAAQd2GEBbAAAAAFtAAAABXdlYi4xai0D+LQNgI8lIP0OklmYId7gG+1f;
1041
+ Version=1; Expires=Sun, 30-Oct-2016 18:26:21 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1066
1042
  Path=/; HttpOnly
1067
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
1068
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
1043
+ - scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
1044
+ - scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
1069
1045
  X-Powered-By:
1070
1046
  - Express
1071
1047
  Access-Control-Allow-Origin:
1072
- - "*"
1048
+ - https://docs.scaleapi.com
1073
1049
  Access-Control-Allow-Methods:
1074
1050
  - GET,PUT,POST,DELETE
1075
1051
  Access-Control-Allow-Headers:
1076
1052
  - Content-Type
1053
+ Access-Control-Allow-Credentials:
1054
+ - 'true'
1077
1055
  Etag:
1078
- - W/"53-khmMBM4jK5ggWU2Rp5DM/g"
1056
+ - W/"60-Bceg3ZwfPsxoZuGdEZAUVQ"
1079
1057
  Vary:
1080
1058
  - Accept-Encoding
1081
1059
  Via:
@@ -1087,19 +1065,20 @@ http_interactions:
1087
1065
  Server:
1088
1066
  - cloudflare-nginx
1089
1067
  Cf-Ray:
1090
- - 2e580e533b2a3c29-CDG
1068
+ - 2f98ace0aa6f2f8f-MAD
1091
1069
  body:
1092
1070
  encoding: UTF-8
1093
- string: '{"status_code":400,"message":"Please provide an attachment as a URL
1094
- or plaintext."}'
1071
+ string: '{"status_code":400,"error":"Invalid attachment_type - please choose
1072
+ one of these: text website"}'
1095
1073
  http_version:
1096
- recorded_at: Tue, 20 Sep 2016 20:34:00 GMT
1074
+ recorded_at: Sat, 29 Oct 2016 18:26:21 GMT
1097
1075
  - request:
1098
1076
  method: post
1099
- uri: https://api.scaleapi.com/v1/task/transcription
1077
+ uri: https://api.scaleapi.com/v1/task/phonecall
1100
1078
  body:
1101
1079
  encoding: UTF-8
1102
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction&attachment_type=website
1080
+ string: '{"callback_url":"http://www.example.com/callback","instruction":"Test
1081
+ instruction","phone_number":"5055006865"}'
1103
1082
  headers:
1104
1083
  Accept:
1105
1084
  - application/json
@@ -1108,9 +1087,9 @@ http_interactions:
1108
1087
  User-Agent:
1109
1088
  - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1110
1089
  Content-Type:
1111
- - application/x-www-form-urlencoded
1090
+ - application/json
1112
1091
  Content-Length:
1113
- - '105'
1092
+ - '111'
1114
1093
  Host:
1115
1094
  - api.scaleapi.com
1116
1095
  Authorization:
@@ -1121,31 +1100,33 @@ http_interactions:
1121
1100
  message: Bad Request
1122
1101
  headers:
1123
1102
  Date:
1124
- - Tue, 20 Sep 2016 20:34:04 GMT
1103
+ - Sat, 29 Oct 2016 18:26:21 GMT
1125
1104
  Content-Type:
1126
1105
  - application/json; charset=utf-8
1127
1106
  Content-Length:
1128
- - '83'
1107
+ - '137'
1129
1108
  Connection:
1130
1109
  - keep-alive
1131
1110
  Set-Cookie:
1132
- - __cfduid=d67d57506aecd7872ca5998dba74b4f451474403644; expires=Wed, 20-Sep-17
1133
- 20:34:04 GMT; path=/; domain=.scaleapi.com; HttpOnly
1134
- - heroku-session-affinity=ACyDaANoA24IAZEr59b///8HYgAGKLxiAAcdKWEBbAAAAAFtAAAABXdlYi4xahtd5KW0atQe1zM9QhgKyzxLT/+s;
1135
- Version=1; Expires=Wed, 21-Sep-2016 20:34:04 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1111
+ - __cfduid=d9ccdfaaa6b54eabf5e2c874a435c01081477765581; expires=Sun, 29-Oct-17
1112
+ 18:26:21 GMT; path=/; domain=.scaleapi.com; HttpOnly
1113
+ - heroku-session-affinity=ACyDaANoA24IAZDX/6////8HYgALro1iAAsTOmEBbAAAAAFtAAAABXdlYi4xak0fJLqjVTQ8aKnwUG4T1B5Fc4Cl;
1114
+ Version=1; Expires=Sun, 30-Oct-2016 18:26:21 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1136
1115
  Path=/; HttpOnly
1137
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
1138
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
1116
+ - scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
1117
+ - scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
1139
1118
  X-Powered-By:
1140
1119
  - Express
1141
1120
  Access-Control-Allow-Origin:
1142
- - "*"
1121
+ - https://docs.scaleapi.com
1143
1122
  Access-Control-Allow-Methods:
1144
1123
  - GET,PUT,POST,DELETE
1145
1124
  Access-Control-Allow-Headers:
1146
1125
  - Content-Type
1126
+ Access-Control-Allow-Credentials:
1127
+ - 'true'
1147
1128
  Etag:
1148
- - W/"53-khmMBM4jK5ggWU2Rp5DM/g"
1129
+ - W/"89-2TxzEglRZ3EK5fQocwrCXg"
1149
1130
  Vary:
1150
1131
  - Accept-Encoding
1151
1132
  Via:
@@ -1157,19 +1138,20 @@ http_interactions:
1157
1138
  Server:
1158
1139
  - cloudflare-nginx
1159
1140
  Cf-Ray:
1160
- - 2e580e57a8fb3c23-CDG
1141
+ - 2f98ace53caf54a4-MAD
1161
1142
  body:
1162
1143
  encoding: UTF-8
1163
- string: '{"status_code":400,"message":"Please provide an attachment as a URL
1164
- or plaintext."}'
1144
+ string: '{"status_code":400,"error":"Please provide an entity name (name, business
1145
+ name, etc.) corresponding to the phone number for the worker."}'
1165
1146
  http_version:
1166
- recorded_at: Tue, 20 Sep 2016 20:34:01 GMT
1147
+ recorded_at: Sat, 29 Oct 2016 18:26:21 GMT
1167
1148
  - request:
1168
- method: get
1169
- uri: https://api.scaleapi.com/v1/tasks
1149
+ method: post
1150
+ uri: https://api.scaleapi.com/v1/task/phonecall
1170
1151
  body:
1171
1152
  encoding: UTF-8
1172
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback
1153
+ string: '{"callback_url":"http://www.example.com/callback","instruction":"Test
1154
+ instruction","phone_number":"5055006865"}'
1173
1155
  headers:
1174
1156
  Accept:
1175
1157
  - application/json
@@ -1178,48 +1160,48 @@ http_interactions:
1178
1160
  User-Agent:
1179
1161
  - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1180
1162
  Content-Type:
1181
- - application/x-www-form-urlencoded
1163
+ - application/json
1182
1164
  Content-Length:
1183
- - '52'
1165
+ - '111'
1184
1166
  Host:
1185
1167
  - api.scaleapi.com
1186
1168
  Authorization:
1187
1169
  - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
1188
1170
  response:
1189
1171
  status:
1190
- code: 200
1191
- message: OK
1172
+ code: 400
1173
+ message: Bad Request
1192
1174
  headers:
1193
1175
  Date:
1194
- - Tue, 20 Sep 2016 20:34:07 GMT
1176
+ - Sat, 29 Oct 2016 18:26:22 GMT
1195
1177
  Content-Type:
1196
1178
  - application/json; charset=utf-8
1197
- Transfer-Encoding:
1198
- - chunked
1179
+ Content-Length:
1180
+ - '137'
1199
1181
  Connection:
1200
1182
  - keep-alive
1201
1183
  Set-Cookie:
1202
- - __cfduid=dbc486858179b67f1ccdcdc3e67084f801474403644; expires=Wed, 20-Sep-17
1203
- 20:34:04 GMT; path=/; domain=.scaleapi.com; HttpOnly
1204
- - heroku-session-affinity=ACyDaANoA24IAdmhetX///8HYgAGKL9iAAahP2EBbAAAAAFtAAAABXdlYi4xapKUHmUTf7tkggHZVN3z4Y4IPCcX;
1205
- Version=1; Expires=Wed, 21-Sep-2016 20:34:07 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1184
+ - __cfduid=da6b553d1e543d7dbb40b18f96085c0621477765581; expires=Sun, 29-Oct-17
1185
+ 18:26:21 GMT; path=/; domain=.scaleapi.com; HttpOnly
1186
+ - heroku-session-affinity=ACyDaANoA24IAVQNOrD///8HYgALro5iAAYp2GEBbAAAAAFtAAAABXdlYi4xatwjq369h4IT8luZHvd61ay38YXg;
1187
+ Version=1; Expires=Sun, 30-Oct-2016 18:26:22 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1206
1188
  Path=/; HttpOnly
1207
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
1208
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
1189
+ - scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
1190
+ - scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
1209
1191
  X-Powered-By:
1210
1192
  - Express
1211
1193
  Access-Control-Allow-Origin:
1212
- - "*"
1194
+ - https://docs.scaleapi.com
1213
1195
  Access-Control-Allow-Methods:
1214
1196
  - GET,PUT,POST,DELETE
1215
1197
  Access-Control-Allow-Headers:
1216
1198
  - Content-Type
1199
+ Access-Control-Allow-Credentials:
1200
+ - 'true'
1217
1201
  Etag:
1218
- - W/"6528-AivOj4wsKaHyWANB9gVelA"
1202
+ - W/"89-2TxzEglRZ3EK5fQocwrCXg"
1219
1203
  Vary:
1220
1204
  - Accept-Encoding
1221
- Content-Encoding:
1222
- - gzip
1223
1205
  Via:
1224
1206
  - 1.1 vegur
1225
1207
  Strict-Transport-Security:
@@ -1229,139 +1211,23 @@ http_interactions:
1229
1211
  Server:
1230
1212
  - cloudflare-nginx
1231
1213
  Cf-Ray:
1232
- - 2e580e5c5e7c3bdb-CDG
1233
- body:
1234
- encoding: ASCII-8BIT
1235
- string: !binary |-
1236
- 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
- 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
- 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
- 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
- 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
- +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
- 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
- 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
- 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
- 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
- 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
- 7hoMWUYPjofDAYnPXD4Vgoe7P7WqscxTHmd+Gu0mQFnd4gktXwttFX0SsRZG
1248
- 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
- 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
- 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
- 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
- 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
- 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
- +DgIO7M8pEK4rVCCp1WHYxGmpt5COBxCmEGhQxEzHIXwdRCuFNoNKVdBmPm0
1255
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- JSdC3OLEGKuHbJFSNdd5PauXCtVvsN5XIExbCOv9COsuteXkq81mITzX6r9O
1264
- +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
- TUkOSsOQDoSEQnADI1PXlflfw/zPCp1am43M3AFiuwXxgIcvJSJIt2flda9q
1266
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- Zz4pz6y131mjq/PMOFnuIv/xrzLNeqBrZJt22MoqrJ4dwLX4JrLpLPegivwX
1281
- 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
- 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
- 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
- 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
- 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
- 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
- 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
1288
- J695dTk52I/Xsh8DbvsTMr/LLyhlAAA=
1289
- http_version:
1290
- recorded_at: Tue, 20 Sep 2016 20:34:04 GMT
1291
- - request:
1292
- method: get
1293
- uri: https://api.scaleapi.com/v1/task/abcdefghijklmn0123456789
1294
- body:
1295
- encoding: UTF-8
1296
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback
1297
- headers:
1298
- Accept:
1299
- - application/json
1300
- Accept-Encoding:
1301
- - gzip, deflate
1302
- User-Agent:
1303
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1304
- Content-Type:
1305
- - application/x-www-form-urlencoded
1306
- Content-Length:
1307
- - '52'
1308
- Host:
1309
- - api.scaleapi.com
1310
- Authorization:
1311
- - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
1312
- response:
1313
- status:
1314
- code: 503
1315
- message: Service Unavailable
1316
- headers:
1317
- Date:
1318
- - Tue, 20 Sep 2016 20:34:08 GMT
1319
- Content-Type:
1320
- - text/html; charset=utf-8
1321
- Transfer-Encoding:
1322
- - chunked
1323
- Connection:
1324
- - keep-alive
1325
- Set-Cookie:
1326
- - __cfduid=d3765b0ddae98397ffe7095fef00835641474403647; expires=Wed, 20-Sep-17
1327
- 20:34:07 GMT; path=/; domain=.scaleapi.com; HttpOnly
1328
- Cache-Control:
1329
- - no-cache, no-store
1330
- Strict-Transport-Security:
1331
- - max-age=2592000; includeSubDomains; preload
1332
- X-Content-Type-Options:
1333
- - nosniff
1334
- Server:
1335
- - cloudflare-nginx
1336
- Cf-Ray:
1337
- - 2e580e6f7cc53c23-CDG
1214
+ - 2f98ace74ca22f8f-MAD
1338
1215
  body:
1339
1216
  encoding: UTF-8
1340
- string: |-
1341
- <!DOCTYPE html>
1342
- <html>
1343
- <head>
1344
- <meta name="viewport" content="width=device-width, initial-scale=1">
1345
- <style type="text/css">
1346
- html, body, iframe { margin: 0; padding: 0; height: 100%; }
1347
- iframe { display: block; width: 100%; border: none; }
1348
- </style>
1349
- <title>Application Error</title>
1350
- </head>
1351
- <body>
1352
- <iframe src="//s3.amazonaws.com/heroku_pages/error.html">
1353
- <p>Application Error</p>
1354
- </iframe>
1355
- </body>
1356
- </html>
1217
+ string: '{"status_code":400,"error":"Please provide an entity name (name, business
1218
+ name, etc.) corresponding to the phone number for the worker."}'
1357
1219
  http_version:
1358
- recorded_at: Tue, 20 Sep 2016 20:34:05 GMT
1220
+ recorded_at: Sat, 29 Oct 2016 18:26:22 GMT
1359
1221
  - request:
1360
- method: get
1361
- uri: https://api.scaleapi.com/v1/task/57e19d2d9954d53800c7efbf
1222
+ method: post
1223
+ uri: https://api.scaleapi.com/v1/task/transcription
1362
1224
  body:
1363
1225
  encoding: UTF-8
1364
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback
1226
+ string: '{"callback_url":"http://www.example.com/callback","instruction":"Transcribe
1227
+ the given fields. Then for each news item on the page, transcribe the information
1228
+ for the row.","attachment_type":"website","attachment":"http://www.google.com/","fields":{"title":"Title
1229
+ of Webpage","top_result":"Title of the top result"},"row_fields":{"username":"Username
1230
+ of submitter","comment_count":"Number of comments"}}'
1365
1231
  headers:
1366
1232
  Accept:
1367
1233
  - application/json
@@ -1370,9 +1236,9 @@ http_interactions:
1370
1236
  User-Agent:
1371
1237
  - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1372
1238
  Content-Type:
1373
- - application/x-www-form-urlencoded
1239
+ - application/json
1374
1240
  Content-Length:
1375
- - '52'
1241
+ - '402'
1376
1242
  Host:
1377
1243
  - api.scaleapi.com
1378
1244
  Authorization:
@@ -1383,7 +1249,7 @@ http_interactions:
1383
1249
  message: OK
1384
1250
  headers:
1385
1251
  Date:
1386
- - Tue, 20 Sep 2016 20:34:14 GMT
1252
+ - Sat, 29 Oct 2016 18:26:23 GMT
1387
1253
  Content-Type:
1388
1254
  - application/json; charset=utf-8
1389
1255
  Transfer-Encoding:
@@ -1391,23 +1257,25 @@ http_interactions:
1391
1257
  Connection:
1392
1258
  - keep-alive
1393
1259
  Set-Cookie:
1394
- - __cfduid=d3d6dc07d9de69d3081d973fd418c7b481474403648; expires=Wed, 20-Sep-17
1395
- 20:34:08 GMT; path=/; domain=.scaleapi.com; HttpOnly
1396
- - heroku-session-affinity=ACyDaANoA24IAXPwTtX///8HYgAGKMBiAAqBAGEBbAAAAAFtAAAABXdlYi4xaj2Kfu/lyMaQem0ez1YqeFQOijAE;
1397
- Version=1; Expires=Wed, 21-Sep-2016 20:34:14 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1260
+ - __cfduid=d7a5e5d9ce3556bdba7fa3fc7f2073b911477765582; expires=Sun, 29-Oct-17
1261
+ 18:26:22 GMT; path=/; domain=.scaleapi.com; HttpOnly
1262
+ - heroku-session-affinity=ACyDaANoA24IAdJr+K////8HYgALro9iAAGrRmEBbAAAAAFtAAAABXdlYi4xanVXGQE5c2XsjFVXawFWp6vSCJXL;
1263
+ Version=1; Expires=Sun, 30-Oct-2016 18:26:23 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1398
1264
  Path=/; HttpOnly
1399
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
1400
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
1265
+ - scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
1266
+ - scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
1401
1267
  X-Powered-By:
1402
1268
  - Express
1403
1269
  Access-Control-Allow-Origin:
1404
- - "*"
1270
+ - https://docs.scaleapi.com
1405
1271
  Access-Control-Allow-Methods:
1406
1272
  - GET,PUT,POST,DELETE
1407
1273
  Access-Control-Allow-Headers:
1408
1274
  - Content-Type
1275
+ Access-Control-Allow-Credentials:
1276
+ - 'true'
1409
1277
  Etag:
1410
- - W/"23c-HmrGlWuw4egiiCF/KDw2WA"
1278
+ - W/"241-NVsL5Fe8EKFBO7XX5wRTnQ"
1411
1279
  Vary:
1412
1280
  - Accept-Encoding
1413
1281
  Via:
@@ -1419,29 +1287,30 @@ http_interactions:
1419
1287
  Server:
1420
1288
  - cloudflare-nginx
1421
1289
  Cf-Ray:
1422
- - 2e580e728efc3c6b-CDG
1290
+ - 2f98acebcc122f2f-MAD
1423
1291
  Content-Encoding:
1424
1292
  - gzip
1425
1293
  body:
1426
1294
  encoding: ASCII-8BIT
1427
1295
  string: !binary |-
1428
- H4sIAAAAAAAAA3yQQYvbMBSE/4qYSy9aR5usk1i3UAr9AYVCSzGK9LIWkSUh
1429
- PZM1S/57cTbppaXHN8yb+Zh32EKGyfWGobFWz9sn1T2t1be10puNfukatd3/
1430
- gIQ1IRyNPfdTCdAYmLNerS6XS0NvZsyBGpvG1cMFCZ4zQSMPKdIiQ6Ky4alC
1431
- w6blg8lBwsfKZbLsU4TGZxOC4MFXkanUFIWJTjCFIEYSi0yj8UEY5wrV2ohD
1432
- PQt/EgN9qmIwOc+CU2ogMZVXinaGhjMzJLIpZqzQ7x9EfZzGIxVotKptldru
1433
- ty0kKLLnuY9mXNgPgd5MdEV8N/EVEidPwd0ybhTQ+HKjOXzQ4Cphh+QtVeif
1434
- +ErC36Eg71dMfFd+LebHDP9Zf7dd1i9Uc4qVlu40sU03vpj67O15yngUQ/9V
1435
- 9C9spsriT+b1KuFrv4jQXCaSYFPPvXfLPDt67tzadV374trNXim7o9PxhOtv
1436
- AAAA//8DAB+pxlo8AgAA
1296
+ H4sIAAAAAAAAA1SRwW7bMAyGX0X4z2riuG3a6iF6yjCgF4OWaVuoJRkSPS8I
1297
+ 8u6DPA9rb6L48aMo3mATk3DXkMCgrk7nh1P1UL9dTq+mPpv68XCqnz+gYWma
1298
+ WrKfzZImGIwiszke13U98G/y88QHG/3xHwUNuc4MA0kUsk1uFhcDNLKQLBkG
1299
+ M4fOhQEaLmRJi90Ag8te0LKSkdXgfnFQveOpywd1GUsQk2Kyowq8ZuWEvYph
1300
+ g2caWCv5bnChj8lT0W+l5S7F9QCNJQ0c7BUGHV2hMVMin2FuSHFt/jYtkY3e
1301
+ c5DGxiWUf3pffMtJxV7tmVxkmVMgX4b+sR8LkZfWOxFOuGv8V0qcm8R5mYrv
1302
+ 4mTa4PI2ibPaMxpSMl+Jn9yWKYuMRMiOpf33hQwxDvs+8JVq9pWs3GYnm8Ll
1303
+ RjgLjKSFNYTyZ+M6GDy/np74zfZt3720j9W5qnquX6oOGp6FOhKCud3vfwAA
1304
+ AP//AwDaBU+PQQIAAA==
1437
1305
  http_version:
1438
- recorded_at: Tue, 20 Sep 2016 20:34:11 GMT
1306
+ recorded_at: Sat, 29 Oct 2016 18:26:23 GMT
1439
1307
  - request:
1440
1308
  method: post
1441
- uri: https://api.scaleapi.com/v1/task/phonecall
1309
+ uri: https://api.scaleapi.com/v1/task/transcription
1442
1310
  body:
1443
1311
  encoding: UTF-8
1444
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Call+this+person+and+tell+me+his+email+address.+Ask+if+he%27s+happy+too.&phone_number=5055006865&entity_name=Alexandr+Wang&fields[email]=Email+Address&choices[]=He+is+happy&choices[]=He+is+not+happy
1312
+ string: '{"callback_url":"http://www.example.com/callback","instruction":"Test
1313
+ instruction","attachment_type":"website"}'
1445
1314
  headers:
1446
1315
  Accept:
1447
1316
  - application/json
@@ -1450,44 +1319,46 @@ http_interactions:
1450
1319
  User-Agent:
1451
1320
  - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1452
1321
  Content-Type:
1453
- - application/x-www-form-urlencoded
1322
+ - application/json
1454
1323
  Content-Length:
1455
- - '263'
1324
+ - '111'
1456
1325
  Host:
1457
1326
  - api.scaleapi.com
1458
1327
  Authorization:
1459
- - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
1328
+ - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
1460
1329
  response:
1461
1330
  status:
1462
- code: 401
1463
- message: Unauthorized
1331
+ code: 400
1332
+ message: Bad Request
1464
1333
  headers:
1465
1334
  Date:
1466
- - Tue, 20 Sep 2016 22:19:36 GMT
1335
+ - Sat, 29 Oct 2016 18:26:23 GMT
1467
1336
  Content-Type:
1468
1337
  - application/json; charset=utf-8
1469
1338
  Content-Length:
1470
- - '84'
1339
+ - '81'
1471
1340
  Connection:
1472
1341
  - keep-alive
1473
1342
  Set-Cookie:
1474
- - __cfduid=d60e37e71940a8fddc919e309d1e6de311474409976; expires=Wed, 20-Sep-17
1475
- 22:19:36 GMT; path=/; domain=.scaleapi.com; HttpOnly
1476
- - heroku-session-affinity=ACyDaANoA24IAZuOKdT///8HYgAGQXhiAAsEMWEBbAAAAAFtAAAABXdlYi4xapnQlFYZ3vmtF0UjADXOkmT56vBF;
1477
- Version=1; Expires=Wed, 21-Sep-2016 22:19:36 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1343
+ - __cfduid=dc43084b2a299c294d09862378a238e901477765583; expires=Sun, 29-Oct-17
1344
+ 18:26:23 GMT; path=/; domain=.scaleapi.com; HttpOnly
1345
+ - heroku-session-affinity=ACyDaANoA24IAdkTfa7///8HYgALro9iAAxqYWEBbAAAAAFtAAAABXdlYi4xaj3PbUXqFHFPADAE+yDzKWq5ZYHc;
1346
+ Version=1; Expires=Sun, 30-Oct-2016 18:26:23 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1478
1347
  Path=/; HttpOnly
1479
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
1480
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
1348
+ - scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
1349
+ - scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
1481
1350
  X-Powered-By:
1482
1351
  - Express
1483
1352
  Access-Control-Allow-Origin:
1484
- - "*"
1353
+ - https://docs.scaleapi.com
1485
1354
  Access-Control-Allow-Methods:
1486
1355
  - GET,PUT,POST,DELETE
1487
1356
  Access-Control-Allow-Headers:
1488
1357
  - Content-Type
1358
+ Access-Control-Allow-Credentials:
1359
+ - 'true'
1489
1360
  Etag:
1490
- - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
1361
+ - W/"51-mD9g78yI4aIq5q67WrSipA"
1491
1362
  Vary:
1492
1363
  - Accept-Encoding
1493
1364
  Via:
@@ -1499,19 +1370,20 @@ http_interactions:
1499
1370
  Server:
1500
1371
  - cloudflare-nginx
1501
1372
  Cf-Ray:
1502
- - 2e58a8efcded54a4-MAD
1373
+ - 2f98acf0abbd2f35-MAD
1503
1374
  body:
1504
1375
  encoding: UTF-8
1505
- string: '{"status_code":401,"error":"Your API key does not correspond to a registered
1506
- user."}'
1376
+ string: '{"status_code":400,"error":"Please provide an attachment as a URL or
1377
+ plaintext."}'
1507
1378
  http_version:
1508
- recorded_at: Tue, 20 Sep 2016 22:19:33 GMT
1379
+ recorded_at: Sat, 29 Oct 2016 18:26:23 GMT
1509
1380
  - request:
1510
1381
  method: post
1511
- uri: https://api.scaleapi.com/v1/task/annotation
1382
+ uri: https://api.scaleapi.com/v1/task/transcription
1512
1383
  body:
1513
1384
  encoding: UTF-8
1514
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Draw+a+box+around+each+baby+cow+and+big+cow.&attachment_type=image&attachment=http%3A%2F%2Fi.imgur.com%2Fv4cBreD.jpg&objects_to_annotate[]=baby+cow&objects_to_annotate[]=big+cow&with_labels=true
1385
+ string: '{"callback_url":"http://www.example.com/callback","instruction":"Test
1386
+ instruction","attachment_type":"website"}'
1515
1387
  headers:
1516
1388
  Accept:
1517
1389
  - application/json
@@ -1520,44 +1392,46 @@ http_interactions:
1520
1392
  User-Agent:
1521
1393
  - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1522
1394
  Content-Type:
1523
- - application/x-www-form-urlencoded
1395
+ - application/json
1524
1396
  Content-Length:
1525
- - '259'
1397
+ - '111'
1526
1398
  Host:
1527
1399
  - api.scaleapi.com
1528
1400
  Authorization:
1529
- - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
1401
+ - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
1530
1402
  response:
1531
1403
  status:
1532
- code: 401
1533
- message: Unauthorized
1404
+ code: 400
1405
+ message: Bad Request
1534
1406
  headers:
1535
1407
  Date:
1536
- - Tue, 20 Sep 2016 22:19:37 GMT
1408
+ - Sat, 29 Oct 2016 18:26:24 GMT
1537
1409
  Content-Type:
1538
1410
  - application/json; charset=utf-8
1539
1411
  Content-Length:
1540
- - '84'
1412
+ - '81'
1541
1413
  Connection:
1542
1414
  - keep-alive
1543
1415
  Set-Cookie:
1544
- - __cfduid=d22650cf3c64ccf8948943ec40fdef24c1474409977; expires=Wed, 20-Sep-17
1545
- 22:19:37 GMT; path=/; domain=.scaleapi.com; HttpOnly
1546
- - heroku-session-affinity=ACyDaANoA24IAVETRtX///8HYgAGQXliAAq/nGEBbAAAAAFtAAAABXdlYi4xasLfPX9/90QL2t0Rx4ZrYrh8/jbd;
1547
- Version=1; Expires=Wed, 21-Sep-2016 22:19:37 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1416
+ - __cfduid=dcbf356f1e446427944dfeb653d6dfd2b1477765584; expires=Sun, 29-Oct-17
1417
+ 18:26:24 GMT; path=/; domain=.scaleapi.com; HttpOnly
1418
+ - heroku-session-affinity=ACyDaANoA24IAT6cSqv///8HYgALrpBiAAI/KGEBbAAAAAFtAAAABXdlYi4xaoW1vMfhJjykzoKl9DU7u9HyoQrj;
1419
+ Version=1; Expires=Sun, 30-Oct-2016 18:26:24 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1548
1420
  Path=/; HttpOnly
1549
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
1550
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
1421
+ - scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
1422
+ - scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
1551
1423
  X-Powered-By:
1552
1424
  - Express
1553
1425
  Access-Control-Allow-Origin:
1554
- - "*"
1426
+ - https://docs.scaleapi.com
1555
1427
  Access-Control-Allow-Methods:
1556
1428
  - GET,PUT,POST,DELETE
1557
1429
  Access-Control-Allow-Headers:
1558
1430
  - Content-Type
1431
+ Access-Control-Allow-Credentials:
1432
+ - 'true'
1559
1433
  Etag:
1560
- - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
1434
+ - W/"51-mD9g78yI4aIq5q67WrSipA"
1561
1435
  Vary:
1562
1436
  - Accept-Encoding
1563
1437
  Via:
@@ -1569,19 +1443,19 @@ http_interactions:
1569
1443
  Server:
1570
1444
  - cloudflare-nginx
1571
1445
  Cf-Ray:
1572
- - 2e58a8f54abe3c29-CDG
1446
+ - 2f98acf47c725474-MAD
1573
1447
  body:
1574
1448
  encoding: UTF-8
1575
- string: '{"status_code":401,"error":"Your API key does not correspond to a registered
1576
- user."}'
1449
+ string: '{"status_code":400,"error":"Please provide an attachment as a URL or
1450
+ plaintext."}'
1577
1451
  http_version:
1578
- recorded_at: Tue, 20 Sep 2016 22:19:34 GMT
1452
+ recorded_at: Sat, 29 Oct 2016 18:26:24 GMT
1579
1453
  - request:
1580
- method: post
1581
- uri: https://api.scaleapi.com/v1/task/annotation
1454
+ method: get
1455
+ uri: https://api.scaleapi.com/v1/tasks
1582
1456
  body:
1583
1457
  encoding: UTF-8
1584
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback
1458
+ string: '{"callback_url":"http://www.example.com/callback"}'
1585
1459
  headers:
1586
1460
  Accept:
1587
1461
  - application/json
@@ -1590,46 +1464,50 @@ http_interactions:
1590
1464
  User-Agent:
1591
1465
  - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1592
1466
  Content-Type:
1593
- - application/x-www-form-urlencoded
1467
+ - application/json
1594
1468
  Content-Length:
1595
- - '52'
1469
+ - '50'
1596
1470
  Host:
1597
1471
  - api.scaleapi.com
1598
1472
  Authorization:
1599
- - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
1473
+ - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
1600
1474
  response:
1601
1475
  status:
1602
- code: 401
1603
- message: Unauthorized
1476
+ code: 200
1477
+ message: OK
1604
1478
  headers:
1605
1479
  Date:
1606
- - Tue, 20 Sep 2016 22:19:38 GMT
1480
+ - Sat, 29 Oct 2016 18:26:24 GMT
1607
1481
  Content-Type:
1608
1482
  - application/json; charset=utf-8
1609
- Content-Length:
1610
- - '84'
1483
+ Transfer-Encoding:
1484
+ - chunked
1611
1485
  Connection:
1612
1486
  - keep-alive
1613
1487
  Set-Cookie:
1614
- - __cfduid=d7b8a950b4849dccf84f4a39cf8adfbbe1474409978; expires=Wed, 20-Sep-17
1615
- 22:19:38 GMT; path=/; domain=.scaleapi.com; HttpOnly
1616
- - heroku-session-affinity=ACyDaANoA24IAZlsvdP///8HYgAGQXpiAAgrkGEBbAAAAAFtAAAABXdlYi4xaimouOhUrmdCZyIEsBqRwz+ElUky;
1617
- Version=1; Expires=Wed, 21-Sep-2016 22:19:38 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1488
+ - __cfduid=d01bb48b2488c34f7627c8fa31772870d1477765584; expires=Sun, 29-Oct-17
1489
+ 18:26:24 GMT; path=/; domain=.scaleapi.com; HttpOnly
1490
+ - heroku-session-affinity=ACyDaANoA24IAZCZN6////8HYgALrpBiAAgmjmEBbAAAAAFtAAAABXdlYi4xaiygP5jitrhm5eEfCvsGHWXLwMmp;
1491
+ Version=1; Expires=Sun, 30-Oct-2016 18:26:24 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1618
1492
  Path=/; HttpOnly
1619
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
1620
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
1493
+ - scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
1494
+ - scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
1621
1495
  X-Powered-By:
1622
1496
  - Express
1623
1497
  Access-Control-Allow-Origin:
1624
- - "*"
1498
+ - https://docs.scaleapi.com
1625
1499
  Access-Control-Allow-Methods:
1626
1500
  - GET,PUT,POST,DELETE
1627
1501
  Access-Control-Allow-Headers:
1628
1502
  - Content-Type
1503
+ Access-Control-Allow-Credentials:
1504
+ - 'true'
1629
1505
  Etag:
1630
- - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
1506
+ - W/"eea9-Qf7YmQHCk7Oa8qEsVX6Uqw"
1631
1507
  Vary:
1632
1508
  - Accept-Encoding
1509
+ Content-Encoding:
1510
+ - gzip
1633
1511
  Via:
1634
1512
  - 1.1 vegur
1635
1513
  Strict-Transport-Security:
@@ -1639,19 +1517,109 @@ http_interactions:
1639
1517
  Server:
1640
1518
  - cloudflare-nginx
1641
1519
  Cf-Ray:
1642
- - 2e58a8fbbb74151b-CDG
1520
+ - 2f98acf6ce682f5f-MAD
1643
1521
  body:
1644
- encoding: UTF-8
1645
- string: '{"status_code":401,"error":"Your API key does not correspond to a registered
1646
- user."}'
1522
+ encoding: ASCII-8BIT
1523
+ string: !binary |-
1524
+ H4sIAAAAAAAAA+1dbY/bNhL+KzrjgLsLEpYURUn0l6Av1ya9u15RpCjQQ2BQ
1525
+ ErVWYls+S852r0h/+5GS/CIy8YpL2d3UBAqka8vicOYhOc9wOPx1kpVpNZn+
1526
+ 59dJuuGs5tmM1ZPpxIcofIbgM5++QvHUD6c+BsgnP0+eTlK2WCQsfTvbbhbi
1527
+ yXldr6effXZ7ewv4L2y5XnCQlsvPdk+JH9R3ay4erDdsVaWbYl0X5Up8XNWs
1528
+ 3oqmJ+Jx8SvRtPiwWFX1Zps2j0wnr7qfJNyr59y7Kd7xlZcXfJFVwHs1l3+U
1529
+ G4+zdO6t+G3lFTVfeuWqeXjNbvhTr+6/oViJHyyZfH3zU/nZprwFouXt5oav
1530
+ 0jvRasbuxN9rtmFLId6vE1bXooUlX9Wzriu3PKlEW+Kpw3d9VdyU5U2nCfFU
1531
+ K7J8V13UC/mGV/Jfr8y9n3giJZVqKtezDa+2i/r4eymh+Mbrvnn/dCLknR1e
1532
+ uK34ZsWW8p0/dv8rf1Ztk2VR13wjDVYuG+HTctuI+d12mfCNfKr7ppq8f//0
1533
+ YIYTCMC+RICQZV2uKi7b17tW86r29o8o/ep/2famhd9RR9qHytvjt6id0J95
1534
+ /3SMl7wWMhXVTH4zmQooctEBVr2dFZl4nsQo4DTNkzyLEgxDCHPuR1ACd8lr
1535
+ lrGaCU28l5LcM5og8GloM5pkW2m5WPB0+HD6ulhlDaB+/OGfe/jPi02xummG
1536
+ y/4z+Qq2uvNui3rutRDnmdehfsTBUnVdrUT/OFsX+nhppZs1Q2Q6edHK+r2U
1537
+ VfRhGGwhwJB8HLb9FhR8DgBDqoAhNQYDikFMYhswpOLtN+Wm+B8bDoaXlTB1
1538
+ Ue1tvd4miyL1BALWm+KdeOHzM0+KO6G5HP+TtnnZRNv65LV4z2Ih5rqlmDmK
1539
+ tZxacrao+ACTS4WGWDV5157sTNfYAOsyxbqJuXUjgAKrhbOx0KaoPm5Z1Ux9
1540
+ S39VNoO6TN6IyUIsks36WInFcCkwX3lz9q5dHCu5dqyZXDVWzz9i7MZWneQF
1541
+ 4Am7K5Y3jdwQfvbnVz7/EoXZi2+/uf3665//8eaO/Pzmix/y7+7+9WXw8ua3
1542
+ 32bYB99+/4149+4VjQjgtqj4DedvWwXMefqWb3j2rGaJmN8WZT0Hb9Y3DSI0
1543
+ 1DVvkMqdl0XaQulO/PN0sionr4dgRZiHQA0rzdvE8+ItA1BCFZQwc5QQECFk
1544
+ gxK2WpX1yfF/D0o27NZjXlL+4rGNWB+z1q9KWHIn5gjxlfgkKW7k/4OPgOMg
1545
+ bgEELLabRtR3QfrFhn/VmPCUBTt8zupy1vWFS2vuBBBPdM1LIMiVabZgCV9U
1546
+ O6t06umc2XKzEW/r5oynXSMflG/xJuQ0rjr5+C/rBVuxnQMqhoXQiBglbCMG
1547
+ SXEzrxtFsDTdbqSAjWV3bbVynGjqxcvNu5df/XdAUysuOiictF1D3kpMzDtj
1548
+ tl7KvciWkKIqsg8waRW14Ln4NWzctObf2yKr55MpguL/51z2uPuj0bZoaG+Q
1549
+ Qb5SpAwN+pChAWOr5XE9L1dcfjxsZfxSPNmujWu+EbNuY/Gaiw+X0l2qPL5k
1550
+ xcJjWSYUK4jI59Vbr8i9Of+LnEzX6zvhsJenvaRGotmqccSlriAhEIZxSCQs
1551
+ VsKTvpt1buznC9G3VbbxfmIrCZqWQUlfSAhUen/yPhdouSu3+5ZFU8+9v66Z
1552
+ cIX/5v17xb1lKaE7l47TM+92zmpPdEH8YtPvx/Oe39V8JVr5e/PI5+0jcio8
1553
+ mmdfcPmmpl3x2/YvAa7uk4EQha0bfAzRcluLHzZDaCs8s+16P7033e438yGh
1554
+ zZ04FaWRMUphBAIfO358vfy4QUDs+LFwhnqjKWTIfDQFIGy9MsePz8yPG1Vr
1555
+ c/Bo/DhJFTBAczBg4EMrMDh+rCs0GoMfJ0nfujQ3t64PUEQdP36k/FiaJw7s
1556
+ +HHCFJRwQ5SQKaEgaIPPjgT8oUhAZ1qNpx5IQLVNU9nuuUlAEikoNY3kkmkg
1557
+ Jla7ucxFcVwUR4NU/HtHcZg6NEwDnGSKMYAocvz4WvlxiwBf25W5Qn5Ms/5o
1558
+ woH5aIIAkcDx47Pz407V2gQ8Gj+mim+MsTEY/Fi46HY7jI4fqwqlOud5AD+m
1559
+ sWJd39y6BNDYaqg7fnw2ftyah6KP8mP5rgEwIQpMTCOmQg4EfGrlXzmC/EgJ
1560
+ sjAtRlqKwoBdshHJMUV9hPrDA32x7AYOpP8XYSty7BjAp8kAjhEQXD0DwJRh
1561
+ msRZSpgcTQnOWTacAex1KScFK6fPMYB7GMCxqn1tiR+HAUgwRAoYhjOAnYQ+
1562
+ BeJdjgFYM4CeQrVN0WMG0LUxwLxEMe9wCrCXJgYksNsAdRRgfArQM48OFgMK
1563
+ IGESKDAZTgH2coQAYqtZwFGAR0YBjk0bnKAAq3K2LtK35yQBEqN+H6OpOQmA
1564
+ IUB2K5UjAZ82CWgQcCLf6GpIAOL90RSZz/jQBwGxotSOBAwkAVLV+pmi0UgA
1565
+ YgoYhqfJ7SWEgGK7QLEjAapC9UXXeBtAWjfuWzc0XTixzJLByG0DPE4O0JlH
1566
+ 2yU0SJOTKFECAeHwNLm9GAQQbBUVchTgUVKA1rSBtil5wV0AiVCsIHR4ilzT
1567
+ DZ/KIz8UuXMy10oAdgjQss+vjwDEedIfTdDQ55O69G1LBzgCMIQAdKo+HwGI
1568
+ 876LSHNDF1FKiADy3S7ASARgp9CTuwADCUCcR4p1DV07IQykANktnI4AnIsA
1569
+ 7MxjRwDinCgoGV5YaC+G8BLtUOIIwGMkAJ1pfa2Q0UUJQJwjBaHD6+E03UDN
1570
+ QPEDtwNwrQRgh4ATFbmuhQCENOuNptCg7MRelwRE0B0EODsB2Kn6RH0HOwIQ
1571
+ 0n5OGMmHn7HaS4gBDd0OwEgEYKdQ3akzJwAhjRTrDq+DtBcGAeoOyj9OAtCZ
1572
+ J9ZWNSMCEFKioCQ2REksNyIiu8NA7gjy4Qjy/YbvNP67ntCVyMEKckxdCdGP
1573
+ GATEUcc/HHXsTBueSB+7SIkFiVJfQSkxRCmR5YpIZHXO6Uzz25MnuwH75EmD
1574
+ ZPFBO808efLYp7mrrrRwjKxYq29+2XmcsP42AMkMtwEQkgl2AXyMRUhOjZBH
1575
+ 7wmYwHa8EXL/aLzgEGmhhbQNkRGGSGeFASMkSPqZciQ13EpBcApjELsk5OsN
1576
+ QXYIcEnINIhhfzTFhqeTpC7lpGDFG1wIclAIslP1idQZuxBkEHEFDIYZ6VLC
1577
+ AIShXZDKhSBVhUYna5EMPYkYRKliXsN8IymNDyixSzFxMchzxSA78+iFXU1i
1578
+ kEGk+FeRIQOBVEbECLG63chFkh5jJKkzrZ4FNyCSNF4UKYiUvZTIME0GynQK
1579
+ EPtWeZOOAXzCDKBDAHa1SGiA+kkIBBvGZKUuQxC5av3nZwA7VZ+pWr8Eg7L4
1580
+ G1Qj3EsYADFFOwYwDgPoFEq0uPQDkhAC5RgiMahGuBcGA9/ykKkjAGciADvz
1581
+ aDlKZgRAOYZIDIoR7sRA1u6VIwCPkgC0ptX9potvJQfKUURiWpAQRm29HHcU
1582
+ 8WpJQIcAdxSR4qwf+Q244aaa1CXeZXU7EnBWEtCqWr+zdiwSgLNEAYNpfCWS
1583
+ JWsJsooAOhKgKVSvQfmQbQCcUcW8hmd4hDTIOsnUsYCzsYDWPNTmTmuJkkhB
1584
+ ieFxBClGBISD7FjAH44FtKbVdyUvzgJwRhSUGibMw1BW941idzHR1bKAFgFU
1585
+ C7BdIQtgypxvcHHvTpc+BWFo5fg5FjCIBbSqjs5WlhwzZWo1uLh3L2EEUOTO
1586
+ I47FAjqFnjyPOJgFsH78LDC4k3UvDQEBdBVJHicL6MxjlwyEGVJQYhoKEGL4
1587
+ wMcuGeiPxwJa0z6oJOHILIAq0UtqFNGIpkT8h0AcuYSg62QBewToF51fHwtA
1588
+ NO+PJmKUA9LoMohBiK04tWMB97OAvaqDs7EARFMFDEYpI62Eke2l6I4FaArV
1589
+ Z6oHJAQhquz0ECPC3wpDAIRWC6cjAechAXvzIB0rRncTIaU0UUCMQgGtHD6I
1590
+ IquDI64syeCyJAeNa/Tvomd1EQ37wAmMknSabsgSTMSlFVzClWiqXZ3tdCEK
1591
+ Fb8SDyuBBekzH77yYXMjBwawTYV1LO16WJqGgCs/uB1xRDOcUEqCjOAYwjTi
1592
+ eTrsCtmDLrGsCoSRnevmHHNVob7mbLU6EebOxJ++XEoNXfXW3qFi72GsvCde
1593
+ KIiYy91/TK66Zp6H5+63KAkUlAyj6z0xICB217Rfuac+xNTwQ3f5XMw3b6Di
1594
+ cwUqw7j/cTcC6hK8Dls7l9h9UbUfaa7QoDthx9t/aaGU9aGUDKN5bWcQnfqh
1595
+ rAkOqfPsr9KzP0LAifLaV+LZxxlBoRhEKEcMQsQ4wsMuWevpMgIosFrD3cT8
1596
+ kIn5oH2iZelc7KKOBkRBroBo2JZ4rxsBiCK79B5HDzWFargYgx4Ke6eKvYel
1597
+ 6/fE8wG2W4IdPTwLPTwyz8MvmGpRwhSUmIRgpRhEFgCigRVKHD08bepWx/q1
1598
+ E5ekhwIqkQKVYScr9t2A0RSHIPat4k3Op/+EffodApxPH8d5TEhE/azZ+0qC
1599
+ PDIJtnS6DEAcWhVZcj79A336nfZPlL24VLBFQClUoDQsGaPXGQyguydqLM9+
1600
+ p1BtnhvFs49z0rd3aBhck+IhgLDV1OE8+3N59jvzWORotTDBCkyGnec5lsOn
1601
+ APpWhN+59vfZutGxNlNc7pKRFitIwcqwUz3H/ZCVhkO7Kn9uSjnflCLNE+k1
1602
+ A02CBXGmOBqhyV6yvHQKy+xTH1tlfTqf9UE+60H7v9+F0RJEJKF9EJFh1WUP
1603
+ 3fBlXkQYujJt1xlGOCBAi4ddXxiBxEoYgZgk/XW69EEYucpco3C/vUJj7QDW
1604
+ KNyPxIFib5Okv048CCK723mcU38vBISO9eJsl3XqSewrWBnsriH6yseCmTS3
1605
+ YlGrucGttJ/kSnuMAApPVJa8jpUWRkEapIThNJSjyffz3A8fMpqQ3T2cbqXV
1606
+ FIo0PnN6pR1SD+fDBh9MVA7yRcCn7ozjOZbavo41DFxwa1xCBStQGeyFd92I
1607
+ pwECOLaaG9xK+ymvtC0C6JXfP9SMJkaV0TSY4xx0CUFoV8jfrbSaQgPNDRxp
1608
+ pWWxYnBTohJPMQWx3QWDbqW9DwNSx5E2QV12pWWRApXBaTOyG3AaRNMgBL7v
1609
+ 4l2jzA17heJzxLtgwHOfp5BETQwDJTQJjNaCVrwAIGJ1Js12ahhk+09rQthr
1610
+ NjzHocXBUS6JEKggxGjxaPrhB2LxcLx8vBlBKlTfbB5nRshSxd4mK4CMzsay
1611
+ Vj2J7c41OHtrCj3HORaISUB79o6HJx104hF5Ow6BdpeTOHurCkWaJzgKG8AB
1612
+ TRSDmw5wMkUYRMils45ncKlQU/o3cIAHFCn2Hpy+3IoXUOmBRu6G2bHs3SlU
1613
+ v2F2FHtjweGiNCe+tHeYMxSb2juWjie1q/rl7K0rVKscMc6EjmHaN3ik5au/
1614
+ luSgZsKCCGHBA4plseMEZZ5XvOUPc1bNZO3zjp/8H3J6YVep7gAA
1647
1615
  http_version:
1648
- recorded_at: Tue, 20 Sep 2016 22:19:35 GMT
1616
+ recorded_at: Sat, 29 Oct 2016 18:26:24 GMT
1649
1617
  - request:
1650
- method: post
1651
- uri: https://api.scaleapi.com/v1/task/annotation
1618
+ method: get
1619
+ uri: https://api.scaleapi.com/v1/task/abcdefghijklmn0123456789
1652
1620
  body:
1653
1621
  encoding: UTF-8
1654
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback
1622
+ string: '{"callback_url":"http://www.example.com/callback"}'
1655
1623
  headers:
1656
1624
  Accept:
1657
1625
  - application/json
@@ -1660,44 +1628,46 @@ http_interactions:
1660
1628
  User-Agent:
1661
1629
  - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1662
1630
  Content-Type:
1663
- - application/x-www-form-urlencoded
1631
+ - application/json
1664
1632
  Content-Length:
1665
- - '52'
1633
+ - '50'
1666
1634
  Host:
1667
1635
  - api.scaleapi.com
1668
1636
  Authorization:
1669
- - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
1637
+ - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
1670
1638
  response:
1671
1639
  status:
1672
- code: 401
1673
- message: Unauthorized
1640
+ code: 404
1641
+ message: Not Found
1674
1642
  headers:
1675
1643
  Date:
1676
- - Tue, 20 Sep 2016 22:19:39 GMT
1644
+ - Sat, 29 Oct 2016 18:26:25 GMT
1677
1645
  Content-Type:
1678
1646
  - application/json; charset=utf-8
1679
1647
  Content-Length:
1680
- - '84'
1648
+ - '44'
1681
1649
  Connection:
1682
1650
  - keep-alive
1683
1651
  Set-Cookie:
1684
- - __cfduid=dfd69c2666d1ed50b941bf97b467d71d61474409978; expires=Wed, 20-Sep-17
1685
- 22:19:38 GMT; path=/; domain=.scaleapi.com; HttpOnly
1686
- - heroku-session-affinity=ACyDaANoA24IAbh1b9X///8HYgAGQXtiAASi4GEBbAAAAAFtAAAABXdlYi4xar7Iu9fAnZMstRt+dKT1bMWJeqws;
1687
- Version=1; Expires=Wed, 21-Sep-2016 22:19:39 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1652
+ - __cfduid=d925dac7d4a2d45ef3624ba8b739d1f1f1477765584; expires=Sun, 29-Oct-17
1653
+ 18:26:24 GMT; path=/; domain=.scaleapi.com; HttpOnly
1654
+ - heroku-session-affinity=ACyDaANoA24IAdtWuK3///8HYgALrpBiAA7TvGEBbAAAAAFtAAAABXdlYi4xanQAMx+yY3qMkzascPzD729hnR7h;
1655
+ Version=1; Expires=Sun, 30-Oct-2016 18:26:24 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1688
1656
  Path=/; HttpOnly
1689
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
1690
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
1657
+ - scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
1658
+ - scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
1691
1659
  X-Powered-By:
1692
1660
  - Express
1693
1661
  Access-Control-Allow-Origin:
1694
- - "*"
1662
+ - https://docs.scaleapi.com
1695
1663
  Access-Control-Allow-Methods:
1696
1664
  - GET,PUT,POST,DELETE
1697
1665
  Access-Control-Allow-Headers:
1698
1666
  - Content-Type
1667
+ Access-Control-Allow-Credentials:
1668
+ - 'true'
1699
1669
  Etag:
1700
- - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
1670
+ - W/"2c-nvsgw9SYOVp6Io9QK+tpGw"
1701
1671
  Vary:
1702
1672
  - Accept-Encoding
1703
1673
  Via:
@@ -1709,19 +1679,18 @@ http_interactions:
1709
1679
  Server:
1710
1680
  - cloudflare-nginx
1711
1681
  Cf-Ray:
1712
- - 2e58a8ffe8682f89-MAD
1682
+ - 2f98acf9a9f02fa1-MAD
1713
1683
  body:
1714
1684
  encoding: UTF-8
1715
- string: '{"status_code":401,"error":"Your API key does not correspond to a registered
1716
- user."}'
1685
+ string: '{"status_code":404,"error":"Task not found"}'
1717
1686
  http_version:
1718
- recorded_at: Tue, 20 Sep 2016 22:19:36 GMT
1687
+ recorded_at: Sat, 29 Oct 2016 18:26:25 GMT
1719
1688
  - request:
1720
- method: post
1721
- uri: https://api.scaleapi.com/v1/task/comparison
1689
+ method: get
1690
+ uri: https://api.scaleapi.com/v1/task/5814e9c7bfd7b30600fe2707
1722
1691
  body:
1723
1692
  encoding: UTF-8
1724
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Do+the+objects+in+these+images+have+the+same+pattern%3F&attachment_type=image&choices[]=yes&choices[]=no&attachments[]=http%3A%2F%2Fi.ebayimg.com%2F00%2F%24T2eC16dHJGwFFZKjy5ZjBRfNyMC4Ig%7E%7E_32.JPG&attachments[]=http%3A%2F%2Fimages.wisegeek.com%2Fcheckered-tablecloth.jpg
1693
+ string: '{"callback_url":"http://www.example.com/callback"}'
1725
1694
  headers:
1726
1695
  Accept:
1727
1696
  - application/json
@@ -1730,44 +1699,46 @@ http_interactions:
1730
1699
  User-Agent:
1731
1700
  - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1732
1701
  Content-Type:
1733
- - application/x-www-form-urlencoded
1702
+ - application/json
1734
1703
  Content-Length:
1735
- - '338'
1704
+ - '50'
1736
1705
  Host:
1737
1706
  - api.scaleapi.com
1738
1707
  Authorization:
1739
- - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
1708
+ - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
1740
1709
  response:
1741
1710
  status:
1742
- code: 401
1743
- message: Unauthorized
1711
+ code: 200
1712
+ message: OK
1744
1713
  headers:
1745
1714
  Date:
1746
- - Tue, 20 Sep 2016 22:19:40 GMT
1715
+ - Sat, 29 Oct 2016 18:26:25 GMT
1747
1716
  Content-Type:
1748
1717
  - application/json; charset=utf-8
1749
- Content-Length:
1750
- - '84'
1718
+ Transfer-Encoding:
1719
+ - chunked
1751
1720
  Connection:
1752
1721
  - keep-alive
1753
1722
  Set-Cookie:
1754
- - __cfduid=d5a37a132a5fb11b93cd9f6f6bc9f8c771474409979; expires=Wed, 20-Sep-17
1755
- 22:19:39 GMT; path=/; domain=.scaleapi.com; HttpOnly
1756
- - heroku-session-affinity=ACyDaANoA24IAdYaVdX///8HYgAGQXxiAAIfMWEBbAAAAAFtAAAABXdlYi4xagy9jfF1958CZb+j6GLgHF+zo33e;
1757
- Version=1; Expires=Wed, 21-Sep-2016 22:19:40 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1723
+ - __cfduid=d22c7fbafcace3b52a1b9e2f6d6fba34d1477765585; expires=Sun, 29-Oct-17
1724
+ 18:26:25 GMT; path=/; domain=.scaleapi.com; HttpOnly
1725
+ - heroku-session-affinity=ACyDaANoA24IATPbl6////8HYgALrpFiAAUjImEBbAAAAAFtAAAABXdlYi4xamTLvGjJxCivnn4DchFrYwCozTgC;
1726
+ Version=1; Expires=Sun, 30-Oct-2016 18:26:25 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1758
1727
  Path=/; HttpOnly
1759
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
1760
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
1728
+ - scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
1729
+ - scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
1761
1730
  X-Powered-By:
1762
1731
  - Express
1763
1732
  Access-Control-Allow-Origin:
1764
- - "*"
1733
+ - https://docs.scaleapi.com
1765
1734
  Access-Control-Allow-Methods:
1766
1735
  - GET,PUT,POST,DELETE
1767
1736
  Access-Control-Allow-Headers:
1768
1737
  - Content-Type
1738
+ Access-Control-Allow-Credentials:
1739
+ - 'true'
1769
1740
  Etag:
1770
- - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
1741
+ - W/"2a5-DJDJXxceyIbIscqZHYpZGQ"
1771
1742
  Vary:
1772
1743
  - Accept-Encoding
1773
1744
  Via:
@@ -1779,851 +1750,22 @@ http_interactions:
1779
1750
  Server:
1780
1751
  - cloudflare-nginx
1781
1752
  Cf-Ray:
1782
- - 2e58a9057c7514f7-CDG
1783
- body:
1784
- encoding: UTF-8
1785
- string: '{"status_code":401,"error":"Your API key does not correspond to a registered
1786
- user."}'
1787
- http_version:
1788
- recorded_at: Tue, 20 Sep 2016 22:19:37 GMT
1789
- - request:
1790
- method: post
1791
- uri: https://api.scaleapi.com/v1/task/comparison
1753
+ - 2f98acfbfe222f4d-MAD
1754
+ Content-Encoding:
1755
+ - gzip
1792
1756
  body:
1793
- encoding: UTF-8
1794
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction&choices[]=a&choices[]=b
1795
- headers:
1796
- Accept:
1797
- - application/json
1798
- Accept-Encoding:
1799
- - gzip, deflate
1800
- User-Agent:
1801
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1802
- Content-Type:
1803
- - application/x-www-form-urlencoded
1804
- Content-Length:
1805
- - '105'
1806
- Host:
1807
- - api.scaleapi.com
1808
- Authorization:
1809
- - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
1810
- response:
1811
- status:
1812
- code: 401
1813
- message: Unauthorized
1814
- headers:
1815
- Date:
1816
- - Tue, 20 Sep 2016 22:19:40 GMT
1817
- Content-Type:
1818
- - application/json; charset=utf-8
1819
- Content-Length:
1820
- - '84'
1821
- Connection:
1822
- - keep-alive
1823
- Set-Cookie:
1824
- - __cfduid=df91352c49eab200d10d101d8efca56641474409980; expires=Wed, 20-Sep-17
1825
- 22:19:40 GMT; path=/; domain=.scaleapi.com; HttpOnly
1826
- - heroku-session-affinity=ACyDaANoA24IAZZuXtb///8HYgAGQXxiAA0cNWEBbAAAAAFtAAAABXdlYi4xap7JBT9HkFjjQ/lx8eZqinhCBxp4;
1827
- Version=1; Expires=Wed, 21-Sep-2016 22:19:40 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1828
- Path=/; HttpOnly
1829
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
1830
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
1831
- X-Powered-By:
1832
- - Express
1833
- Access-Control-Allow-Origin:
1834
- - "*"
1835
- Access-Control-Allow-Methods:
1836
- - GET,PUT,POST,DELETE
1837
- Access-Control-Allow-Headers:
1838
- - Content-Type
1839
- Etag:
1840
- - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
1841
- Vary:
1842
- - Accept-Encoding
1843
- Via:
1844
- - 1.1 vegur
1845
- Strict-Transport-Security:
1846
- - max-age=2592000; includeSubDomains; preload
1847
- X-Content-Type-Options:
1848
- - nosniff
1849
- Server:
1850
- - cloudflare-nginx
1851
- Cf-Ray:
1852
- - 2e58a909eee0549e-MAD
1853
- body:
1854
- encoding: UTF-8
1855
- string: '{"status_code":401,"error":"Your API key does not correspond to a registered
1856
- user."}'
1857
- http_version:
1858
- recorded_at: Tue, 20 Sep 2016 22:19:37 GMT
1859
- - request:
1860
- method: post
1861
- uri: https://api.scaleapi.com/v1/task/comparison
1862
- body:
1863
- encoding: UTF-8
1864
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction&choices[]=a&choices[]=b
1865
- headers:
1866
- Accept:
1867
- - application/json
1868
- Accept-Encoding:
1869
- - gzip, deflate
1870
- User-Agent:
1871
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1872
- Content-Type:
1873
- - application/x-www-form-urlencoded
1874
- Content-Length:
1875
- - '105'
1876
- Host:
1877
- - api.scaleapi.com
1878
- Authorization:
1879
- - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
1880
- response:
1881
- status:
1882
- code: 401
1883
- message: Unauthorized
1884
- headers:
1885
- Date:
1886
- - Tue, 20 Sep 2016 22:19:41 GMT
1887
- Content-Type:
1888
- - application/json; charset=utf-8
1889
- Content-Length:
1890
- - '84'
1891
- Connection:
1892
- - keep-alive
1893
- Set-Cookie:
1894
- - __cfduid=d01a18977f1d87be316f67188a9a8430e1474409981; expires=Wed, 20-Sep-17
1895
- 22:19:41 GMT; path=/; domain=.scaleapi.com; HttpOnly
1896
- - heroku-session-affinity=ACyDaANoA24IATnnTtX///8HYgAGQX1iAAjzJmEBbAAAAAFtAAAABXdlYi4xahENuvXp/YuDCjMd2P8XuvQ/k6e5;
1897
- Version=1; Expires=Wed, 21-Sep-2016 22:19:41 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1898
- Path=/; HttpOnly
1899
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
1900
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
1901
- X-Powered-By:
1902
- - Express
1903
- Access-Control-Allow-Origin:
1904
- - "*"
1905
- Access-Control-Allow-Methods:
1906
- - GET,PUT,POST,DELETE
1907
- Access-Control-Allow-Headers:
1908
- - Content-Type
1909
- Etag:
1910
- - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
1911
- Vary:
1912
- - Accept-Encoding
1913
- Via:
1914
- - 1.1 vegur
1915
- Strict-Transport-Security:
1916
- - max-age=2592000; includeSubDomains; preload
1917
- X-Content-Type-Options:
1918
- - nosniff
1919
- Server:
1920
- - cloudflare-nginx
1921
- Cf-Ray:
1922
- - 2e58a90e9e2b103d-CDG
1923
- body:
1924
- encoding: UTF-8
1925
- string: '{"status_code":401,"error":"Your API key does not correspond to a registered
1926
- user."}'
1927
- http_version:
1928
- recorded_at: Tue, 20 Sep 2016 22:19:38 GMT
1929
- - request:
1930
- method: post
1931
- uri: https://api.scaleapi.com/v1/task/categorize
1932
- body:
1933
- encoding: UTF-8
1934
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Is+this+company+public+or+private%3F&attachment_type=website&attachment=http%3A%2F%2Fwww.google.com%2F&categories[]=public&categories[]=private&allow_multiple=false
1935
- headers:
1936
- Accept:
1937
- - application/json
1938
- Accept-Encoding:
1939
- - gzip, deflate
1940
- User-Agent:
1941
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1942
- Content-Type:
1943
- - application/x-www-form-urlencoded
1944
- Content-Length:
1945
- - '229'
1946
- Host:
1947
- - api.scaleapi.com
1948
- Authorization:
1949
- - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
1950
- response:
1951
- status:
1952
- code: 401
1953
- message: Unauthorized
1954
- headers:
1955
- Date:
1956
- - Tue, 20 Sep 2016 22:19:42 GMT
1957
- Content-Type:
1958
- - application/json; charset=utf-8
1959
- Content-Length:
1960
- - '84'
1961
- Connection:
1962
- - keep-alive
1963
- Set-Cookie:
1964
- - __cfduid=d1ceb56cecd8d4e3adb9c7a1cc46c50c71474409982; expires=Wed, 20-Sep-17
1965
- 22:19:42 GMT; path=/; domain=.scaleapi.com; HttpOnly
1966
- - heroku-session-affinity=ACyDaANoA24IATQq2NT///8HYgAGQX5iAAXrMmEBbAAAAAFtAAAABXdlYi4xarQ9aofcFFAdy85obm28ADzLNpa0;
1967
- Version=1; Expires=Wed, 21-Sep-2016 22:19:42 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1968
- Path=/; HttpOnly
1969
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
1970
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
1971
- X-Powered-By:
1972
- - Express
1973
- Access-Control-Allow-Origin:
1974
- - "*"
1975
- Access-Control-Allow-Methods:
1976
- - GET,PUT,POST,DELETE
1977
- Access-Control-Allow-Headers:
1978
- - Content-Type
1979
- Etag:
1980
- - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
1981
- Vary:
1982
- - Accept-Encoding
1983
- Via:
1984
- - 1.1 vegur
1985
- Strict-Transport-Security:
1986
- - max-age=2592000; includeSubDomains; preload
1987
- X-Content-Type-Options:
1988
- - nosniff
1989
- Server:
1990
- - cloudflare-nginx
1991
- Cf-Ray:
1992
- - 2e58a913ae323c65-CDG
1993
- body:
1994
- encoding: UTF-8
1995
- string: '{"status_code":401,"error":"Your API key does not correspond to a registered
1996
- user."}'
1997
- http_version:
1998
- recorded_at: Tue, 20 Sep 2016 22:19:39 GMT
1999
- - request:
2000
- method: post
2001
- uri: https://api.scaleapi.com/v1/task/categorize
2002
- body:
2003
- encoding: UTF-8
2004
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction
2005
- headers:
2006
- Accept:
2007
- - application/json
2008
- Accept-Encoding:
2009
- - gzip, deflate
2010
- User-Agent:
2011
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
2012
- Content-Type:
2013
- - application/x-www-form-urlencoded
2014
- Content-Length:
2015
- - '81'
2016
- Host:
2017
- - api.scaleapi.com
2018
- Authorization:
2019
- - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
2020
- response:
2021
- status:
2022
- code: 401
2023
- message: Unauthorized
2024
- headers:
2025
- Date:
2026
- - Tue, 20 Sep 2016 22:19:43 GMT
2027
- Content-Type:
2028
- - application/json; charset=utf-8
2029
- Content-Length:
2030
- - '84'
2031
- Connection:
2032
- - keep-alive
2033
- Set-Cookie:
2034
- - __cfduid=d1ceb56cecd8d4e3adb9c7a1cc46c50c71474409982; expires=Wed, 20-Sep-17
2035
- 22:19:42 GMT; path=/; domain=.scaleapi.com; HttpOnly
2036
- - heroku-session-affinity=ACyDaANoA24IAZDxo9T///8HYgAGQX9iAAFL4mEBbAAAAAFtAAAABXdlYi4xap7l8aivGThjDk8AfEZxRe246/yo;
2037
- Version=1; Expires=Wed, 21-Sep-2016 22:19:43 GMT; Max-Age=86400; Domain=api.scaleapi.com;
2038
- Path=/; HttpOnly
2039
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
2040
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
2041
- X-Powered-By:
2042
- - Express
2043
- Access-Control-Allow-Origin:
2044
- - "*"
2045
- Access-Control-Allow-Methods:
2046
- - GET,PUT,POST,DELETE
2047
- Access-Control-Allow-Headers:
2048
- - Content-Type
2049
- Etag:
2050
- - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
2051
- Vary:
2052
- - Accept-Encoding
2053
- Via:
2054
- - 1.1 vegur
2055
- Strict-Transport-Security:
2056
- - max-age=2592000; includeSubDomains; preload
2057
- X-Content-Type-Options:
2058
- - nosniff
2059
- Server:
2060
- - cloudflare-nginx
2061
- Cf-Ray:
2062
- - 2e58a918783c3c65-CDG
2063
- body:
2064
- encoding: UTF-8
2065
- string: '{"status_code":401,"error":"Your API key does not correspond to a registered
2066
- user."}'
2067
- http_version:
2068
- recorded_at: Tue, 20 Sep 2016 22:19:40 GMT
2069
- - request:
2070
- method: post
2071
- uri: https://api.scaleapi.com/v1/task/categorize
2072
- body:
2073
- encoding: UTF-8
2074
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction
2075
- headers:
2076
- Accept:
2077
- - application/json
2078
- Accept-Encoding:
2079
- - gzip, deflate
2080
- User-Agent:
2081
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
2082
- Content-Type:
2083
- - application/x-www-form-urlencoded
2084
- Content-Length:
2085
- - '81'
2086
- Host:
2087
- - api.scaleapi.com
2088
- Authorization:
2089
- - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
2090
- response:
2091
- status:
2092
- code: 401
2093
- message: Unauthorized
2094
- headers:
2095
- Date:
2096
- - Tue, 20 Sep 2016 22:19:43 GMT
2097
- Content-Type:
2098
- - application/json; charset=utf-8
2099
- Content-Length:
2100
- - '84'
2101
- Connection:
2102
- - keep-alive
2103
- Set-Cookie:
2104
- - __cfduid=d087766238736b610055ef79edbbc6acd1474409983; expires=Wed, 20-Sep-17
2105
- 22:19:43 GMT; path=/; domain=.scaleapi.com; HttpOnly
2106
- - heroku-session-affinity=ACyDaANoA24IAfq0PNX///8HYgAGQX9iAAxOcmEBbAAAAAFtAAAABXdlYi4xahP2pf2W+eCB+B3LiHoovw/Ja2gz;
2107
- Version=1; Expires=Wed, 21-Sep-2016 22:19:43 GMT; Max-Age=86400; Domain=api.scaleapi.com;
2108
- Path=/; HttpOnly
2109
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
2110
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
2111
- X-Powered-By:
2112
- - Express
2113
- Access-Control-Allow-Origin:
2114
- - "*"
2115
- Access-Control-Allow-Methods:
2116
- - GET,PUT,POST,DELETE
2117
- Access-Control-Allow-Headers:
2118
- - Content-Type
2119
- Etag:
2120
- - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
2121
- Vary:
2122
- - Accept-Encoding
2123
- Via:
2124
- - 1.1 vegur
2125
- Strict-Transport-Security:
2126
- - max-age=2592000; includeSubDomains; preload
2127
- X-Content-Type-Options:
2128
- - nosniff
2129
- Server:
2130
- - cloudflare-nginx
2131
- Cf-Ray:
2132
- - 2e58a91c8f882f35-MAD
2133
- body:
2134
- encoding: UTF-8
2135
- string: '{"status_code":401,"error":"Your API key does not correspond to a registered
2136
- user."}'
2137
- http_version:
2138
- recorded_at: Tue, 20 Sep 2016 22:19:40 GMT
2139
- - request:
2140
- method: post
2141
- uri: https://api.scaleapi.com/v1/task/phonecall
2142
- body:
2143
- encoding: UTF-8
2144
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction&phone_number=5055006865
2145
- headers:
2146
- Accept:
2147
- - application/json
2148
- Accept-Encoding:
2149
- - gzip, deflate
2150
- User-Agent:
2151
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
2152
- Content-Type:
2153
- - application/x-www-form-urlencoded
2154
- Content-Length:
2155
- - '105'
2156
- Host:
2157
- - api.scaleapi.com
2158
- Authorization:
2159
- - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
2160
- response:
2161
- status:
2162
- code: 401
2163
- message: Unauthorized
2164
- headers:
2165
- Date:
2166
- - Tue, 20 Sep 2016 22:19:44 GMT
2167
- Content-Type:
2168
- - application/json; charset=utf-8
2169
- Content-Length:
2170
- - '84'
2171
- Connection:
2172
- - keep-alive
2173
- Set-Cookie:
2174
- - __cfduid=d0e568fc8ff5f59d9dba0e3d9ed44f7681474409984; expires=Wed, 20-Sep-17
2175
- 22:19:44 GMT; path=/; domain=.scaleapi.com; HttpOnly
2176
- - heroku-session-affinity=ACyDaANoA24IAf1yPNL///8HYgAGQYBiAAi1eGEBbAAAAAFtAAAABXdlYi4xaqEwXltri/bDN5cqtbQ2M8oD9qrD;
2177
- Version=1; Expires=Wed, 21-Sep-2016 22:19:44 GMT; Max-Age=86400; Domain=api.scaleapi.com;
2178
- Path=/; HttpOnly
2179
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
2180
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
2181
- X-Powered-By:
2182
- - Express
2183
- Access-Control-Allow-Origin:
2184
- - "*"
2185
- Access-Control-Allow-Methods:
2186
- - GET,PUT,POST,DELETE
2187
- Access-Control-Allow-Headers:
2188
- - Content-Type
2189
- Etag:
2190
- - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
2191
- Vary:
2192
- - Accept-Encoding
2193
- Via:
2194
- - 1.1 vegur
2195
- Strict-Transport-Security:
2196
- - max-age=2592000; includeSubDomains; preload
2197
- X-Content-Type-Options:
2198
- - nosniff
2199
- Server:
2200
- - cloudflare-nginx
2201
- Cf-Ray:
2202
- - 2e58a9217cea048b-CDG
2203
- body:
2204
- encoding: UTF-8
2205
- string: '{"status_code":401,"error":"Your API key does not correspond to a registered
2206
- user."}'
2207
- http_version:
2208
- recorded_at: Tue, 20 Sep 2016 22:19:41 GMT
2209
- - request:
2210
- method: post
2211
- uri: https://api.scaleapi.com/v1/task/phonecall
2212
- body:
2213
- encoding: UTF-8
2214
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction&phone_number=5055006865
2215
- headers:
2216
- Accept:
2217
- - application/json
2218
- Accept-Encoding:
2219
- - gzip, deflate
2220
- User-Agent:
2221
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
2222
- Content-Type:
2223
- - application/x-www-form-urlencoded
2224
- Content-Length:
2225
- - '105'
2226
- Host:
2227
- - api.scaleapi.com
2228
- Authorization:
2229
- - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
2230
- response:
2231
- status:
2232
- code: 401
2233
- message: Unauthorized
2234
- headers:
2235
- Date:
2236
- - Tue, 20 Sep 2016 22:19:45 GMT
2237
- Content-Type:
2238
- - application/json; charset=utf-8
2239
- Content-Length:
2240
- - '84'
2241
- Connection:
2242
- - keep-alive
2243
- Set-Cookie:
2244
- - __cfduid=d97b7b062765cc68383dbe67f786de8001474409984; expires=Wed, 20-Sep-17
2245
- 22:19:44 GMT; path=/; domain=.scaleapi.com; HttpOnly
2246
- - heroku-session-affinity=ACyDaANoA24IAVaSfNX///8HYgAGQYFiAALtBWEBbAAAAAFtAAAABXdlYi4xaiuIgcTVbHN3Xfo8luDM/8GnV3Zu;
2247
- Version=1; Expires=Wed, 21-Sep-2016 22:19:45 GMT; Max-Age=86400; Domain=api.scaleapi.com;
2248
- Path=/; HttpOnly
2249
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
2250
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
2251
- X-Powered-By:
2252
- - Express
2253
- Access-Control-Allow-Origin:
2254
- - "*"
2255
- Access-Control-Allow-Methods:
2256
- - GET,PUT,POST,DELETE
2257
- Access-Control-Allow-Headers:
2258
- - Content-Type
2259
- Etag:
2260
- - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
2261
- Vary:
2262
- - Accept-Encoding
2263
- Via:
2264
- - 1.1 vegur
2265
- Strict-Transport-Security:
2266
- - max-age=2592000; includeSubDomains; preload
2267
- X-Content-Type-Options:
2268
- - nosniff
2269
- Server:
2270
- - cloudflare-nginx
2271
- Cf-Ray:
2272
- - 2e58a9259d3b3c65-CDG
2273
- body:
2274
- encoding: UTF-8
2275
- string: '{"status_code":401,"error":"Your API key does not correspond to a registered
2276
- user."}'
2277
- http_version:
2278
- recorded_at: Tue, 20 Sep 2016 22:19:42 GMT
2279
- - request:
2280
- method: post
2281
- uri: https://api.scaleapi.com/v1/task/transcription
2282
- body:
2283
- encoding: UTF-8
2284
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Transcribe+the+given+fields.+Then+for+each+news+item+on+the+page%2C+transcribe+the+information+for+the+row.&attachment_type=website&attachment=http%3A%2F%2Fwww.google.com%2F&fields[title]=Title+of+Webpage&fields[top_result]=Title+of+the+top+result&row_fields[username]=Username+of+submitter&row_fields[comment_count]=Number+of+comments
2285
- headers:
2286
- Accept:
2287
- - application/json
2288
- Accept-Encoding:
2289
- - gzip, deflate
2290
- User-Agent:
2291
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
2292
- Content-Type:
2293
- - application/x-www-form-urlencoded
2294
- Content-Length:
2295
- - '400'
2296
- Host:
2297
- - api.scaleapi.com
2298
- Authorization:
2299
- - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
2300
- response:
2301
- status:
2302
- code: 401
2303
- message: Unauthorized
2304
- headers:
2305
- Date:
2306
- - Wed, 21 Sep 2016 18:22:56 GMT
2307
- Content-Type:
2308
- - application/json; charset=utf-8
2309
- Content-Length:
2310
- - '84'
2311
- Connection:
2312
- - keep-alive
2313
- Set-Cookie:
2314
- - __cfduid=d82f8c0f7f61675ccd23db453c21aafd11474482176; expires=Thu, 21-Sep-17
2315
- 18:22:56 GMT; path=/; domain=.scaleapi.com; HttpOnly
2316
- - heroku-session-affinity=ACyDaANoA24IAflpQ87///8HYgAHW4BiAAhy3GEBbAAAAAFtAAAABXdlYi4xan59lYCOfmLsdwCchdfTkbRP64GB;
2317
- Version=1; Expires=Thu, 22-Sep-2016 18:22:56 GMT; Max-Age=86400; Domain=api.scaleapi.com;
2318
- Path=/; HttpOnly
2319
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
2320
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
2321
- X-Powered-By:
2322
- - Express
2323
- Access-Control-Allow-Origin:
2324
- - "*"
2325
- Access-Control-Allow-Methods:
2326
- - GET,PUT,POST,DELETE
2327
- Access-Control-Allow-Headers:
2328
- - Content-Type
2329
- Etag:
2330
- - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
2331
- Vary:
2332
- - Accept-Encoding
2333
- Via:
2334
- - 1.1 vegur
2335
- Strict-Transport-Security:
2336
- - max-age=2592000; includeSubDomains; preload
2337
- X-Content-Type-Options:
2338
- - nosniff
2339
- Server:
2340
- - cloudflare-nginx
2341
- Cf-Ray:
2342
- - 2e5f8ba13f110920-CDG
2343
- body:
2344
- encoding: UTF-8
2345
- string: '{"status_code":401,"error":"Your API key does not correspond to a registered
2346
- user."}'
2347
- http_version:
2348
- recorded_at: Wed, 21 Sep 2016 18:22:55 GMT
2349
- - request:
2350
- method: post
2351
- uri: https://api.scaleapi.com/v1/task/transcription
2352
- body:
2353
- encoding: UTF-8
2354
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction&attachment_type=website
2355
- headers:
2356
- Accept:
2357
- - application/json
2358
- Accept-Encoding:
2359
- - gzip, deflate
2360
- User-Agent:
2361
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
2362
- Content-Type:
2363
- - application/x-www-form-urlencoded
2364
- Content-Length:
2365
- - '105'
2366
- Host:
2367
- - api.scaleapi.com
2368
- Authorization:
2369
- - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
2370
- response:
2371
- status:
2372
- code: 401
2373
- message: Unauthorized
2374
- headers:
2375
- Date:
2376
- - Wed, 21 Sep 2016 18:22:57 GMT
2377
- Content-Type:
2378
- - application/json; charset=utf-8
2379
- Content-Length:
2380
- - '84'
2381
- Connection:
2382
- - keep-alive
2383
- Set-Cookie:
2384
- - __cfduid=d673db8d36df62d207ca7ae8dc587bff51474482176; expires=Thu, 21-Sep-17
2385
- 18:22:56 GMT; path=/; domain=.scaleapi.com; HttpOnly
2386
- - heroku-session-affinity=ACyDaANoA24IAdf5P+j///8HYgAHW4FiAATPy2EBbAAAAAFtAAAABXdlYi4xap3s+Y72feR4kRQKUPoexJS5f55J;
2387
- Version=1; Expires=Thu, 22-Sep-2016 18:22:57 GMT; Max-Age=86400; Domain=api.scaleapi.com;
2388
- Path=/; HttpOnly
2389
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
2390
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
2391
- X-Powered-By:
2392
- - Express
2393
- Access-Control-Allow-Origin:
2394
- - "*"
2395
- Access-Control-Allow-Methods:
2396
- - GET,PUT,POST,DELETE
2397
- Access-Control-Allow-Headers:
2398
- - Content-Type
2399
- Etag:
2400
- - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
2401
- Vary:
2402
- - Accept-Encoding
2403
- Via:
2404
- - 1.1 vegur
2405
- Strict-Transport-Security:
2406
- - max-age=2592000; includeSubDomains; preload
2407
- X-Content-Type-Options:
2408
- - nosniff
2409
- Server:
2410
- - cloudflare-nginx
2411
- Cf-Ray:
2412
- - 2e5f8ba63b451061-CDG
2413
- body:
2414
- encoding: UTF-8
2415
- string: '{"status_code":401,"error":"Your API key does not correspond to a registered
2416
- user."}'
2417
- http_version:
2418
- recorded_at: Wed, 21 Sep 2016 18:22:56 GMT
2419
- - request:
2420
- method: post
2421
- uri: https://api.scaleapi.com/v1/task/transcription
2422
- body:
2423
- encoding: UTF-8
2424
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction&attachment_type=website
2425
- headers:
2426
- Accept:
2427
- - application/json
2428
- Accept-Encoding:
2429
- - gzip, deflate
2430
- User-Agent:
2431
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
2432
- Content-Type:
2433
- - application/x-www-form-urlencoded
2434
- Content-Length:
2435
- - '105'
2436
- Host:
2437
- - api.scaleapi.com
2438
- Authorization:
2439
- - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
2440
- response:
2441
- status:
2442
- code: 401
2443
- message: Unauthorized
2444
- headers:
2445
- Date:
2446
- - Wed, 21 Sep 2016 18:22:58 GMT
2447
- Content-Type:
2448
- - application/json; charset=utf-8
2449
- Content-Length:
2450
- - '84'
2451
- Connection:
2452
- - keep-alive
2453
- Set-Cookie:
2454
- - __cfduid=d465e0e9f0493f19c0adf8899acf3e5231474482177; expires=Thu, 21-Sep-17
2455
- 18:22:57 GMT; path=/; domain=.scaleapi.com; HttpOnly
2456
- - heroku-session-affinity=ACyDaANoA24IAfF7ks3///8HYgAHW4JiAAF6omEBbAAAAAFtAAAABXdlYi4xarfOGGECaJdxKWWQl1jRyWpjg12l;
2457
- Version=1; Expires=Thu, 22-Sep-2016 18:22:58 GMT; Max-Age=86400; Domain=api.scaleapi.com;
2458
- Path=/; HttpOnly
2459
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
2460
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
2461
- X-Powered-By:
2462
- - Express
2463
- Access-Control-Allow-Origin:
2464
- - "*"
2465
- Access-Control-Allow-Methods:
2466
- - GET,PUT,POST,DELETE
2467
- Access-Control-Allow-Headers:
2468
- - Content-Type
2469
- Etag:
2470
- - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
2471
- Vary:
2472
- - Accept-Encoding
2473
- Via:
2474
- - 1.1 vegur
2475
- Strict-Transport-Security:
2476
- - max-age=2592000; includeSubDomains; preload
2477
- X-Content-Type-Options:
2478
- - nosniff
2479
- Server:
2480
- - cloudflare-nginx
2481
- Cf-Ray:
2482
- - 2e5f8baa19ab2f4d-MAD
2483
- body:
2484
- encoding: UTF-8
2485
- string: '{"status_code":401,"error":"Your API key does not correspond to a registered
2486
- user."}'
2487
- http_version:
2488
- recorded_at: Wed, 21 Sep 2016 18:22:56 GMT
2489
- - request:
2490
- method: get
2491
- uri: https://api.scaleapi.com/v1/tasks
2492
- body:
2493
- encoding: UTF-8
2494
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback
2495
- headers:
2496
- Accept:
2497
- - application/json
2498
- Accept-Encoding:
2499
- - gzip, deflate
2500
- User-Agent:
2501
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
2502
- Content-Type:
2503
- - application/x-www-form-urlencoded
2504
- Content-Length:
2505
- - '52'
2506
- Host:
2507
- - api.scaleapi.com
2508
- Authorization:
2509
- - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
2510
- response:
2511
- status:
2512
- code: 401
2513
- message: Unauthorized
2514
- headers:
2515
- Date:
2516
- - Wed, 21 Sep 2016 18:22:58 GMT
2517
- Content-Type:
2518
- - application/json; charset=utf-8
2519
- Content-Length:
2520
- - '84'
2521
- Connection:
2522
- - keep-alive
2523
- Set-Cookie:
2524
- - __cfduid=d510f820a50795ebc78c405380bfe3eb71474482178; expires=Thu, 21-Sep-17
2525
- 18:22:58 GMT; path=/; domain=.scaleapi.com; HttpOnly
2526
- - heroku-session-affinity=ACyDaANoA24IAX3t08v///8HYgAHW4JiAA04d2EBbAAAAAFtAAAABXdlYi4xauP6UbV0K25gzQuFu9hHI5UoTakw;
2527
- Version=1; Expires=Thu, 22-Sep-2016 18:22:58 GMT; Max-Age=86400; Domain=api.scaleapi.com;
2528
- Path=/; HttpOnly
2529
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
2530
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
2531
- X-Powered-By:
2532
- - Express
2533
- Access-Control-Allow-Origin:
2534
- - "*"
2535
- Access-Control-Allow-Methods:
2536
- - GET,PUT,POST,DELETE
2537
- Access-Control-Allow-Headers:
2538
- - Content-Type
2539
- Etag:
2540
- - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
2541
- Vary:
2542
- - Accept-Encoding
2543
- Via:
2544
- - 1.1 vegur
2545
- Strict-Transport-Security:
2546
- - max-age=2592000; includeSubDomains; preload
2547
- X-Content-Type-Options:
2548
- - nosniff
2549
- Server:
2550
- - cloudflare-nginx
2551
- Cf-Ray:
2552
- - 2e5f8bafdf8a1061-CDG
2553
- body:
2554
- encoding: UTF-8
2555
- string: '{"status_code":401,"error":"Your API key does not correspond to a registered
2556
- user."}'
2557
- http_version:
2558
- recorded_at: Wed, 21 Sep 2016 18:22:57 GMT
2559
- - request:
2560
- method: get
2561
- uri: https://api.scaleapi.com/v1/task/abcdefghijklmn0123456789
2562
- body:
2563
- encoding: UTF-8
2564
- string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback
2565
- headers:
2566
- Accept:
2567
- - application/json
2568
- Accept-Encoding:
2569
- - gzip, deflate
2570
- User-Agent:
2571
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
2572
- Content-Type:
2573
- - application/x-www-form-urlencoded
2574
- Content-Length:
2575
- - '52'
2576
- Host:
2577
- - api.scaleapi.com
2578
- Authorization:
2579
- - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
2580
- response:
2581
- status:
2582
- code: 401
2583
- message: Unauthorized
2584
- headers:
2585
- Date:
2586
- - Wed, 21 Sep 2016 18:22:59 GMT
2587
- Content-Type:
2588
- - application/json; charset=utf-8
2589
- Content-Length:
2590
- - '84'
2591
- Connection:
2592
- - keep-alive
2593
- Set-Cookie:
2594
- - __cfduid=d1327255b225cd50b7d3addf95ebd31bb1474482179; expires=Thu, 21-Sep-17
2595
- 18:22:59 GMT; path=/; domain=.scaleapi.com; HttpOnly
2596
- - heroku-session-affinity=ACyDaANoA24IAbOeG8////8HYgAHW4NiAAndLWEBbAAAAAFtAAAABXdlYi4xaoi5/wjvIAVR2yoTVV0aNsTfRGP1;
2597
- Version=1; Expires=Thu, 22-Sep-2016 18:22:59 GMT; Max-Age=86400; Domain=api.scaleapi.com;
2598
- Path=/; HttpOnly
2599
- - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
2600
- - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
2601
- X-Powered-By:
2602
- - Express
2603
- Access-Control-Allow-Origin:
2604
- - "*"
2605
- Access-Control-Allow-Methods:
2606
- - GET,PUT,POST,DELETE
2607
- Access-Control-Allow-Headers:
2608
- - Content-Type
2609
- Etag:
2610
- - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
2611
- Vary:
2612
- - Accept-Encoding
2613
- Via:
2614
- - 1.1 vegur
2615
- Strict-Transport-Security:
2616
- - max-age=2592000; includeSubDomains; preload
2617
- X-Content-Type-Options:
2618
- - nosniff
2619
- Server:
2620
- - cloudflare-nginx
2621
- Cf-Ray:
2622
- - 2e5f8bb4a8d53c47-CDG
2623
- body:
2624
- encoding: UTF-8
2625
- string: '{"status_code":401,"error":"Your API key does not correspond to a registered
2626
- user."}'
1757
+ encoding: ASCII-8BIT
1758
+ string: !binary |-
1759
+ H4sIAAAAAAAAA3xRTWsbMRD9K+pc2oJsr916besSTCnk1kuh0BKWsTT2Cmsl
1760
+ IY1wFuP/XrSJA4HSo57ezPuYK+hEyGQ6ZFCwapbtbNnMVrufy61atWq5njfb
1761
+ 7W+QoNG5A+pzV5IDBT1zVIvF5XKZ0zMO0dFch2FxZ4EEHiOBgtgHTxUGCZmR
1762
+ SwYFOtQJJgMSrM+cimYbPCj4hs4J7m0WkVIOXqA3gsk5MZCoMA1onUBjEuU8
1763
+ F/t8FvYoevqYRY8xjoJDmIOEkk7k9QgKDI4gIWLCIYO6vjjqfBkOlEDBulmv
1764
+ m6bdtmuQQJ4tj53HoXrfO3pGb5L4hf5U/etkY+3pkZwL4oPYJxJjKG/KBscH
1765
+ 8SliyfRZ/PAkhpCoxvEnMROXHlnYXCfS+xwPIOFoyZnJ4PQFCr5PlP0LBW4S
1766
+ dB+spgzqDzxS3TTpgnx9+cCvyFMl3zv+z2l3bT1tohyDz1S1Q2EdpvB98aeu
1767
+ RLjLTrHfy/zLNFNm8bbxdpNgc1dBUJwKSWDM586a2vx2+ZV2enM4ms3hS9M2
1768
+ zZFWm2YDEgZiNMgI6nq7/QUAAP//AwAJjLEUpQIAAA==
2627
1769
  http_version:
2628
- recorded_at: Wed, 21 Sep 2016 18:22:58 GMT
1770
+ recorded_at: Sat, 29 Oct 2016 18:26:25 GMT
2629
1771
  recorded_with: VCR 3.0.3