scaleapi-ruby 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +16 -18
- data/VERSION +1 -1
- data/scaleapi-ruby.gemspec +3 -3
- data/test/fixtures/vcr_cassettes/tasks.yml +1466 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26c1c294636530362a4f60432fab27b5ac3f9c3f
|
4
|
+
data.tar.gz: cbd7b37c1a3368c636ed12972d94317cf5142042
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a8677dea8e27c82349443f3733399c7156316cf8b9a1fc69c7e5f302c3cc7319528acfd4b5cb7629fca613aaf2ef3659e6b496af8604743696908733f19df15
|
7
|
+
data.tar.gz: ab3a1e062d1e136b5754430f959510dcf76a68251c2434e62e89deb8f230aa6388361ffaf9410f047c948a488db66dfd26700b253150e4b3d41b33a2fbf6cea2
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
GEM
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
-
activesupport (5.0.
|
4
|
+
activesupport (5.0.1)
|
5
5
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
6
6
|
i18n (~> 0.7)
|
7
7
|
minitest (~> 5.1)
|
@@ -9,12 +9,12 @@ GEM
|
|
9
9
|
addressable (2.4.0)
|
10
10
|
builder (3.2.2)
|
11
11
|
coderay (1.1.1)
|
12
|
-
concurrent-ruby (1.0.
|
12
|
+
concurrent-ruby (1.0.3)
|
13
13
|
crack (0.4.3)
|
14
14
|
safe_yaml (~> 1.0.0)
|
15
15
|
descendants_tracker (0.0.4)
|
16
16
|
thread_safe (~> 0.3, >= 0.3.1)
|
17
|
-
domain_name (0.5.
|
17
|
+
domain_name (0.5.20161129)
|
18
18
|
unf (>= 0.0.5, < 1.0.0)
|
19
19
|
faraday (0.9.2)
|
20
20
|
multipart-post (>= 1.2, < 3)
|
@@ -25,10 +25,10 @@ GEM
|
|
25
25
|
faraday (~> 0.8, < 0.10)
|
26
26
|
hashie (>= 3.4)
|
27
27
|
oauth2 (~> 1.0)
|
28
|
-
hashdiff (0.3.
|
29
|
-
hashie (3.4.
|
28
|
+
hashdiff (0.3.1)
|
29
|
+
hashie (3.4.6)
|
30
30
|
highline (1.7.8)
|
31
|
-
http-cookie (1.0.
|
31
|
+
http-cookie (1.0.3)
|
32
32
|
domain_name (~> 0.5)
|
33
33
|
i18n (0.7.0)
|
34
34
|
json (1.8.3)
|
@@ -42,36 +42,34 @@ GEM
|
|
42
42
|
rake
|
43
43
|
rdoc
|
44
44
|
semver
|
45
|
-
jwt (1.5.
|
45
|
+
jwt (1.5.6)
|
46
46
|
method_source (0.8.2)
|
47
47
|
mime-types (3.1)
|
48
48
|
mime-types-data (~> 3.2015)
|
49
49
|
mime-types-data (3.2016.0521)
|
50
50
|
mini_portile2 (2.1.0)
|
51
|
-
minitest (5.
|
51
|
+
minitest (5.10.1)
|
52
52
|
multi_json (1.12.1)
|
53
|
-
multi_xml (0.
|
53
|
+
multi_xml (0.6.0)
|
54
54
|
multipart-post (2.0.0)
|
55
55
|
netrc (0.11.0)
|
56
|
-
nokogiri (1.6.8)
|
56
|
+
nokogiri (1.6.8.1)
|
57
57
|
mini_portile2 (~> 2.1.0)
|
58
|
-
pkg-config (~> 1.1.7)
|
59
58
|
oauth2 (1.2.0)
|
60
59
|
faraday (>= 0.8, < 0.10)
|
61
60
|
jwt (~> 1.0)
|
62
61
|
multi_json (~> 1.3)
|
63
62
|
multi_xml (~> 0.5)
|
64
63
|
rack (>= 1.2, < 3)
|
65
|
-
|
66
|
-
power_assert (0.3.0)
|
64
|
+
power_assert (0.4.1)
|
67
65
|
pry (0.10.4)
|
68
66
|
coderay (~> 1.1.0)
|
69
67
|
method_source (~> 0.8.1)
|
70
68
|
slop (~> 3.4)
|
71
69
|
pry-nav (0.2.4)
|
72
70
|
pry (>= 0.9.10, < 0.11.0)
|
73
|
-
rack (
|
74
|
-
rake (
|
71
|
+
rack (2.0.1)
|
72
|
+
rake (12.0.0)
|
75
73
|
rdoc (3.12.2)
|
76
74
|
json (~> 1.4)
|
77
75
|
rest-client (2.0.0)
|
@@ -83,11 +81,11 @@ GEM
|
|
83
81
|
shoulda (3.5.0)
|
84
82
|
shoulda-context (~> 1.0, >= 1.0.1)
|
85
83
|
shoulda-matchers (>= 1.4.1, < 3.0)
|
86
|
-
shoulda-context (1.2.
|
84
|
+
shoulda-context (1.2.2)
|
87
85
|
shoulda-matchers (2.8.0)
|
88
86
|
activesupport (>= 3.0.0)
|
89
87
|
slop (3.6.0)
|
90
|
-
test-unit (3.2.
|
88
|
+
test-unit (3.2.3)
|
91
89
|
power_assert
|
92
90
|
thread_safe (0.3.5)
|
93
91
|
tzinfo (1.2.2)
|
@@ -96,7 +94,7 @@ GEM
|
|
96
94
|
unf_ext
|
97
95
|
unf_ext (0.0.7.2)
|
98
96
|
vcr (3.0.3)
|
99
|
-
webmock (2.1
|
97
|
+
webmock (2.3.1)
|
100
98
|
addressable (>= 2.3.6)
|
101
99
|
crack (>= 0.3.2)
|
102
100
|
hashdiff
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
data/scaleapi-ruby.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: scaleapi-ruby 0.
|
5
|
+
# stub: scaleapi-ruby 0.2.0 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "scaleapi-ruby"
|
9
|
-
s.version = "0.
|
9
|
+
s.version = "0.2.0"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Daniel Herzog"]
|
14
|
-
s.date = "2016-
|
14
|
+
s.date = "2016-12-26"
|
15
15
|
s.description = "A ruby gem wrapper for the Scale API, containing all the endpoints available."
|
16
16
|
s.email = "info@danielherzog.es"
|
17
17
|
s.extra_rdoc_files = [
|
@@ -1768,4 +1768,1470 @@ http_interactions:
|
|
1768
1768
|
zZFWm2YDEgZiNMgI6nq7/QUAAP//AwAJjLEUpQIAAA==
|
1769
1769
|
http_version:
|
1770
1770
|
recorded_at: Sat, 29 Oct 2016 18:26:25 GMT
|
1771
|
+
- request:
|
1772
|
+
method: post
|
1773
|
+
uri: https://api.scaleapi.com/v1/task/phonecall
|
1774
|
+
body:
|
1775
|
+
encoding: UTF-8
|
1776
|
+
string: '{"callback_url":"http://www.example.com/callback","instruction":"Call
|
1777
|
+
this person and tell me his email address. Ask if he''s happy too.","phone_number":"5055006865","entity_name":"Alexandr
|
1778
|
+
Wang","fields":{"email":"Email Address"},"script":"Hello ! Are you happy today?
|
1779
|
+
(pause) One more thing - what is your email address?","choices":["He is happy","He
|
1780
|
+
is not happy"]}'
|
1781
|
+
headers:
|
1782
|
+
Accept:
|
1783
|
+
- application/json
|
1784
|
+
Accept-Encoding:
|
1785
|
+
- gzip, deflate
|
1786
|
+
User-Agent:
|
1787
|
+
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
|
1788
|
+
Content-Type:
|
1789
|
+
- application/json
|
1790
|
+
Content-Length:
|
1791
|
+
- '367'
|
1792
|
+
Host:
|
1793
|
+
- api.scaleapi.com
|
1794
|
+
Authorization:
|
1795
|
+
- Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
|
1796
|
+
response:
|
1797
|
+
status:
|
1798
|
+
code: 401
|
1799
|
+
message: Unauthorized
|
1800
|
+
headers:
|
1801
|
+
Date:
|
1802
|
+
- Mon, 26 Dec 2016 15:46:27 GMT
|
1803
|
+
Content-Type:
|
1804
|
+
- application/json; charset=utf-8
|
1805
|
+
Content-Length:
|
1806
|
+
- '84'
|
1807
|
+
Connection:
|
1808
|
+
- keep-alive
|
1809
|
+
Set-Cookie:
|
1810
|
+
- __cfduid=d5b96c4783a83f685d6ab8aa9c4d0131f1482767186; expires=Tue, 26-Dec-17
|
1811
|
+
15:46:26 GMT; path=/; domain=.scaleapi.com; HttpOnly
|
1812
|
+
- heroku-session-affinity=ACyDaANoA24IAVbCet3///8HYgALtNNiAAOYfmEBbAAAAAFtAAAABXdlYi4xamwMbBP0+kxKt4cjQgAMpLS2AQy+;
|
1813
|
+
Version=1; Expires=Tue, 27-Dec-2016 15:46:27 GMT; Max-Age=86400; Domain=api.scaleapi.com;
|
1814
|
+
Path=/; HttpOnly
|
1815
|
+
- scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
|
1816
|
+
- scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
|
1817
|
+
X-Powered-By:
|
1818
|
+
- Express
|
1819
|
+
Access-Control-Allow-Origin:
|
1820
|
+
- https://docs.scaleapi.com
|
1821
|
+
Access-Control-Allow-Methods:
|
1822
|
+
- GET,PUT,POST,DELETE
|
1823
|
+
Access-Control-Allow-Headers:
|
1824
|
+
- Content-Type
|
1825
|
+
Access-Control-Allow-Credentials:
|
1826
|
+
- 'true'
|
1827
|
+
Etag:
|
1828
|
+
- W/"54-hB1kwjCx4qwGwMoLdUIV9w"
|
1829
|
+
Vary:
|
1830
|
+
- Accept-Encoding
|
1831
|
+
Via:
|
1832
|
+
- 1.1 vegur
|
1833
|
+
Strict-Transport-Security:
|
1834
|
+
- max-age=2592000; includeSubDomains; preload
|
1835
|
+
X-Content-Type-Options:
|
1836
|
+
- nosniff
|
1837
|
+
Server:
|
1838
|
+
- cloudflare-nginx
|
1839
|
+
Cf-Ray:
|
1840
|
+
- 3175aa658d6f2f5f-MAD
|
1841
|
+
body:
|
1842
|
+
encoding: UTF-8
|
1843
|
+
string: '{"status_code":401,"error":"Your API key does not correspond to a registered
|
1844
|
+
user."}'
|
1845
|
+
http_version:
|
1846
|
+
recorded_at: Mon, 26 Dec 2016 15:46:27 GMT
|
1847
|
+
- request:
|
1848
|
+
method: post
|
1849
|
+
uri: https://api.scaleapi.com/v1/task/annotation
|
1850
|
+
body:
|
1851
|
+
encoding: UTF-8
|
1852
|
+
string: '{"callback_url":"http://www.example.com/callback","instruction":"Draw
|
1853
|
+
a box around each baby cow and big cow.","attachment_type":"image","attachment":"http://i.imgur.com/v4cBreD.jpg","objects_to_annotate":["baby
|
1854
|
+
cow","big cow"],"with_labels":true,"examples":[{"correct":false,"image":"http://i.imgur.com/lj6e98s.jpg","explanation":"The
|
1855
|
+
boxes are tight and accurate"},{"correct":true,"image":"http://i.imgur.com/HIrvIDq.jpg","explanation":"The
|
1856
|
+
boxes are neither accurate nor complete"}]}'
|
1857
|
+
headers:
|
1858
|
+
Accept:
|
1859
|
+
- application/json
|
1860
|
+
Accept-Encoding:
|
1861
|
+
- gzip, deflate
|
1862
|
+
User-Agent:
|
1863
|
+
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
|
1864
|
+
Content-Type:
|
1865
|
+
- application/json
|
1866
|
+
Content-Length:
|
1867
|
+
- '486'
|
1868
|
+
Host:
|
1869
|
+
- api.scaleapi.com
|
1870
|
+
Authorization:
|
1871
|
+
- Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
|
1872
|
+
response:
|
1873
|
+
status:
|
1874
|
+
code: 401
|
1875
|
+
message: Unauthorized
|
1876
|
+
headers:
|
1877
|
+
Date:
|
1878
|
+
- Mon, 26 Dec 2016 15:46:28 GMT
|
1879
|
+
Content-Type:
|
1880
|
+
- application/json; charset=utf-8
|
1881
|
+
Content-Length:
|
1882
|
+
- '84'
|
1883
|
+
Connection:
|
1884
|
+
- keep-alive
|
1885
|
+
Set-Cookie:
|
1886
|
+
- __cfduid=d14a35cfaaad2378d7d0c2ba37073d45e1482767187; expires=Tue, 26-Dec-17
|
1887
|
+
15:46:27 GMT; path=/; domain=.scaleapi.com; HttpOnly
|
1888
|
+
- heroku-session-affinity=ACyDaANoA24IAdC8I9b///8HYgALtNRiAAEFDWEBbAAAAAFtAAAABXdlYi4xahW1pzbTIceBmg30wbb/NxO1ajzk;
|
1889
|
+
Version=1; Expires=Tue, 27-Dec-2016 15:46:28 GMT; Max-Age=86400; Domain=api.scaleapi.com;
|
1890
|
+
Path=/; HttpOnly
|
1891
|
+
- scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
|
1892
|
+
- scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
|
1893
|
+
X-Powered-By:
|
1894
|
+
- Express
|
1895
|
+
Access-Control-Allow-Origin:
|
1896
|
+
- https://docs.scaleapi.com
|
1897
|
+
Access-Control-Allow-Methods:
|
1898
|
+
- GET,PUT,POST,DELETE
|
1899
|
+
Access-Control-Allow-Headers:
|
1900
|
+
- Content-Type
|
1901
|
+
Access-Control-Allow-Credentials:
|
1902
|
+
- 'true'
|
1903
|
+
Etag:
|
1904
|
+
- W/"54-hB1kwjCx4qwGwMoLdUIV9w"
|
1905
|
+
Vary:
|
1906
|
+
- Accept-Encoding
|
1907
|
+
Via:
|
1908
|
+
- 1.1 vegur
|
1909
|
+
Strict-Transport-Security:
|
1910
|
+
- max-age=2592000; includeSubDomains; preload
|
1911
|
+
X-Content-Type-Options:
|
1912
|
+
- nosniff
|
1913
|
+
Server:
|
1914
|
+
- cloudflare-nginx
|
1915
|
+
Cf-Ray:
|
1916
|
+
- 3175aa6adc380dc9-MAD
|
1917
|
+
body:
|
1918
|
+
encoding: UTF-8
|
1919
|
+
string: '{"status_code":401,"error":"Your API key does not correspond to a registered
|
1920
|
+
user."}'
|
1921
|
+
http_version:
|
1922
|
+
recorded_at: Mon, 26 Dec 2016 15:46:27 GMT
|
1923
|
+
- request:
|
1924
|
+
method: post
|
1925
|
+
uri: https://api.scaleapi.com/v1/task/annotation
|
1926
|
+
body:
|
1927
|
+
encoding: UTF-8
|
1928
|
+
string: '{"callback_url":"http://www.example.com/callback"}'
|
1929
|
+
headers:
|
1930
|
+
Accept:
|
1931
|
+
- application/json
|
1932
|
+
Accept-Encoding:
|
1933
|
+
- gzip, deflate
|
1934
|
+
User-Agent:
|
1935
|
+
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
|
1936
|
+
Content-Type:
|
1937
|
+
- application/json
|
1938
|
+
Content-Length:
|
1939
|
+
- '50'
|
1940
|
+
Host:
|
1941
|
+
- api.scaleapi.com
|
1942
|
+
Authorization:
|
1943
|
+
- Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
|
1944
|
+
response:
|
1945
|
+
status:
|
1946
|
+
code: 401
|
1947
|
+
message: Unauthorized
|
1948
|
+
headers:
|
1949
|
+
Date:
|
1950
|
+
- Mon, 26 Dec 2016 15:46:28 GMT
|
1951
|
+
Content-Type:
|
1952
|
+
- application/json; charset=utf-8
|
1953
|
+
Content-Length:
|
1954
|
+
- '84'
|
1955
|
+
Connection:
|
1956
|
+
- keep-alive
|
1957
|
+
Set-Cookie:
|
1958
|
+
- __cfduid=ddbcff803d0e35d31876320b019d296281482767188; expires=Tue, 26-Dec-17
|
1959
|
+
15:46:28 GMT; path=/; domain=.scaleapi.com; HttpOnly
|
1960
|
+
- heroku-session-affinity=ACyDaANoA24IAdQV8dj///8HYgALtNRiAAyd4WEBbAAAAAFtAAAABXdlYi4xarK/YOBSL9IwJWfmsQEY7ziPAxEW;
|
1961
|
+
Version=1; Expires=Tue, 27-Dec-2016 15:46:28 GMT; Max-Age=86400; Domain=api.scaleapi.com;
|
1962
|
+
Path=/; HttpOnly
|
1963
|
+
- scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
|
1964
|
+
- scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
|
1965
|
+
X-Powered-By:
|
1966
|
+
- Express
|
1967
|
+
Access-Control-Allow-Origin:
|
1968
|
+
- https://docs.scaleapi.com
|
1969
|
+
Access-Control-Allow-Methods:
|
1970
|
+
- GET,PUT,POST,DELETE
|
1971
|
+
Access-Control-Allow-Headers:
|
1972
|
+
- Content-Type
|
1973
|
+
Access-Control-Allow-Credentials:
|
1974
|
+
- 'true'
|
1975
|
+
Etag:
|
1976
|
+
- W/"54-hB1kwjCx4qwGwMoLdUIV9w"
|
1977
|
+
Vary:
|
1978
|
+
- Accept-Encoding
|
1979
|
+
Via:
|
1980
|
+
- 1.1 vegur
|
1981
|
+
Strict-Transport-Security:
|
1982
|
+
- max-age=2592000; includeSubDomains; preload
|
1983
|
+
X-Content-Type-Options:
|
1984
|
+
- nosniff
|
1985
|
+
Server:
|
1986
|
+
- cloudflare-nginx
|
1987
|
+
Cf-Ray:
|
1988
|
+
- 3175aa6f5e200db7-MAD
|
1989
|
+
body:
|
1990
|
+
encoding: UTF-8
|
1991
|
+
string: '{"status_code":401,"error":"Your API key does not correspond to a registered
|
1992
|
+
user."}'
|
1993
|
+
http_version:
|
1994
|
+
recorded_at: Mon, 26 Dec 2016 15:46:28 GMT
|
1995
|
+
- request:
|
1996
|
+
method: post
|
1997
|
+
uri: https://api.scaleapi.com/v1/task/annotation
|
1998
|
+
body:
|
1999
|
+
encoding: UTF-8
|
2000
|
+
string: '{"callback_url":"http://www.example.com/callback"}'
|
2001
|
+
headers:
|
2002
|
+
Accept:
|
2003
|
+
- application/json
|
2004
|
+
Accept-Encoding:
|
2005
|
+
- gzip, deflate
|
2006
|
+
User-Agent:
|
2007
|
+
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
|
2008
|
+
Content-Type:
|
2009
|
+
- application/json
|
2010
|
+
Content-Length:
|
2011
|
+
- '50'
|
2012
|
+
Host:
|
2013
|
+
- api.scaleapi.com
|
2014
|
+
Authorization:
|
2015
|
+
- Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
|
2016
|
+
response:
|
2017
|
+
status:
|
2018
|
+
code: 401
|
2019
|
+
message: Unauthorized
|
2020
|
+
headers:
|
2021
|
+
Date:
|
2022
|
+
- Mon, 26 Dec 2016 15:46:29 GMT
|
2023
|
+
Content-Type:
|
2024
|
+
- application/json; charset=utf-8
|
2025
|
+
Content-Length:
|
2026
|
+
- '84'
|
2027
|
+
Connection:
|
2028
|
+
- keep-alive
|
2029
|
+
Set-Cookie:
|
2030
|
+
- __cfduid=d17de361d6aa2e9c93437ec49f9d43acd1482767189; expires=Tue, 26-Dec-17
|
2031
|
+
15:46:29 GMT; path=/; domain=.scaleapi.com; HttpOnly
|
2032
|
+
- heroku-session-affinity=ACyDaANoA24IAVplcvf///8HYgALtNViAAkMpGEBbAAAAAFtAAAABXdlYi4xav2BnmPXHd+tCCfn8ty2MtmRDcEG;
|
2033
|
+
Version=1; Expires=Tue, 27-Dec-2016 15:46:29 GMT; Max-Age=86400; Domain=api.scaleapi.com;
|
2034
|
+
Path=/; HttpOnly
|
2035
|
+
- scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
|
2036
|
+
- scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
|
2037
|
+
X-Powered-By:
|
2038
|
+
- Express
|
2039
|
+
Access-Control-Allow-Origin:
|
2040
|
+
- https://docs.scaleapi.com
|
2041
|
+
Access-Control-Allow-Methods:
|
2042
|
+
- GET,PUT,POST,DELETE
|
2043
|
+
Access-Control-Allow-Headers:
|
2044
|
+
- Content-Type
|
2045
|
+
Access-Control-Allow-Credentials:
|
2046
|
+
- 'true'
|
2047
|
+
Etag:
|
2048
|
+
- W/"54-hB1kwjCx4qwGwMoLdUIV9w"
|
2049
|
+
Vary:
|
2050
|
+
- Accept-Encoding
|
2051
|
+
Via:
|
2052
|
+
- 1.1 vegur
|
2053
|
+
Strict-Transport-Security:
|
2054
|
+
- max-age=2592000; includeSubDomains; preload
|
2055
|
+
X-Content-Type-Options:
|
2056
|
+
- nosniff
|
2057
|
+
Server:
|
2058
|
+
- cloudflare-nginx
|
2059
|
+
Cf-Ray:
|
2060
|
+
- 3175aa745aeb2f2f-MAD
|
2061
|
+
body:
|
2062
|
+
encoding: UTF-8
|
2063
|
+
string: '{"status_code":401,"error":"Your API key does not correspond to a registered
|
2064
|
+
user."}'
|
2065
|
+
http_version:
|
2066
|
+
recorded_at: Mon, 26 Dec 2016 15:46:29 GMT
|
2067
|
+
- request:
|
2068
|
+
method: post
|
2069
|
+
uri: https://api.scaleapi.com/v1/task/comparison
|
2070
|
+
body:
|
2071
|
+
encoding: UTF-8
|
2072
|
+
string: '{"callback_url":"http://www.example.com/callback","instruction":"Do
|
2073
|
+
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"]}'
|
2074
|
+
headers:
|
2075
|
+
Accept:
|
2076
|
+
- application/json
|
2077
|
+
Accept-Encoding:
|
2078
|
+
- gzip, deflate
|
2079
|
+
User-Agent:
|
2080
|
+
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
|
2081
|
+
Content-Type:
|
2082
|
+
- application/json
|
2083
|
+
Content-Length:
|
2084
|
+
- '306'
|
2085
|
+
Host:
|
2086
|
+
- api.scaleapi.com
|
2087
|
+
Authorization:
|
2088
|
+
- Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
|
2089
|
+
response:
|
2090
|
+
status:
|
2091
|
+
code: 401
|
2092
|
+
message: Unauthorized
|
2093
|
+
headers:
|
2094
|
+
Date:
|
2095
|
+
- Mon, 26 Dec 2016 15:46:30 GMT
|
2096
|
+
Content-Type:
|
2097
|
+
- application/json; charset=utf-8
|
2098
|
+
Content-Length:
|
2099
|
+
- '84'
|
2100
|
+
Connection:
|
2101
|
+
- keep-alive
|
2102
|
+
Set-Cookie:
|
2103
|
+
- __cfduid=d3bafae1343c7181eae5473104fbe45691482767189; expires=Tue, 26-Dec-17
|
2104
|
+
15:46:29 GMT; path=/; domain=.scaleapi.com; HttpOnly
|
2105
|
+
- heroku-session-affinity=ACyDaANoA24IATEYkeX///8HYgALtNZiAAXHS2EBbAAAAAFtAAAABXdlYi4xavqpVXQCW/n1xltBShgnJ082l96v;
|
2106
|
+
Version=1; Expires=Tue, 27-Dec-2016 15:46:30 GMT; Max-Age=86400; Domain=api.scaleapi.com;
|
2107
|
+
Path=/; HttpOnly
|
2108
|
+
- scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
|
2109
|
+
- scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
|
2110
|
+
X-Powered-By:
|
2111
|
+
- Express
|
2112
|
+
Access-Control-Allow-Origin:
|
2113
|
+
- https://docs.scaleapi.com
|
2114
|
+
Access-Control-Allow-Methods:
|
2115
|
+
- GET,PUT,POST,DELETE
|
2116
|
+
Access-Control-Allow-Headers:
|
2117
|
+
- Content-Type
|
2118
|
+
Access-Control-Allow-Credentials:
|
2119
|
+
- 'true'
|
2120
|
+
Etag:
|
2121
|
+
- W/"54-hB1kwjCx4qwGwMoLdUIV9w"
|
2122
|
+
Vary:
|
2123
|
+
- Accept-Encoding
|
2124
|
+
Via:
|
2125
|
+
- 1.1 vegur
|
2126
|
+
Strict-Transport-Security:
|
2127
|
+
- max-age=2592000; includeSubDomains; preload
|
2128
|
+
X-Content-Type-Options:
|
2129
|
+
- nosniff
|
2130
|
+
Server:
|
2131
|
+
- cloudflare-nginx
|
2132
|
+
Cf-Ray:
|
2133
|
+
- 3175aa797bdd2f77-MAD
|
2134
|
+
body:
|
2135
|
+
encoding: UTF-8
|
2136
|
+
string: '{"status_code":401,"error":"Your API key does not correspond to a registered
|
2137
|
+
user."}'
|
2138
|
+
http_version:
|
2139
|
+
recorded_at: Mon, 26 Dec 2016 15:46:30 GMT
|
2140
|
+
- request:
|
2141
|
+
method: post
|
2142
|
+
uri: https://api.scaleapi.com/v1/task/comparison
|
2143
|
+
body:
|
2144
|
+
encoding: UTF-8
|
2145
|
+
string: '{"callback_url":"http://www.example.com/callback","instruction":"Test
|
2146
|
+
instruction","choices":["a","b"]}'
|
2147
|
+
headers:
|
2148
|
+
Accept:
|
2149
|
+
- application/json
|
2150
|
+
Accept-Encoding:
|
2151
|
+
- gzip, deflate
|
2152
|
+
User-Agent:
|
2153
|
+
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
|
2154
|
+
Content-Type:
|
2155
|
+
- application/json
|
2156
|
+
Content-Length:
|
2157
|
+
- '103'
|
2158
|
+
Host:
|
2159
|
+
- api.scaleapi.com
|
2160
|
+
Authorization:
|
2161
|
+
- Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
|
2162
|
+
response:
|
2163
|
+
status:
|
2164
|
+
code: 401
|
2165
|
+
message: Unauthorized
|
2166
|
+
headers:
|
2167
|
+
Date:
|
2168
|
+
- Mon, 26 Dec 2016 15:46:30 GMT
|
2169
|
+
Content-Type:
|
2170
|
+
- application/json; charset=utf-8
|
2171
|
+
Content-Length:
|
2172
|
+
- '84'
|
2173
|
+
Connection:
|
2174
|
+
- keep-alive
|
2175
|
+
Set-Cookie:
|
2176
|
+
- __cfduid=d69c803167bb1f42e2ebaa79f0faea09e1482767190; expires=Tue, 26-Dec-17
|
2177
|
+
15:46:30 GMT; path=/; domain=.scaleapi.com; HttpOnly
|
2178
|
+
- heroku-session-affinity=ACyDaANoA24IAZjbQt3///8HYgALtNZiAAwekGEBbAAAAAFtAAAABXdlYi4xak0m8/K14aawjfz4XPEFcdq8P/Js;
|
2179
|
+
Version=1; Expires=Tue, 27-Dec-2016 15:46:30 GMT; Max-Age=86400; Domain=api.scaleapi.com;
|
2180
|
+
Path=/; HttpOnly
|
2181
|
+
- scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
|
2182
|
+
- scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
|
2183
|
+
X-Powered-By:
|
2184
|
+
- Express
|
2185
|
+
Access-Control-Allow-Origin:
|
2186
|
+
- https://docs.scaleapi.com
|
2187
|
+
Access-Control-Allow-Methods:
|
2188
|
+
- GET,PUT,POST,DELETE
|
2189
|
+
Access-Control-Allow-Headers:
|
2190
|
+
- Content-Type
|
2191
|
+
Access-Control-Allow-Credentials:
|
2192
|
+
- 'true'
|
2193
|
+
Etag:
|
2194
|
+
- W/"54-hB1kwjCx4qwGwMoLdUIV9w"
|
2195
|
+
Vary:
|
2196
|
+
- Accept-Encoding
|
2197
|
+
Via:
|
2198
|
+
- 1.1 vegur
|
2199
|
+
Strict-Transport-Security:
|
2200
|
+
- max-age=2592000; includeSubDomains; preload
|
2201
|
+
X-Content-Type-Options:
|
2202
|
+
- nosniff
|
2203
|
+
Server:
|
2204
|
+
- cloudflare-nginx
|
2205
|
+
Cf-Ray:
|
2206
|
+
- 3175aa7de87b5456-MAD
|
2207
|
+
body:
|
2208
|
+
encoding: UTF-8
|
2209
|
+
string: '{"status_code":401,"error":"Your API key does not correspond to a registered
|
2210
|
+
user."}'
|
2211
|
+
http_version:
|
2212
|
+
recorded_at: Mon, 26 Dec 2016 15:46:30 GMT
|
2213
|
+
- request:
|
2214
|
+
method: post
|
2215
|
+
uri: https://api.scaleapi.com/v1/task/comparison
|
2216
|
+
body:
|
2217
|
+
encoding: UTF-8
|
2218
|
+
string: '{"callback_url":"http://www.example.com/callback","instruction":"Test
|
2219
|
+
instruction","choices":["a","b"]}'
|
2220
|
+
headers:
|
2221
|
+
Accept:
|
2222
|
+
- application/json
|
2223
|
+
Accept-Encoding:
|
2224
|
+
- gzip, deflate
|
2225
|
+
User-Agent:
|
2226
|
+
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
|
2227
|
+
Content-Type:
|
2228
|
+
- application/json
|
2229
|
+
Content-Length:
|
2230
|
+
- '103'
|
2231
|
+
Host:
|
2232
|
+
- api.scaleapi.com
|
2233
|
+
Authorization:
|
2234
|
+
- Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
|
2235
|
+
response:
|
2236
|
+
status:
|
2237
|
+
code: 401
|
2238
|
+
message: Unauthorized
|
2239
|
+
headers:
|
2240
|
+
Date:
|
2241
|
+
- Mon, 26 Dec 2016 15:46:31 GMT
|
2242
|
+
Content-Type:
|
2243
|
+
- application/json; charset=utf-8
|
2244
|
+
Content-Length:
|
2245
|
+
- '84'
|
2246
|
+
Connection:
|
2247
|
+
- keep-alive
|
2248
|
+
Set-Cookie:
|
2249
|
+
- __cfduid=dc9703904d8e4240e5698489de2b9ff7a1482767191; expires=Tue, 26-Dec-17
|
2250
|
+
15:46:31 GMT; path=/; domain=.scaleapi.com; HttpOnly
|
2251
|
+
- heroku-session-affinity=ACyDaANoA24IAZglUtj///8HYgALtNdiAAd/lWEBbAAAAAFtAAAABXdlYi4xamo5XimPns9FL+EIqTgLqeyQt9+a;
|
2252
|
+
Version=1; Expires=Tue, 27-Dec-2016 15:46:31 GMT; Max-Age=86400; Domain=api.scaleapi.com;
|
2253
|
+
Path=/; HttpOnly
|
2254
|
+
- scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
|
2255
|
+
- scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
|
2256
|
+
X-Powered-By:
|
2257
|
+
- Express
|
2258
|
+
Access-Control-Allow-Origin:
|
2259
|
+
- https://docs.scaleapi.com
|
2260
|
+
Access-Control-Allow-Methods:
|
2261
|
+
- GET,PUT,POST,DELETE
|
2262
|
+
Access-Control-Allow-Headers:
|
2263
|
+
- Content-Type
|
2264
|
+
Access-Control-Allow-Credentials:
|
2265
|
+
- 'true'
|
2266
|
+
Etag:
|
2267
|
+
- W/"54-hB1kwjCx4qwGwMoLdUIV9w"
|
2268
|
+
Vary:
|
2269
|
+
- Accept-Encoding
|
2270
|
+
Via:
|
2271
|
+
- 1.1 vegur
|
2272
|
+
Strict-Transport-Security:
|
2273
|
+
- max-age=2592000; includeSubDomains; preload
|
2274
|
+
X-Content-Type-Options:
|
2275
|
+
- nosniff
|
2276
|
+
Server:
|
2277
|
+
- cloudflare-nginx
|
2278
|
+
Cf-Ray:
|
2279
|
+
- 3175aa808b81549e-MAD
|
2280
|
+
body:
|
2281
|
+
encoding: UTF-8
|
2282
|
+
string: '{"status_code":401,"error":"Your API key does not correspond to a registered
|
2283
|
+
user."}'
|
2284
|
+
http_version:
|
2285
|
+
recorded_at: Mon, 26 Dec 2016 15:46:31 GMT
|
2286
|
+
- request:
|
2287
|
+
method: post
|
2288
|
+
uri: https://api.scaleapi.com/v1/task/categorize
|
2289
|
+
body:
|
2290
|
+
encoding: UTF-8
|
2291
|
+
string: '{"callback_url":"http://www.example.com/callback","instruction":"Is
|
2292
|
+
this company public or private?","attachment_type":"website","attachment":"http://www.google.com/","categories":["public","private"],"allow_multiple":false}'
|
2293
|
+
headers:
|
2294
|
+
Accept:
|
2295
|
+
- application/json
|
2296
|
+
Accept-Encoding:
|
2297
|
+
- gzip, deflate
|
2298
|
+
User-Agent:
|
2299
|
+
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
|
2300
|
+
Content-Type:
|
2301
|
+
- application/json
|
2302
|
+
Content-Length:
|
2303
|
+
- '224'
|
2304
|
+
Host:
|
2305
|
+
- api.scaleapi.com
|
2306
|
+
Authorization:
|
2307
|
+
- Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
|
2308
|
+
response:
|
2309
|
+
status:
|
2310
|
+
code: 401
|
2311
|
+
message: Unauthorized
|
2312
|
+
headers:
|
2313
|
+
Date:
|
2314
|
+
- Mon, 26 Dec 2016 15:46:32 GMT
|
2315
|
+
Content-Type:
|
2316
|
+
- application/json; charset=utf-8
|
2317
|
+
Content-Length:
|
2318
|
+
- '84'
|
2319
|
+
Connection:
|
2320
|
+
- keep-alive
|
2321
|
+
Set-Cookie:
|
2322
|
+
- __cfduid=de43fa0c097ad72765364f4b4135f313e1482767191; expires=Tue, 26-Dec-17
|
2323
|
+
15:46:31 GMT; path=/; domain=.scaleapi.com; HttpOnly
|
2324
|
+
- heroku-session-affinity=ACyDaANoA24IATM7R+b///8HYgALtNhiAAQ2xmEBbAAAAAFtAAAABXdlYi4xaicnDLdoGeKzaNBcKsx+anWzc80j;
|
2325
|
+
Version=1; Expires=Tue, 27-Dec-2016 15:46:32 GMT; Max-Age=86400; Domain=api.scaleapi.com;
|
2326
|
+
Path=/; HttpOnly
|
2327
|
+
- scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
|
2328
|
+
- scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
|
2329
|
+
X-Powered-By:
|
2330
|
+
- Express
|
2331
|
+
Access-Control-Allow-Origin:
|
2332
|
+
- https://docs.scaleapi.com
|
2333
|
+
Access-Control-Allow-Methods:
|
2334
|
+
- GET,PUT,POST,DELETE
|
2335
|
+
Access-Control-Allow-Headers:
|
2336
|
+
- Content-Type
|
2337
|
+
Access-Control-Allow-Credentials:
|
2338
|
+
- 'true'
|
2339
|
+
Etag:
|
2340
|
+
- W/"54-hB1kwjCx4qwGwMoLdUIV9w"
|
2341
|
+
Vary:
|
2342
|
+
- Accept-Encoding
|
2343
|
+
Via:
|
2344
|
+
- 1.1 vegur
|
2345
|
+
Strict-Transport-Security:
|
2346
|
+
- max-age=2592000; includeSubDomains; preload
|
2347
|
+
X-Content-Type-Options:
|
2348
|
+
- nosniff
|
2349
|
+
Server:
|
2350
|
+
- cloudflare-nginx
|
2351
|
+
Cf-Ray:
|
2352
|
+
- 3175aa84f974545c-MAD
|
2353
|
+
body:
|
2354
|
+
encoding: UTF-8
|
2355
|
+
string: '{"status_code":401,"error":"Your API key does not correspond to a registered
|
2356
|
+
user."}'
|
2357
|
+
http_version:
|
2358
|
+
recorded_at: Mon, 26 Dec 2016 15:46:32 GMT
|
2359
|
+
- request:
|
2360
|
+
method: post
|
2361
|
+
uri: https://api.scaleapi.com/v1/task/categorize
|
2362
|
+
body:
|
2363
|
+
encoding: UTF-8
|
2364
|
+
string: '{"callback_url":"http://www.example.com/callback","instruction":"Test
|
2365
|
+
instruction"}'
|
2366
|
+
headers:
|
2367
|
+
Accept:
|
2368
|
+
- application/json
|
2369
|
+
Accept-Encoding:
|
2370
|
+
- gzip, deflate
|
2371
|
+
User-Agent:
|
2372
|
+
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
|
2373
|
+
Content-Type:
|
2374
|
+
- application/json
|
2375
|
+
Content-Length:
|
2376
|
+
- '83'
|
2377
|
+
Host:
|
2378
|
+
- api.scaleapi.com
|
2379
|
+
Authorization:
|
2380
|
+
- Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
|
2381
|
+
response:
|
2382
|
+
status:
|
2383
|
+
code: 401
|
2384
|
+
message: Unauthorized
|
2385
|
+
headers:
|
2386
|
+
Date:
|
2387
|
+
- Mon, 26 Dec 2016 15:46:32 GMT
|
2388
|
+
Content-Type:
|
2389
|
+
- application/json; charset=utf-8
|
2390
|
+
Content-Length:
|
2391
|
+
- '84'
|
2392
|
+
Connection:
|
2393
|
+
- keep-alive
|
2394
|
+
Set-Cookie:
|
2395
|
+
- __cfduid=da4f93599f42c8d328bda54db8dd33d221482767192; expires=Tue, 26-Dec-17
|
2396
|
+
15:46:32 GMT; path=/; domain=.scaleapi.com; HttpOnly
|
2397
|
+
- heroku-session-affinity=ACyDaANoA24IATyhudz///8HYgALtNhiAAtW5mEBbAAAAAFtAAAABXdlYi4xam9s1eaKDiySGT7A1tnGy6lTjulE;
|
2398
|
+
Version=1; Expires=Tue, 27-Dec-2016 15:46:32 GMT; Max-Age=86400; Domain=api.scaleapi.com;
|
2399
|
+
Path=/; HttpOnly
|
2400
|
+
- scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
|
2401
|
+
- scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
|
2402
|
+
X-Powered-By:
|
2403
|
+
- Express
|
2404
|
+
Access-Control-Allow-Origin:
|
2405
|
+
- https://docs.scaleapi.com
|
2406
|
+
Access-Control-Allow-Methods:
|
2407
|
+
- GET,PUT,POST,DELETE
|
2408
|
+
Access-Control-Allow-Headers:
|
2409
|
+
- Content-Type
|
2410
|
+
Access-Control-Allow-Credentials:
|
2411
|
+
- 'true'
|
2412
|
+
Etag:
|
2413
|
+
- W/"54-hB1kwjCx4qwGwMoLdUIV9w"
|
2414
|
+
Vary:
|
2415
|
+
- Accept-Encoding
|
2416
|
+
Via:
|
2417
|
+
- 1.1 vegur
|
2418
|
+
Strict-Transport-Security:
|
2419
|
+
- max-age=2592000; includeSubDomains; preload
|
2420
|
+
X-Content-Type-Options:
|
2421
|
+
- nosniff
|
2422
|
+
Server:
|
2423
|
+
- cloudflare-nginx
|
2424
|
+
Cf-Ray:
|
2425
|
+
- 3175aa8a3dbe5456-MAD
|
2426
|
+
body:
|
2427
|
+
encoding: UTF-8
|
2428
|
+
string: '{"status_code":401,"error":"Your API key does not correspond to a registered
|
2429
|
+
user."}'
|
2430
|
+
http_version:
|
2431
|
+
recorded_at: Mon, 26 Dec 2016 15:46:32 GMT
|
2432
|
+
- request:
|
2433
|
+
method: post
|
2434
|
+
uri: https://api.scaleapi.com/v1/task/categorize
|
2435
|
+
body:
|
2436
|
+
encoding: UTF-8
|
2437
|
+
string: '{"callback_url":"http://www.example.com/callback","instruction":"Test
|
2438
|
+
instruction"}'
|
2439
|
+
headers:
|
2440
|
+
Accept:
|
2441
|
+
- application/json
|
2442
|
+
Accept-Encoding:
|
2443
|
+
- gzip, deflate
|
2444
|
+
User-Agent:
|
2445
|
+
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
|
2446
|
+
Content-Type:
|
2447
|
+
- application/json
|
2448
|
+
Content-Length:
|
2449
|
+
- '83'
|
2450
|
+
Host:
|
2451
|
+
- api.scaleapi.com
|
2452
|
+
Authorization:
|
2453
|
+
- Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
|
2454
|
+
response:
|
2455
|
+
status:
|
2456
|
+
code: 401
|
2457
|
+
message: Unauthorized
|
2458
|
+
headers:
|
2459
|
+
Date:
|
2460
|
+
- Mon, 26 Dec 2016 15:46:33 GMT
|
2461
|
+
Content-Type:
|
2462
|
+
- application/json; charset=utf-8
|
2463
|
+
Content-Length:
|
2464
|
+
- '84'
|
2465
|
+
Connection:
|
2466
|
+
- keep-alive
|
2467
|
+
Set-Cookie:
|
2468
|
+
- __cfduid=d9ba13657032184f80f2307d3a8f0024b1482767193; expires=Tue, 26-Dec-17
|
2469
|
+
15:46:33 GMT; path=/; domain=.scaleapi.com; HttpOnly
|
2470
|
+
- heroku-session-affinity=ACyDaANoA24IAduqYtf///8HYgALtNliAAeOjmEBbAAAAAFtAAAABXdlYi4xavX2fzQ+e88pWm9+EZ1S9lgMgpZo;
|
2471
|
+
Version=1; Expires=Tue, 27-Dec-2016 15:46:33 GMT; Max-Age=86400; Domain=api.scaleapi.com;
|
2472
|
+
Path=/; HttpOnly
|
2473
|
+
- scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
|
2474
|
+
- scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
|
2475
|
+
X-Powered-By:
|
2476
|
+
- Express
|
2477
|
+
Access-Control-Allow-Origin:
|
2478
|
+
- https://docs.scaleapi.com
|
2479
|
+
Access-Control-Allow-Methods:
|
2480
|
+
- GET,PUT,POST,DELETE
|
2481
|
+
Access-Control-Allow-Headers:
|
2482
|
+
- Content-Type
|
2483
|
+
Access-Control-Allow-Credentials:
|
2484
|
+
- 'true'
|
2485
|
+
Etag:
|
2486
|
+
- W/"54-hB1kwjCx4qwGwMoLdUIV9w"
|
2487
|
+
Vary:
|
2488
|
+
- Accept-Encoding
|
2489
|
+
Via:
|
2490
|
+
- 1.1 vegur
|
2491
|
+
Strict-Transport-Security:
|
2492
|
+
- max-age=2592000; includeSubDomains; preload
|
2493
|
+
X-Content-Type-Options:
|
2494
|
+
- nosniff
|
2495
|
+
Server:
|
2496
|
+
- cloudflare-nginx
|
2497
|
+
Cf-Ray:
|
2498
|
+
- 3175aa8c9f875474-MAD
|
2499
|
+
body:
|
2500
|
+
encoding: UTF-8
|
2501
|
+
string: '{"status_code":401,"error":"Your API key does not correspond to a registered
|
2502
|
+
user."}'
|
2503
|
+
http_version:
|
2504
|
+
recorded_at: Mon, 26 Dec 2016 15:46:33 GMT
|
2505
|
+
- request:
|
2506
|
+
method: post
|
2507
|
+
uri: https://api.scaleapi.com/v1/task/datacollection
|
2508
|
+
body:
|
2509
|
+
encoding: UTF-8
|
2510
|
+
string: '{"callback_url":"http://www.example.com/callback","instruction":"Find
|
2511
|
+
the URL for the hiring page for the company with attached website.","attachment_type":"website","attachment":"https://www.scaleapi.com/","fields":{"hiring_page":"Hiring
|
2512
|
+
Page URL"}}'
|
2513
|
+
headers:
|
2514
|
+
Accept:
|
2515
|
+
- application/json
|
2516
|
+
Accept-Encoding:
|
2517
|
+
- gzip, deflate
|
2518
|
+
User-Agent:
|
2519
|
+
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
|
2520
|
+
Content-Type:
|
2521
|
+
- application/json
|
2522
|
+
Content-Length:
|
2523
|
+
- '250'
|
2524
|
+
Host:
|
2525
|
+
- api.scaleapi.com
|
2526
|
+
Authorization:
|
2527
|
+
- Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
|
2528
|
+
response:
|
2529
|
+
status:
|
2530
|
+
code: 401
|
2531
|
+
message: Unauthorized
|
2532
|
+
headers:
|
2533
|
+
Date:
|
2534
|
+
- Mon, 26 Dec 2016 15:46:34 GMT
|
2535
|
+
Content-Type:
|
2536
|
+
- application/json; charset=utf-8
|
2537
|
+
Content-Length:
|
2538
|
+
- '84'
|
2539
|
+
Connection:
|
2540
|
+
- keep-alive
|
2541
|
+
Set-Cookie:
|
2542
|
+
- __cfduid=dcae6efe14cf74b13417a0866666cb9591482767193; expires=Tue, 26-Dec-17
|
2543
|
+
15:46:33 GMT; path=/; domain=.scaleapi.com; HttpOnly
|
2544
|
+
- heroku-session-affinity=ACyDaANoA24IAfHdoNP///8HYgALtNpiAAKjH2EBbAAAAAFtAAAABXdlYi4xaoZiaf8ddgkylFakccRLU4dKrGxl;
|
2545
|
+
Version=1; Expires=Tue, 27-Dec-2016 15:46:34 GMT; Max-Age=86400; Domain=api.scaleapi.com;
|
2546
|
+
Path=/; HttpOnly
|
2547
|
+
- scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
|
2548
|
+
- scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
|
2549
|
+
X-Powered-By:
|
2550
|
+
- Express
|
2551
|
+
Access-Control-Allow-Origin:
|
2552
|
+
- https://docs.scaleapi.com
|
2553
|
+
Access-Control-Allow-Methods:
|
2554
|
+
- GET,PUT,POST,DELETE
|
2555
|
+
Access-Control-Allow-Headers:
|
2556
|
+
- Content-Type
|
2557
|
+
Access-Control-Allow-Credentials:
|
2558
|
+
- 'true'
|
2559
|
+
Etag:
|
2560
|
+
- W/"54-hB1kwjCx4qwGwMoLdUIV9w"
|
2561
|
+
Vary:
|
2562
|
+
- Accept-Encoding
|
2563
|
+
Via:
|
2564
|
+
- 1.1 vegur
|
2565
|
+
Strict-Transport-Security:
|
2566
|
+
- max-age=2592000; includeSubDomains; preload
|
2567
|
+
X-Content-Type-Options:
|
2568
|
+
- nosniff
|
2569
|
+
Server:
|
2570
|
+
- cloudflare-nginx
|
2571
|
+
Cf-Ray:
|
2572
|
+
- 3175aa915e9b2f71-MAD
|
2573
|
+
body:
|
2574
|
+
encoding: UTF-8
|
2575
|
+
string: '{"status_code":401,"error":"Your API key does not correspond to a registered
|
2576
|
+
user."}'
|
2577
|
+
http_version:
|
2578
|
+
recorded_at: Mon, 26 Dec 2016 15:46:33 GMT
|
2579
|
+
- request:
|
2580
|
+
method: post
|
2581
|
+
uri: https://api.scaleapi.com/v1/task/datacollection
|
2582
|
+
body:
|
2583
|
+
encoding: UTF-8
|
2584
|
+
string: '{"callback_url":"http://www.example.com/callback","instruction":"Test
|
2585
|
+
instruction","fields":{"hiring_page":"Hiring Page URL"}}'
|
2586
|
+
headers:
|
2587
|
+
Accept:
|
2588
|
+
- application/json
|
2589
|
+
Accept-Encoding:
|
2590
|
+
- gzip, deflate
|
2591
|
+
User-Agent:
|
2592
|
+
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
|
2593
|
+
Content-Type:
|
2594
|
+
- application/json
|
2595
|
+
Content-Length:
|
2596
|
+
- '126'
|
2597
|
+
Host:
|
2598
|
+
- api.scaleapi.com
|
2599
|
+
Authorization:
|
2600
|
+
- Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
|
2601
|
+
response:
|
2602
|
+
status:
|
2603
|
+
code: 401
|
2604
|
+
message: Unauthorized
|
2605
|
+
headers:
|
2606
|
+
Date:
|
2607
|
+
- Mon, 26 Dec 2016 15:46:34 GMT
|
2608
|
+
Content-Type:
|
2609
|
+
- application/json; charset=utf-8
|
2610
|
+
Content-Length:
|
2611
|
+
- '84'
|
2612
|
+
Connection:
|
2613
|
+
- keep-alive
|
2614
|
+
Set-Cookie:
|
2615
|
+
- __cfduid=da140d5d838d6ce87b284cfcf9929010e1482767194; expires=Tue, 26-Dec-17
|
2616
|
+
15:46:34 GMT; path=/; domain=.scaleapi.com; HttpOnly
|
2617
|
+
- heroku-session-affinity=ACyDaANoA24IAXPXm+X///8HYgALtNpiAAgObGEBbAAAAAFtAAAABXdlYi4xatJgXba9xbfXRgTWviYmoT0FeIjv;
|
2618
|
+
Version=1; Expires=Tue, 27-Dec-2016 15:46:34 GMT; Max-Age=86400; Domain=api.scaleapi.com;
|
2619
|
+
Path=/; HttpOnly
|
2620
|
+
- scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
|
2621
|
+
- scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
|
2622
|
+
X-Powered-By:
|
2623
|
+
- Express
|
2624
|
+
Access-Control-Allow-Origin:
|
2625
|
+
- https://docs.scaleapi.com
|
2626
|
+
Access-Control-Allow-Methods:
|
2627
|
+
- GET,PUT,POST,DELETE
|
2628
|
+
Access-Control-Allow-Headers:
|
2629
|
+
- Content-Type
|
2630
|
+
Access-Control-Allow-Credentials:
|
2631
|
+
- 'true'
|
2632
|
+
Etag:
|
2633
|
+
- W/"54-hB1kwjCx4qwGwMoLdUIV9w"
|
2634
|
+
Vary:
|
2635
|
+
- Accept-Encoding
|
2636
|
+
Via:
|
2637
|
+
- 1.1 vegur
|
2638
|
+
Strict-Transport-Security:
|
2639
|
+
- max-age=2592000; includeSubDomains; preload
|
2640
|
+
X-Content-Type-Options:
|
2641
|
+
- nosniff
|
2642
|
+
Server:
|
2643
|
+
- cloudflare-nginx
|
2644
|
+
Cf-Ray:
|
2645
|
+
- 3175aa95796d5456-MAD
|
2646
|
+
body:
|
2647
|
+
encoding: UTF-8
|
2648
|
+
string: '{"status_code":401,"error":"Your API key does not correspond to a registered
|
2649
|
+
user."}'
|
2650
|
+
http_version:
|
2651
|
+
recorded_at: Mon, 26 Dec 2016 15:46:34 GMT
|
2652
|
+
- request:
|
2653
|
+
method: post
|
2654
|
+
uri: https://api.scaleapi.com/v1/task/datacollection
|
2655
|
+
body:
|
2656
|
+
encoding: UTF-8
|
2657
|
+
string: '{"callback_url":"http://www.example.com/callback","instruction":"Test
|
2658
|
+
instruction","fields":{"hiring_page":"Hiring Page URL"}}'
|
2659
|
+
headers:
|
2660
|
+
Accept:
|
2661
|
+
- application/json
|
2662
|
+
Accept-Encoding:
|
2663
|
+
- gzip, deflate
|
2664
|
+
User-Agent:
|
2665
|
+
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
|
2666
|
+
Content-Type:
|
2667
|
+
- application/json
|
2668
|
+
Content-Length:
|
2669
|
+
- '126'
|
2670
|
+
Host:
|
2671
|
+
- api.scaleapi.com
|
2672
|
+
Authorization:
|
2673
|
+
- Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
|
2674
|
+
response:
|
2675
|
+
status:
|
2676
|
+
code: 401
|
2677
|
+
message: Unauthorized
|
2678
|
+
headers:
|
2679
|
+
Date:
|
2680
|
+
- Mon, 26 Dec 2016 15:46:35 GMT
|
2681
|
+
Content-Type:
|
2682
|
+
- application/json; charset=utf-8
|
2683
|
+
Content-Length:
|
2684
|
+
- '84'
|
2685
|
+
Connection:
|
2686
|
+
- keep-alive
|
2687
|
+
Set-Cookie:
|
2688
|
+
- __cfduid=d3a84592d0892840a5f34c9b548201aca1482767194; expires=Tue, 26-Dec-17
|
2689
|
+
15:46:34 GMT; path=/; domain=.scaleapi.com; HttpOnly
|
2690
|
+
- heroku-session-affinity=ACyDaANoA24IAVP0n+T///8HYgALtNtiAAQAYmEBbAAAAAFtAAAABXdlYi4xarpOyZjtWAIRE70gQ4coFSpxbFLc;
|
2691
|
+
Version=1; Expires=Tue, 27-Dec-2016 15:46:35 GMT; Max-Age=86400; Domain=api.scaleapi.com;
|
2692
|
+
Path=/; HttpOnly
|
2693
|
+
- scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
|
2694
|
+
- scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
|
2695
|
+
X-Powered-By:
|
2696
|
+
- Express
|
2697
|
+
Access-Control-Allow-Origin:
|
2698
|
+
- https://docs.scaleapi.com
|
2699
|
+
Access-Control-Allow-Methods:
|
2700
|
+
- GET,PUT,POST,DELETE
|
2701
|
+
Access-Control-Allow-Headers:
|
2702
|
+
- Content-Type
|
2703
|
+
Access-Control-Allow-Credentials:
|
2704
|
+
- 'true'
|
2705
|
+
Etag:
|
2706
|
+
- W/"54-hB1kwjCx4qwGwMoLdUIV9w"
|
2707
|
+
Vary:
|
2708
|
+
- Accept-Encoding
|
2709
|
+
Via:
|
2710
|
+
- 1.1 vegur
|
2711
|
+
Strict-Transport-Security:
|
2712
|
+
- max-age=2592000; includeSubDomains; preload
|
2713
|
+
X-Content-Type-Options:
|
2714
|
+
- nosniff
|
2715
|
+
Server:
|
2716
|
+
- cloudflare-nginx
|
2717
|
+
Cf-Ray:
|
2718
|
+
- 3175aa980a112f47-MAD
|
2719
|
+
body:
|
2720
|
+
encoding: UTF-8
|
2721
|
+
string: '{"status_code":401,"error":"Your API key does not correspond to a registered
|
2722
|
+
user."}'
|
2723
|
+
http_version:
|
2724
|
+
recorded_at: Mon, 26 Dec 2016 15:46:35 GMT
|
2725
|
+
- request:
|
2726
|
+
method: post
|
2727
|
+
uri: https://api.scaleapi.com/v1/task/phonecall
|
2728
|
+
body:
|
2729
|
+
encoding: UTF-8
|
2730
|
+
string: '{"callback_url":"http://www.example.com/callback","instruction":"Test
|
2731
|
+
instruction","phone_number":"5055006865"}'
|
2732
|
+
headers:
|
2733
|
+
Accept:
|
2734
|
+
- application/json
|
2735
|
+
Accept-Encoding:
|
2736
|
+
- gzip, deflate
|
2737
|
+
User-Agent:
|
2738
|
+
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
|
2739
|
+
Content-Type:
|
2740
|
+
- application/json
|
2741
|
+
Content-Length:
|
2742
|
+
- '111'
|
2743
|
+
Host:
|
2744
|
+
- api.scaleapi.com
|
2745
|
+
Authorization:
|
2746
|
+
- Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
|
2747
|
+
response:
|
2748
|
+
status:
|
2749
|
+
code: 401
|
2750
|
+
message: Unauthorized
|
2751
|
+
headers:
|
2752
|
+
Date:
|
2753
|
+
- Mon, 26 Dec 2016 15:46:36 GMT
|
2754
|
+
Content-Type:
|
2755
|
+
- application/json; charset=utf-8
|
2756
|
+
Content-Length:
|
2757
|
+
- '84'
|
2758
|
+
Connection:
|
2759
|
+
- keep-alive
|
2760
|
+
Set-Cookie:
|
2761
|
+
- __cfduid=d6c18f592378f0f91806770d0a8c863d61482767195; expires=Tue, 26-Dec-17
|
2762
|
+
15:46:35 GMT; path=/; domain=.scaleapi.com; HttpOnly
|
2763
|
+
- heroku-session-affinity=ACyDaANoA24IATbnQ9v///8HYgALtNxiAAGlPWEBbAAAAAFtAAAABXdlYi4xakI2LOrHHRC1bewMwZ+1X1vPY25q;
|
2764
|
+
Version=1; Expires=Tue, 27-Dec-2016 15:46:36 GMT; Max-Age=86400; Domain=api.scaleapi.com;
|
2765
|
+
Path=/; HttpOnly
|
2766
|
+
- scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
|
2767
|
+
- scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
|
2768
|
+
X-Powered-By:
|
2769
|
+
- Express
|
2770
|
+
Access-Control-Allow-Origin:
|
2771
|
+
- https://docs.scaleapi.com
|
2772
|
+
Access-Control-Allow-Methods:
|
2773
|
+
- GET,PUT,POST,DELETE
|
2774
|
+
Access-Control-Allow-Headers:
|
2775
|
+
- Content-Type
|
2776
|
+
Access-Control-Allow-Credentials:
|
2777
|
+
- 'true'
|
2778
|
+
Etag:
|
2779
|
+
- W/"54-hB1kwjCx4qwGwMoLdUIV9w"
|
2780
|
+
Vary:
|
2781
|
+
- Accept-Encoding
|
2782
|
+
Via:
|
2783
|
+
- 1.1 vegur
|
2784
|
+
Strict-Transport-Security:
|
2785
|
+
- max-age=2592000; includeSubDomains; preload
|
2786
|
+
X-Content-Type-Options:
|
2787
|
+
- nosniff
|
2788
|
+
Server:
|
2789
|
+
- cloudflare-nginx
|
2790
|
+
Cf-Ray:
|
2791
|
+
- 3175aa9d0bc42f47-MAD
|
2792
|
+
body:
|
2793
|
+
encoding: UTF-8
|
2794
|
+
string: '{"status_code":401,"error":"Your API key does not correspond to a registered
|
2795
|
+
user."}'
|
2796
|
+
http_version:
|
2797
|
+
recorded_at: Mon, 26 Dec 2016 15:46:35 GMT
|
2798
|
+
- request:
|
2799
|
+
method: post
|
2800
|
+
uri: https://api.scaleapi.com/v1/task/phonecall
|
2801
|
+
body:
|
2802
|
+
encoding: UTF-8
|
2803
|
+
string: '{"callback_url":"http://www.example.com/callback","instruction":"Test
|
2804
|
+
instruction","phone_number":"5055006865"}'
|
2805
|
+
headers:
|
2806
|
+
Accept:
|
2807
|
+
- application/json
|
2808
|
+
Accept-Encoding:
|
2809
|
+
- gzip, deflate
|
2810
|
+
User-Agent:
|
2811
|
+
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
|
2812
|
+
Content-Type:
|
2813
|
+
- application/json
|
2814
|
+
Content-Length:
|
2815
|
+
- '111'
|
2816
|
+
Host:
|
2817
|
+
- api.scaleapi.com
|
2818
|
+
Authorization:
|
2819
|
+
- Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
|
2820
|
+
response:
|
2821
|
+
status:
|
2822
|
+
code: 401
|
2823
|
+
message: Unauthorized
|
2824
|
+
headers:
|
2825
|
+
Date:
|
2826
|
+
- Mon, 26 Dec 2016 15:46:36 GMT
|
2827
|
+
Content-Type:
|
2828
|
+
- application/json; charset=utf-8
|
2829
|
+
Content-Length:
|
2830
|
+
- '84'
|
2831
|
+
Connection:
|
2832
|
+
- keep-alive
|
2833
|
+
Set-Cookie:
|
2834
|
+
- __cfduid=dcbff67192f36507eb0bbae4dd40b5b0d1482767196; expires=Tue, 26-Dec-17
|
2835
|
+
15:46:36 GMT; path=/; domain=.scaleapi.com; HttpOnly
|
2836
|
+
- heroku-session-affinity=ACyDaANoA24IARYyKtj///8HYgALtNxiAAxxK2EBbAAAAAFtAAAABXdlYi4xamPYL8NVTq4vYMzEePqNcFTov6ri;
|
2837
|
+
Version=1; Expires=Tue, 27-Dec-2016 15:46:36 GMT; Max-Age=86400; Domain=api.scaleapi.com;
|
2838
|
+
Path=/; HttpOnly
|
2839
|
+
- scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
|
2840
|
+
- scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
|
2841
|
+
X-Powered-By:
|
2842
|
+
- Express
|
2843
|
+
Access-Control-Allow-Origin:
|
2844
|
+
- https://docs.scaleapi.com
|
2845
|
+
Access-Control-Allow-Methods:
|
2846
|
+
- GET,PUT,POST,DELETE
|
2847
|
+
Access-Control-Allow-Headers:
|
2848
|
+
- Content-Type
|
2849
|
+
Access-Control-Allow-Credentials:
|
2850
|
+
- 'true'
|
2851
|
+
Etag:
|
2852
|
+
- W/"54-hB1kwjCx4qwGwMoLdUIV9w"
|
2853
|
+
Vary:
|
2854
|
+
- Accept-Encoding
|
2855
|
+
Via:
|
2856
|
+
- 1.1 vegur
|
2857
|
+
Strict-Transport-Security:
|
2858
|
+
- max-age=2592000; includeSubDomains; preload
|
2859
|
+
X-Content-Type-Options:
|
2860
|
+
- nosniff
|
2861
|
+
Server:
|
2862
|
+
- cloudflare-nginx
|
2863
|
+
Cf-Ray:
|
2864
|
+
- 3175aaa1bc372f59-MAD
|
2865
|
+
body:
|
2866
|
+
encoding: UTF-8
|
2867
|
+
string: '{"status_code":401,"error":"Your API key does not correspond to a registered
|
2868
|
+
user."}'
|
2869
|
+
http_version:
|
2870
|
+
recorded_at: Mon, 26 Dec 2016 15:46:36 GMT
|
2871
|
+
- request:
|
2872
|
+
method: post
|
2873
|
+
uri: https://api.scaleapi.com/v1/task/transcription
|
2874
|
+
body:
|
2875
|
+
encoding: UTF-8
|
2876
|
+
string: '{"callback_url":"http://www.example.com/callback","instruction":"Transcribe
|
2877
|
+
the given fields. Then for each news item on the page, transcribe the information
|
2878
|
+
for the row.","attachment_type":"website","attachment":"http://www.google.com/","fields":{"title":"Title
|
2879
|
+
of Webpage","top_result":"Title of the top result"},"row_fields":{"username":"Username
|
2880
|
+
of submitter","comment_count":"Number of comments"}}'
|
2881
|
+
headers:
|
2882
|
+
Accept:
|
2883
|
+
- application/json
|
2884
|
+
Accept-Encoding:
|
2885
|
+
- gzip, deflate
|
2886
|
+
User-Agent:
|
2887
|
+
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
|
2888
|
+
Content-Type:
|
2889
|
+
- application/json
|
2890
|
+
Content-Length:
|
2891
|
+
- '402'
|
2892
|
+
Host:
|
2893
|
+
- api.scaleapi.com
|
2894
|
+
Authorization:
|
2895
|
+
- Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
|
2896
|
+
response:
|
2897
|
+
status:
|
2898
|
+
code: 401
|
2899
|
+
message: Unauthorized
|
2900
|
+
headers:
|
2901
|
+
Date:
|
2902
|
+
- Mon, 26 Dec 2016 15:46:37 GMT
|
2903
|
+
Content-Type:
|
2904
|
+
- application/json; charset=utf-8
|
2905
|
+
Content-Length:
|
2906
|
+
- '84'
|
2907
|
+
Connection:
|
2908
|
+
- keep-alive
|
2909
|
+
Set-Cookie:
|
2910
|
+
- __cfduid=d6d0af26fa2193c881ee98acc7f4404021482767197; expires=Tue, 26-Dec-17
|
2911
|
+
15:46:37 GMT; path=/; domain=.scaleapi.com; HttpOnly
|
2912
|
+
- heroku-session-affinity=ACyDaANoA24IAbLgQeb///8HYgALtN1iAATo1WEBbAAAAAFtAAAABXdlYi4xakste8qDfaCILZn9KEeKhE1NrWkU;
|
2913
|
+
Version=1; Expires=Tue, 27-Dec-2016 15:46:37 GMT; Max-Age=86400; Domain=api.scaleapi.com;
|
2914
|
+
Path=/; HttpOnly
|
2915
|
+
- scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
|
2916
|
+
- scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
|
2917
|
+
X-Powered-By:
|
2918
|
+
- Express
|
2919
|
+
Access-Control-Allow-Origin:
|
2920
|
+
- https://docs.scaleapi.com
|
2921
|
+
Access-Control-Allow-Methods:
|
2922
|
+
- GET,PUT,POST,DELETE
|
2923
|
+
Access-Control-Allow-Headers:
|
2924
|
+
- Content-Type
|
2925
|
+
Access-Control-Allow-Credentials:
|
2926
|
+
- 'true'
|
2927
|
+
Etag:
|
2928
|
+
- W/"54-hB1kwjCx4qwGwMoLdUIV9w"
|
2929
|
+
Vary:
|
2930
|
+
- Accept-Encoding
|
2931
|
+
Via:
|
2932
|
+
- 1.1 vegur
|
2933
|
+
Strict-Transport-Security:
|
2934
|
+
- max-age=2592000; includeSubDomains; preload
|
2935
|
+
X-Content-Type-Options:
|
2936
|
+
- nosniff
|
2937
|
+
Server:
|
2938
|
+
- cloudflare-nginx
|
2939
|
+
Cf-Ray:
|
2940
|
+
- 3175aaa68c5f2f9b-MAD
|
2941
|
+
body:
|
2942
|
+
encoding: UTF-8
|
2943
|
+
string: '{"status_code":401,"error":"Your API key does not correspond to a registered
|
2944
|
+
user."}'
|
2945
|
+
http_version:
|
2946
|
+
recorded_at: Mon, 26 Dec 2016 15:46:37 GMT
|
2947
|
+
- request:
|
2948
|
+
method: post
|
2949
|
+
uri: https://api.scaleapi.com/v1/task/transcription
|
2950
|
+
body:
|
2951
|
+
encoding: UTF-8
|
2952
|
+
string: '{"callback_url":"http://www.example.com/callback","instruction":"Test
|
2953
|
+
instruction","attachment_type":"website"}'
|
2954
|
+
headers:
|
2955
|
+
Accept:
|
2956
|
+
- application/json
|
2957
|
+
Accept-Encoding:
|
2958
|
+
- gzip, deflate
|
2959
|
+
User-Agent:
|
2960
|
+
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
|
2961
|
+
Content-Type:
|
2962
|
+
- application/json
|
2963
|
+
Content-Length:
|
2964
|
+
- '111'
|
2965
|
+
Host:
|
2966
|
+
- api.scaleapi.com
|
2967
|
+
Authorization:
|
2968
|
+
- Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
|
2969
|
+
response:
|
2970
|
+
status:
|
2971
|
+
code: 401
|
2972
|
+
message: Unauthorized
|
2973
|
+
headers:
|
2974
|
+
Date:
|
2975
|
+
- Mon, 26 Dec 2016 15:46:38 GMT
|
2976
|
+
Content-Type:
|
2977
|
+
- application/json; charset=utf-8
|
2978
|
+
Content-Length:
|
2979
|
+
- '84'
|
2980
|
+
Connection:
|
2981
|
+
- keep-alive
|
2982
|
+
Set-Cookie:
|
2983
|
+
- __cfduid=dccca727b54a20f0c1ab2e8bc402131481482767197; expires=Tue, 26-Dec-17
|
2984
|
+
15:46:37 GMT; path=/; domain=.scaleapi.com; HttpOnly
|
2985
|
+
- heroku-session-affinity=ACyDaANoA24IAXJArs3///8HYgALtN5iAACJQGEBbAAAAAFtAAAABXdlYi4xaqUYjlCCF1rMEtTDd5cAbDzmz575;
|
2986
|
+
Version=1; Expires=Tue, 27-Dec-2016 15:46:38 GMT; Max-Age=86400; Domain=api.scaleapi.com;
|
2987
|
+
Path=/; HttpOnly
|
2988
|
+
- scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
|
2989
|
+
- scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
|
2990
|
+
X-Powered-By:
|
2991
|
+
- Express
|
2992
|
+
Access-Control-Allow-Origin:
|
2993
|
+
- https://docs.scaleapi.com
|
2994
|
+
Access-Control-Allow-Methods:
|
2995
|
+
- GET,PUT,POST,DELETE
|
2996
|
+
Access-Control-Allow-Headers:
|
2997
|
+
- Content-Type
|
2998
|
+
Access-Control-Allow-Credentials:
|
2999
|
+
- 'true'
|
3000
|
+
Etag:
|
3001
|
+
- W/"54-hB1kwjCx4qwGwMoLdUIV9w"
|
3002
|
+
Vary:
|
3003
|
+
- Accept-Encoding
|
3004
|
+
Via:
|
3005
|
+
- 1.1 vegur
|
3006
|
+
Strict-Transport-Security:
|
3007
|
+
- max-age=2592000; includeSubDomains; preload
|
3008
|
+
X-Content-Type-Options:
|
3009
|
+
- nosniff
|
3010
|
+
Server:
|
3011
|
+
- cloudflare-nginx
|
3012
|
+
Cf-Ray:
|
3013
|
+
- 3175aaa96bb854a4-MAD
|
3014
|
+
body:
|
3015
|
+
encoding: UTF-8
|
3016
|
+
string: '{"status_code":401,"error":"Your API key does not correspond to a registered
|
3017
|
+
user."}'
|
3018
|
+
http_version:
|
3019
|
+
recorded_at: Mon, 26 Dec 2016 15:46:37 GMT
|
3020
|
+
- request:
|
3021
|
+
method: post
|
3022
|
+
uri: https://api.scaleapi.com/v1/task/transcription
|
3023
|
+
body:
|
3024
|
+
encoding: UTF-8
|
3025
|
+
string: '{"callback_url":"http://www.example.com/callback","instruction":"Test
|
3026
|
+
instruction","attachment_type":"website"}'
|
3027
|
+
headers:
|
3028
|
+
Accept:
|
3029
|
+
- application/json
|
3030
|
+
Accept-Encoding:
|
3031
|
+
- gzip, deflate
|
3032
|
+
User-Agent:
|
3033
|
+
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
|
3034
|
+
Content-Type:
|
3035
|
+
- application/json
|
3036
|
+
Content-Length:
|
3037
|
+
- '111'
|
3038
|
+
Host:
|
3039
|
+
- api.scaleapi.com
|
3040
|
+
Authorization:
|
3041
|
+
- Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
|
3042
|
+
response:
|
3043
|
+
status:
|
3044
|
+
code: 401
|
3045
|
+
message: Unauthorized
|
3046
|
+
headers:
|
3047
|
+
Date:
|
3048
|
+
- Mon, 26 Dec 2016 15:46:38 GMT
|
3049
|
+
Content-Type:
|
3050
|
+
- application/json; charset=utf-8
|
3051
|
+
Content-Length:
|
3052
|
+
- '84'
|
3053
|
+
Connection:
|
3054
|
+
- keep-alive
|
3055
|
+
Set-Cookie:
|
3056
|
+
- __cfduid=d91709638f243a21f2da338b89ff0a4361482767198; expires=Tue, 26-Dec-17
|
3057
|
+
15:46:38 GMT; path=/; domain=.scaleapi.com; HttpOnly
|
3058
|
+
- heroku-session-affinity=ACyDaANoA24IAbfHWeP///8HYgALtN5iAArMBmEBbAAAAAFtAAAABXdlYi4xan/VOt0n7kzUaJrvbqqofnEqaq7s;
|
3059
|
+
Version=1; Expires=Tue, 27-Dec-2016 15:46:38 GMT; Max-Age=86400; Domain=api.scaleapi.com;
|
3060
|
+
Path=/; HttpOnly
|
3061
|
+
- scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
|
3062
|
+
- scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
|
3063
|
+
X-Powered-By:
|
3064
|
+
- Express
|
3065
|
+
Access-Control-Allow-Origin:
|
3066
|
+
- https://docs.scaleapi.com
|
3067
|
+
Access-Control-Allow-Methods:
|
3068
|
+
- GET,PUT,POST,DELETE
|
3069
|
+
Access-Control-Allow-Headers:
|
3070
|
+
- Content-Type
|
3071
|
+
Access-Control-Allow-Credentials:
|
3072
|
+
- 'true'
|
3073
|
+
Etag:
|
3074
|
+
- W/"54-hB1kwjCx4qwGwMoLdUIV9w"
|
3075
|
+
Vary:
|
3076
|
+
- Accept-Encoding
|
3077
|
+
Via:
|
3078
|
+
- 1.1 vegur
|
3079
|
+
Strict-Transport-Security:
|
3080
|
+
- max-age=2592000; includeSubDomains; preload
|
3081
|
+
X-Content-Type-Options:
|
3082
|
+
- nosniff
|
3083
|
+
Server:
|
3084
|
+
- cloudflare-nginx
|
3085
|
+
Cf-Ray:
|
3086
|
+
- 3175aaadabfe5456-MAD
|
3087
|
+
body:
|
3088
|
+
encoding: UTF-8
|
3089
|
+
string: '{"status_code":401,"error":"Your API key does not correspond to a registered
|
3090
|
+
user."}'
|
3091
|
+
http_version:
|
3092
|
+
recorded_at: Mon, 26 Dec 2016 15:46:38 GMT
|
3093
|
+
- request:
|
3094
|
+
method: get
|
3095
|
+
uri: https://api.scaleapi.com/v1/tasks
|
3096
|
+
body:
|
3097
|
+
encoding: UTF-8
|
3098
|
+
string: '{"callback_url":"http://www.example.com/callback"}'
|
3099
|
+
headers:
|
3100
|
+
Accept:
|
3101
|
+
- application/json
|
3102
|
+
Accept-Encoding:
|
3103
|
+
- gzip, deflate
|
3104
|
+
User-Agent:
|
3105
|
+
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
|
3106
|
+
Content-Type:
|
3107
|
+
- application/json
|
3108
|
+
Content-Length:
|
3109
|
+
- '50'
|
3110
|
+
Host:
|
3111
|
+
- api.scaleapi.com
|
3112
|
+
Authorization:
|
3113
|
+
- Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
|
3114
|
+
response:
|
3115
|
+
status:
|
3116
|
+
code: 401
|
3117
|
+
message: Unauthorized
|
3118
|
+
headers:
|
3119
|
+
Date:
|
3120
|
+
- Mon, 26 Dec 2016 15:46:39 GMT
|
3121
|
+
Content-Type:
|
3122
|
+
- application/json; charset=utf-8
|
3123
|
+
Content-Length:
|
3124
|
+
- '84'
|
3125
|
+
Connection:
|
3126
|
+
- keep-alive
|
3127
|
+
Set-Cookie:
|
3128
|
+
- __cfduid=d168c053a1e55f3ddb289014b6528f78b1482767199; expires=Tue, 26-Dec-17
|
3129
|
+
15:46:39 GMT; path=/; domain=.scaleapi.com; HttpOnly
|
3130
|
+
- heroku-session-affinity=ACyDaANoA24IAbkth9j///8HYgALtN9iAAaWq2EBbAAAAAFtAAAABXdlYi4xauFQwHxOYnjh0TDKzs/AZEn/MMf8;
|
3131
|
+
Version=1; Expires=Tue, 27-Dec-2016 15:46:39 GMT; Max-Age=86400; Domain=api.scaleapi.com;
|
3132
|
+
Path=/; HttpOnly
|
3133
|
+
- scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
|
3134
|
+
- scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
|
3135
|
+
X-Powered-By:
|
3136
|
+
- Express
|
3137
|
+
Access-Control-Allow-Origin:
|
3138
|
+
- https://docs.scaleapi.com
|
3139
|
+
Access-Control-Allow-Methods:
|
3140
|
+
- GET,PUT,POST,DELETE
|
3141
|
+
Access-Control-Allow-Headers:
|
3142
|
+
- Content-Type
|
3143
|
+
Access-Control-Allow-Credentials:
|
3144
|
+
- 'true'
|
3145
|
+
Etag:
|
3146
|
+
- W/"54-hB1kwjCx4qwGwMoLdUIV9w"
|
3147
|
+
Vary:
|
3148
|
+
- Accept-Encoding
|
3149
|
+
Via:
|
3150
|
+
- 1.1 vegur
|
3151
|
+
Strict-Transport-Security:
|
3152
|
+
- max-age=2592000; includeSubDomains; preload
|
3153
|
+
X-Content-Type-Options:
|
3154
|
+
- nosniff
|
3155
|
+
Server:
|
3156
|
+
- cloudflare-nginx
|
3157
|
+
Cf-Ray:
|
3158
|
+
- 3175aab25c0f2f47-MAD
|
3159
|
+
body:
|
3160
|
+
encoding: UTF-8
|
3161
|
+
string: '{"status_code":401,"error":"Your API key does not correspond to a registered
|
3162
|
+
user."}'
|
3163
|
+
http_version:
|
3164
|
+
recorded_at: Mon, 26 Dec 2016 15:46:39 GMT
|
3165
|
+
- request:
|
3166
|
+
method: get
|
3167
|
+
uri: https://api.scaleapi.com/v1/task/abcdefghijklmn0123456789
|
3168
|
+
body:
|
3169
|
+
encoding: UTF-8
|
3170
|
+
string: '{"callback_url":"http://www.example.com/callback"}'
|
3171
|
+
headers:
|
3172
|
+
Accept:
|
3173
|
+
- application/json
|
3174
|
+
Accept-Encoding:
|
3175
|
+
- gzip, deflate
|
3176
|
+
User-Agent:
|
3177
|
+
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
|
3178
|
+
Content-Type:
|
3179
|
+
- application/json
|
3180
|
+
Content-Length:
|
3181
|
+
- '50'
|
3182
|
+
Host:
|
3183
|
+
- api.scaleapi.com
|
3184
|
+
Authorization:
|
3185
|
+
- Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
|
3186
|
+
response:
|
3187
|
+
status:
|
3188
|
+
code: 401
|
3189
|
+
message: Unauthorized
|
3190
|
+
headers:
|
3191
|
+
Date:
|
3192
|
+
- Mon, 26 Dec 2016 15:46:39 GMT
|
3193
|
+
Content-Type:
|
3194
|
+
- application/json; charset=utf-8
|
3195
|
+
Content-Length:
|
3196
|
+
- '84'
|
3197
|
+
Connection:
|
3198
|
+
- keep-alive
|
3199
|
+
Set-Cookie:
|
3200
|
+
- __cfduid=d168c053a1e55f3ddb289014b6528f78b1482767199; expires=Tue, 26-Dec-17
|
3201
|
+
15:46:39 GMT; path=/; domain=.scaleapi.com; HttpOnly
|
3202
|
+
- heroku-session-affinity=ACyDaANoA24IARfSfeP///8HYgALtN9iAAz8XmEBbAAAAAFtAAAABXdlYi4xao35ljlcCDYPc8KF9i1bd8T0g8jD;
|
3203
|
+
Version=1; Expires=Tue, 27-Dec-2016 15:46:39 GMT; Max-Age=86400; Domain=api.scaleapi.com;
|
3204
|
+
Path=/; HttpOnly
|
3205
|
+
- scaleCookie.sig=xURXFdn3awS9cRKs__bzKqfRvL4; path=/; httponly
|
3206
|
+
- scaleCookie=eyJmbGFzaCI6W10sInBhc3Nwb3J0Ijp7fX0=; path=/; httponly
|
3207
|
+
X-Powered-By:
|
3208
|
+
- Express
|
3209
|
+
Access-Control-Allow-Origin:
|
3210
|
+
- https://docs.scaleapi.com
|
3211
|
+
Access-Control-Allow-Methods:
|
3212
|
+
- GET,PUT,POST,DELETE
|
3213
|
+
Access-Control-Allow-Headers:
|
3214
|
+
- Content-Type
|
3215
|
+
Access-Control-Allow-Credentials:
|
3216
|
+
- 'true'
|
3217
|
+
Etag:
|
3218
|
+
- W/"54-hB1kwjCx4qwGwMoLdUIV9w"
|
3219
|
+
Vary:
|
3220
|
+
- Accept-Encoding
|
3221
|
+
Via:
|
3222
|
+
- 1.1 vegur
|
3223
|
+
Strict-Transport-Security:
|
3224
|
+
- max-age=2592000; includeSubDomains; preload
|
3225
|
+
X-Content-Type-Options:
|
3226
|
+
- nosniff
|
3227
|
+
Server:
|
3228
|
+
- cloudflare-nginx
|
3229
|
+
Cf-Ray:
|
3230
|
+
- 3175aab6ade22f47-MAD
|
3231
|
+
body:
|
3232
|
+
encoding: UTF-8
|
3233
|
+
string: '{"status_code":401,"error":"Your API key does not correspond to a registered
|
3234
|
+
user."}'
|
3235
|
+
http_version:
|
3236
|
+
recorded_at: Mon, 26 Dec 2016 15:46:39 GMT
|
1771
3237
|
recorded_with: VCR 3.0.3
|