linkedin-v2 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/linked_in/api.rb +8 -6
- data/lib/linked_in/media.rb +46 -0
- data/lib/linked_in/version.rb +1 -1
- data/linkedin-v2.gemspec +1 -0
- data/spec/linked_in/api/media_spec.rb +19 -0
- data/spec/vcr_cassettes/access_token_success.yml +13 -13
- data/spec/vcr_cassettes/bad_code.yml +14 -14
- data/spec/vcr_cassettes/organization_data.yml +6 -6
- data/spec/vcr_cassettes/people_picture_urls.yml +5 -5
- data/spec/vcr_cassettes/people_profile_connections_fields.yml +6 -6
- data/spec/vcr_cassettes/people_profile_connections_other.yml +5 -5
- data/spec/vcr_cassettes/people_profile_connections_self.yml +6 -6
- data/spec/vcr_cassettes/people_profile_fields_complex.yml +6 -6
- data/spec/vcr_cassettes/people_profile_fields_simple.yml +5 -5
- data/spec/vcr_cassettes/people_profile_lang_spanish.yml +6 -6
- data/spec/vcr_cassettes/people_profile_multiple_fields.yml +6 -6
- data/spec/vcr_cassettes/people_profile_multiple_uids.yml +5 -5
- data/spec/vcr_cassettes/people_profile_multiple_uids_and_urls.yml +6 -6
- data/spec/vcr_cassettes/people_profile_multiple_urls.yml +6 -6
- data/spec/vcr_cassettes/people_profile_new_connections_fields.yml +6 -6
- data/spec/vcr_cassettes/people_profile_new_connections_other.yml +5 -5
- data/spec/vcr_cassettes/people_profile_new_connections_self.yml +5 -5
- data/spec/vcr_cassettes/people_profile_other_uid.yml +7 -7
- data/spec/vcr_cassettes/people_profile_other_url.yml +4 -4
- data/spec/vcr_cassettes/people_profile_own.yml +7 -7
- data/spec/vcr_cassettes/people_profile_own_secure.yml +6 -6
- data/spec/vcr_cassettes/people_profile_skills.yml +6 -6
- data/spec/vcr_cassettes/unavailable.yml +13 -13
- metadata +18 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc976191fef4e046f550ec2a08ac7a1dea147cb8
|
4
|
+
data.tar.gz: 02ab5e9623396d1879761677ff017a4b5aacd12d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e3edafeae0e7c690def1264e6027178c29e75ef6b14559445ab0430f1ce5d7bb66c534d2e4231d99a7022319eaaf43eea53fde14acdd16ad2f3a391b6105bd9
|
7
|
+
data.tar.gz: 3ecd40e0357cb0192e5ea1083071bf9e0412b7267cf8d1b6afe40485ca6edf879a937ed179f88da5dd918d009cc568dc86fa1cce101ad263418f7100190a3cbf
|
data/README.md
CHANGED
@@ -2,10 +2,10 @@
|
|
2
2
|
|
3
3
|
## WARNING: DANGER WILL ROBINSON
|
4
4
|
|
5
|
-
This is very much a work in progress. Currently only the shares/social stream
|
6
|
-
and
|
7
|
-
those endpoints are using this gem in a production application,
|
8
|
-
reliable enough. :)
|
5
|
+
This is very much a work in progress. Currently only the shares/social stream,
|
6
|
+
organization, and media upload related endpoints have been verified to work.
|
7
|
+
Having said that, those endpoints are using this gem in a production application,
|
8
|
+
so they're reliable enough. :)
|
9
9
|
|
10
10
|
Many endpoints still need to be written, and as I don't have the requisite partner
|
11
11
|
status w/ LinkedIn, I can't develop against the jobs API. Many of the specs still
|
data/lib/linked_in/api.rb
CHANGED
@@ -8,8 +8,11 @@ module LinkedIn
|
|
8
8
|
verify_access_token!(access_token)
|
9
9
|
@access_token = access_token
|
10
10
|
|
11
|
-
@connection =
|
12
|
-
|
11
|
+
@connection =
|
12
|
+
LinkedIn::Connection.new params: default_params, headers: default_headers do |conn|
|
13
|
+
conn.request :multipart
|
14
|
+
conn.adapter Faraday.default_adapter
|
15
|
+
end
|
13
16
|
|
14
17
|
initialize_endpoints
|
15
18
|
end
|
@@ -56,10 +59,9 @@ module LinkedIn
|
|
56
59
|
:unlike,
|
57
60
|
:comments,
|
58
61
|
:comment
|
59
|
-
# :update_comment,
|
60
|
-
# :network_updates
|
61
62
|
|
62
|
-
def_delegators :@media, :summary
|
63
|
+
def_delegators :@media, :summary,
|
64
|
+
:upload
|
63
65
|
|
64
66
|
private ##############################################################
|
65
67
|
|
@@ -67,11 +69,11 @@ module LinkedIn
|
|
67
69
|
@jobs = LinkedIn::Jobs.new(@connection)
|
68
70
|
@people = LinkedIn::People.new(@connection)
|
69
71
|
@search = LinkedIn::Search.new(@connection)
|
70
|
-
# @groups = LinkedIn::Groups.new(@connection) not supported by v2 API?
|
71
72
|
@organizations = LinkedIn::Organizations.new(@connection)
|
72
73
|
@communications = LinkedIn::Communications.new(@connection)
|
73
74
|
@share_and_social_stream = LinkedIn::ShareAndSocialStream.new(@connection)
|
74
75
|
@media = LinkedIn::Media.new(@connection)
|
76
|
+
# @groups = LinkedIn::Groups.new(@connection) not supported by v2 API?
|
75
77
|
end
|
76
78
|
|
77
79
|
def default_params
|
data/lib/linked_in/media.rb
CHANGED
@@ -1,4 +1,8 @@
|
|
1
|
+
require 'mime/types'
|
2
|
+
|
1
3
|
module LinkedIn
|
4
|
+
DEFAULT_TIMEOUT_SECONDS = 300
|
5
|
+
|
2
6
|
# Rich Media APIs
|
3
7
|
#
|
4
8
|
# @see https://developer.linkedin.com/docs/guide/v2/shares/rich-media-shares
|
@@ -9,5 +13,47 @@ module LinkedIn
|
|
9
13
|
path = "/richMediaSummariesV2/#{options.delete(:id)}"
|
10
14
|
get(path, options)
|
11
15
|
end
|
16
|
+
|
17
|
+
# Uploads rich media content to LinkedIn from a supplied URL.
|
18
|
+
#
|
19
|
+
# @see https://developer.linkedin.com/docs/guide/v2/shares/rich-media-shares#upload
|
20
|
+
#
|
21
|
+
# @options options [String] :source_url, the URL to the content to be uploaded.
|
22
|
+
# @options options [Numeric] :timeout, optional timeout value in seconds, defaults to 300.
|
23
|
+
# @return [LinkedIn::Mash]
|
24
|
+
#
|
25
|
+
def upload(options = {})
|
26
|
+
source_url = options.delete(:source_url)
|
27
|
+
timeout = options.delete(:timeout) || DEFAULT_TIMEOUT_SECONDS
|
28
|
+
media_upload_endpoint = LinkedIn.config.api + '/media/upload'
|
29
|
+
|
30
|
+
response =
|
31
|
+
@connection.post(media_upload_endpoint, file: file(source_url)) do |req|
|
32
|
+
req.headers['Accept'] = 'application/json'
|
33
|
+
req.options.timeout = timeout
|
34
|
+
req.options.open_timeout = timeout
|
35
|
+
end
|
36
|
+
Mash.from_json(response.body)
|
37
|
+
end
|
38
|
+
|
39
|
+
private
|
40
|
+
|
41
|
+
def upload_filename(media)
|
42
|
+
File.basename(media.base_uri.request_uri)
|
43
|
+
end
|
44
|
+
|
45
|
+
def extension(media)
|
46
|
+
upload_filename(media).split('.').last
|
47
|
+
end
|
48
|
+
|
49
|
+
def content_type(media)
|
50
|
+
::MIME::Types.type_for(extension(media)).first.content_type
|
51
|
+
end
|
52
|
+
|
53
|
+
def file(source_url)
|
54
|
+
media = open(source_url, 'rb')
|
55
|
+
io = StringIO.new(media.read)
|
56
|
+
Faraday::UploadIO.new(io, content_type(media), upload_filename(media))
|
57
|
+
end
|
12
58
|
end
|
13
59
|
end
|
data/lib/linked_in/version.rb
CHANGED
data/linkedin-v2.gemspec
CHANGED
@@ -23,6 +23,7 @@ Gem::Specification.new do |gem|
|
|
23
23
|
gem.add_dependency "oauth2", "~> 1.0"
|
24
24
|
gem.add_dependency "hashie", "~> 3.2"
|
25
25
|
gem.add_dependency "faraday", "~> 0.11"
|
26
|
+
gem.add_dependency 'mime-types', '~> 1.16'
|
26
27
|
|
27
28
|
gem.add_development_dependency "rake"
|
28
29
|
gem.add_development_dependency "rspec", "~> 3.0"
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe LinkedIn::Media do
|
4
|
+
let(:access_token) { 'dummy_access_token' }
|
5
|
+
let(:api) { LinkedIn::API.new(access_token) }
|
6
|
+
let(:base_uri) { double('uri', request_uri: 'http://example.org/elvis.png') }
|
7
|
+
let(:media) { double('media', size: 2048, base_uri: base_uri).as_null_object }
|
8
|
+
|
9
|
+
before do
|
10
|
+
allow_any_instance_of(LinkedIn::Media).to receive(:open).and_return(media)
|
11
|
+
end
|
12
|
+
|
13
|
+
it "should be able to upload media" do
|
14
|
+
result = '{"location": "urn:li:richMediaSummary:PNG-IMG-54f022ae8b3f4d479e925b4df68e19"}'
|
15
|
+
stub_request(:post, 'https://api.linkedin.com/media/upload').to_return(body: result)
|
16
|
+
expect(api.upload(source_url: "#{File.dirname(__FILE__)}/../../fixtures/elvis.jpg"))
|
17
|
+
.to eq("location" => "urn:li:richMediaSummary:PNG-IMG-54f022ae8b3f4d479e925b4df68e19")
|
18
|
+
end
|
19
|
+
end
|
@@ -33,9 +33,9 @@ http_interactions:
|
|
33
33
|
Content-Length:
|
34
34
|
- '249'
|
35
35
|
Date:
|
36
|
-
-
|
36
|
+
- Thu, 10 May 2018 16:18:30 GMT
|
37
37
|
X-Fs-Uuid:
|
38
|
-
-
|
38
|
+
- 7fbbf246d2542d1530771e94632b0000
|
39
39
|
Strict-Transport-Security:
|
40
40
|
- max-age=2592000
|
41
41
|
X-Content-Type-Options:
|
@@ -55,23 +55,23 @@ http_interactions:
|
|
55
55
|
- prod-lva1
|
56
56
|
Set-Cookie:
|
57
57
|
- _lipt=deleteMe; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/
|
58
|
-
- bcookie="v=2&
|
59
|
-
Path=/; Expires=
|
60
|
-
- bscookie="v=1&
|
61
|
-
domain=.www.linkedin.com; Path=/; Secure; Expires=
|
58
|
+
- bcookie="v=2&a20f78e0-9ab5-4ae9-85dd-1700380ce00b"; domain=.linkedin.com;
|
59
|
+
Path=/; Expires=Sun, 10-May-2020 03:56:02 GMT
|
60
|
+
- bscookie="v=1&2018051016183015c08a4f-a1d2-44bf-816e-7c960f409c25AQEAwIqZSsbea_2-QkCJhoBSf55fgP2A";
|
61
|
+
domain=.www.linkedin.com; Path=/; Secure; Expires=Sun, 10-May-2020 03:56:02
|
62
62
|
GMT; HttpOnly
|
63
63
|
- lang="v=2&lang=en-us"; Version=1; Domain=linkedin.com; Path=/
|
64
|
-
- leo_auth_token="GST:
|
65
|
-
Version=1; Max-Age=1799; Expires=
|
66
|
-
- lidc="b=
|
67
|
-
Expires=
|
64
|
+
- leo_auth_token="GST:8vAgXT5om3oeVQTyTIT_XTaTY8oRx9fbZWTkFOalyUNsynKHnSQbBA:1525969110:2707051a47df15820ce02d846137a7f57ade5f39";
|
65
|
+
Version=1; Max-Age=1799; Expires=Thu, 10-May-2018 16:48:29 GMT; Path=/
|
66
|
+
- lidc="b=VB27:g=1598:u=1:i=1525969110:t=1526055510:s=AQG_Wal_3aidvmIERcCW4KqiSyGqLUCk";
|
67
|
+
Expires=Fri, 11 May 2018 16:18:30 GMT; domain=.linkedin.com; Path=/
|
68
68
|
- s_leo_auth_token="delete me"; Version=1; Max-Age=0; Expires=Thu, 01-Jan-1970
|
69
69
|
00:00:10 GMT; Path=/
|
70
70
|
- sl="delete me"; Version=1; Domain=.www.linkedin.com; Max-Age=0; Expires=Thu,
|
71
71
|
01-Jan-1970 00:00:10 GMT; Path=/
|
72
72
|
- sl="delete me"; Version=1; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT;
|
73
73
|
Path=/
|
74
|
-
- visit="v=1&G"; Version=1; Max-Age=63072000; Expires=
|
74
|
+
- visit="v=1&G"; Version=1; Max-Age=63072000; Expires=Sat, 09-May-2020 16:18:30
|
75
75
|
GMT; Path=/
|
76
76
|
X-Li-Proto:
|
77
77
|
- http/1.1
|
@@ -87,7 +87,7 @@ http_interactions:
|
|
87
87
|
X-Li-Pop:
|
88
88
|
- prod-ech2
|
89
89
|
X-Li-Uuid:
|
90
|
-
-
|
90
|
+
- H7cjRtJULRUQz0M+YysAAA==
|
91
91
|
body:
|
92
92
|
encoding: ASCII-8BIT
|
93
93
|
string: '{"error_description":"the authorization server is currently unable
|
@@ -95,5 +95,5 @@ http_interactions:
|
|
95
95
|
Content-Type=application/json, X-RestLi-Error-Response=true, X-RestLi-Protocol-Version=2.0.0}cookies=[],status=404,entityLength=9511]}
|
96
96
|
","error":"temporarily_unavailable"}'
|
97
97
|
http_version:
|
98
|
-
recorded_at:
|
98
|
+
recorded_at: Thu, 10 May 2018 16:18:30 GMT
|
99
99
|
recorded_with: VCR 3.0.3
|
@@ -33,9 +33,9 @@ http_interactions:
|
|
33
33
|
Content-Length:
|
34
34
|
- '249'
|
35
35
|
Date:
|
36
|
-
-
|
36
|
+
- Thu, 10 May 2018 16:18:31 GMT
|
37
37
|
X-Fs-Uuid:
|
38
|
-
-
|
38
|
+
- 5a690092d2542d15006080a77b2b0000
|
39
39
|
Strict-Transport-Security:
|
40
40
|
- max-age=2592000
|
41
41
|
X-Content-Type-Options:
|
@@ -55,23 +55,23 @@ http_interactions:
|
|
55
55
|
- prod-lva1
|
56
56
|
Set-Cookie:
|
57
57
|
- _lipt=deleteMe; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/
|
58
|
-
- bcookie="v=2&
|
59
|
-
Path=/; Expires=
|
60
|
-
- bscookie="v=1&
|
61
|
-
domain=.www.linkedin.com; Path=/; Secure; Expires=
|
58
|
+
- bcookie="v=2&f2d8db8b-5eab-4586-8930-a111b4164eef"; domain=.linkedin.com;
|
59
|
+
Path=/; Expires=Sun, 10-May-2020 03:56:04 GMT
|
60
|
+
- bscookie="v=1&20180510161832d8f051d0-c2c1-4b5b-8ec2-e2ad1becd1a1AQEPkaCgZ-qb5YmlWRBi2sEN-Dxgcjbz";
|
61
|
+
domain=.www.linkedin.com; Path=/; Secure; Expires=Sun, 10-May-2020 03:56:04
|
62
62
|
GMT; HttpOnly
|
63
63
|
- lang="v=2&lang=en-us"; Version=1; Domain=linkedin.com; Path=/
|
64
|
-
- leo_auth_token="GST:
|
65
|
-
Version=1; Max-Age=1799; Expires=
|
66
|
-
- lidc="b=
|
67
|
-
Expires=
|
64
|
+
- leo_auth_token="GST:8wepTSM4Iof7e1yTvxqFinOiFeU9t5pc6h7PVzOvujU79O-Q6_tXoV:1525969112:9f1024b4a3f55b03573cd2cef353f8148fcc4ce4";
|
65
|
+
Version=1; Max-Age=1799; Expires=Thu, 10-May-2018 16:48:31 GMT; Path=/
|
66
|
+
- lidc="b=VB15:g=1647:u=1:i=1525969112:t=1526055512:s=AQHZcHLVWCKhnX9QALwFyNhJgvdY4T-F";
|
67
|
+
Expires=Fri, 11 May 2018 16:18:32 GMT; domain=.linkedin.com; Path=/
|
68
68
|
- s_leo_auth_token="delete me"; Version=1; Max-Age=0; Expires=Thu, 01-Jan-1970
|
69
69
|
00:00:10 GMT; Path=/
|
70
70
|
- sl="delete me"; Version=1; Domain=.www.linkedin.com; Max-Age=0; Expires=Thu,
|
71
71
|
01-Jan-1970 00:00:10 GMT; Path=/
|
72
72
|
- sl="delete me"; Version=1; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT;
|
73
73
|
Path=/
|
74
|
-
- visit="v=1&G"; Version=1; Max-Age=63072000; Expires=
|
74
|
+
- visit="v=1&G"; Version=1; Max-Age=63072000; Expires=Sat, 09-May-2020 16:18:32
|
75
75
|
GMT; Path=/
|
76
76
|
X-Li-Proto:
|
77
77
|
- http/1.1
|
@@ -85,9 +85,9 @@ http_interactions:
|
|
85
85
|
Connection:
|
86
86
|
- keep-alive
|
87
87
|
X-Li-Pop:
|
88
|
-
- prod-
|
88
|
+
- prod-ech2
|
89
89
|
X-Li-Uuid:
|
90
|
-
-
|
90
|
+
- hMMwkdJULRUQ6tGnfCsAAA==
|
91
91
|
body:
|
92
92
|
encoding: ASCII-8BIT
|
93
93
|
string: '{"error_description":"the authorization server is currently unable
|
@@ -95,5 +95,5 @@ http_interactions:
|
|
95
95
|
Content-Type=application/json, X-RestLi-Error-Response=true, X-RestLi-Protocol-Version=2.0.0}cookies=[],status=404,entityLength=9511]}
|
96
96
|
","error":"temporarily_unavailable"}'
|
97
97
|
http_version:
|
98
|
-
recorded_at:
|
98
|
+
recorded_at: Thu, 10 May 2018 16:18:32 GMT
|
99
99
|
recorded_with: VCR 3.0.3
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Content-Type:
|
28
28
|
- application/json
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Thu, 10 May 2018 16:18:15 GMT
|
31
31
|
X-Li-Fabric:
|
32
32
|
- prod-lva1
|
33
33
|
Transfer-Encoding:
|
@@ -35,17 +35,17 @@ http_interactions:
|
|
35
35
|
Connection:
|
36
36
|
- keep-alive
|
37
37
|
X-Li-Pop:
|
38
|
-
- prod-
|
38
|
+
- prod-ech2
|
39
39
|
X-Li-Proto:
|
40
40
|
- http/1.1
|
41
41
|
X-Li-Uuid:
|
42
|
-
-
|
42
|
+
- d7JNlc5ULRUgdJtWCSsAAA==
|
43
43
|
Set-Cookie:
|
44
|
-
- lidc="b=
|
45
|
-
Expires=
|
44
|
+
- lidc="b=VB28:g=1577:u=1:i=1525969095:t=1526055495:s=AQHbZ-P9DsU9WiZl4409KwszUggU2G1a";
|
45
|
+
Expires=Fri, 11 May 2018 16:18:15 GMT; domain=.linkedin.com; Path=/
|
46
46
|
body:
|
47
47
|
encoding: UTF-8
|
48
48
|
string: '{"serviceErrorCode":65600,"message":"Invalid access token","status":401}'
|
49
49
|
http_version:
|
50
|
-
recorded_at:
|
50
|
+
recorded_at: Thu, 10 May 2018 16:18:15 GMT
|
51
51
|
recorded_with: VCR 3.0.3
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Content-Type:
|
28
28
|
- application/json
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Thu, 10 May 2018 16:18:23 GMT
|
31
31
|
X-Li-Fabric:
|
32
32
|
- prod-lva1
|
33
33
|
Transfer-Encoding:
|
@@ -39,14 +39,14 @@ http_interactions:
|
|
39
39
|
X-Li-Proto:
|
40
40
|
- http/1.1
|
41
41
|
Set-Cookie:
|
42
|
-
- lidc="b=VB96:g=
|
42
|
+
- lidc="b=VB96:g=1157:u=18:i=1525969103:t=1526048328:s=AQEdzcGp03tn57unBJInFhSQjVfGyG6k"
|
43
43
|
X-Li-Route-Key:
|
44
|
-
- '"b=VB96:g=
|
44
|
+
- '"b=VB96:g=1157:u=18:i=1525969103:t=1526048328:s=AQEdzcGp03tn57unBJInFhSQjVfGyG6k"'
|
45
45
|
X-Li-Uuid:
|
46
|
-
-
|
46
|
+
- 68Nto9BULRXwPfpKCSsAAA==
|
47
47
|
body:
|
48
48
|
encoding: UTF-8
|
49
49
|
string: '{"serviceErrorCode":0,"message":"Resource me does not exist","status":404}'
|
50
50
|
http_version:
|
51
|
-
recorded_at:
|
51
|
+
recorded_at: Thu, 10 May 2018 16:18:23 GMT
|
52
52
|
recorded_with: VCR 3.0.3
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Content-Type:
|
28
28
|
- application/json
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Thu, 10 May 2018 16:18:21 GMT
|
31
31
|
X-Li-Fabric:
|
32
32
|
- prod-lva1
|
33
33
|
Transfer-Encoding:
|
@@ -35,18 +35,18 @@ http_interactions:
|
|
35
35
|
Connection:
|
36
36
|
- keep-alive
|
37
37
|
X-Li-Pop:
|
38
|
-
- prod-
|
38
|
+
- prod-ech2
|
39
39
|
X-Li-Proto:
|
40
40
|
- http/1.1
|
41
41
|
Set-Cookie:
|
42
|
-
- lidc="b=VB96:g=
|
42
|
+
- lidc="b=VB96:g=1157:u=18:i=1525969101:t=1526048328:s=AQFQTCy3Xt6QUbxQihaJBi_U-eH4CdCt"
|
43
43
|
X-Li-Route-Key:
|
44
|
-
- '"b=VB96:g=
|
44
|
+
- '"b=VB96:g=1157:u=18:i=1525969101:t=1526048328:s=AQFQTCy3Xt6QUbxQihaJBi_U-eH4CdCt"'
|
45
45
|
X-Li-Uuid:
|
46
|
-
-
|
46
|
+
- WAoCJ9BULRWQcBo6XisAAA==
|
47
47
|
body:
|
48
48
|
encoding: UTF-8
|
49
49
|
string: '{"serviceErrorCode":0,"message":"Resource me does not exist","status":404}'
|
50
50
|
http_version:
|
51
|
-
recorded_at:
|
51
|
+
recorded_at: Thu, 10 May 2018 16:18:21 GMT
|
52
52
|
recorded_with: VCR 3.0.3
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Content-Type:
|
28
28
|
- application/json
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Thu, 10 May 2018 16:18:21 GMT
|
31
31
|
X-Li-Fabric:
|
32
32
|
- prod-lva1
|
33
33
|
Transfer-Encoding:
|
@@ -39,14 +39,14 @@ http_interactions:
|
|
39
39
|
X-Li-Proto:
|
40
40
|
- http/1.1
|
41
41
|
Set-Cookie:
|
42
|
-
- lidc="b=VB96:g=
|
42
|
+
- lidc="b=VB96:g=1157:u=18:i=1525969101:t=1526048328:s=AQFQTCy3Xt6QUbxQihaJBi_U-eH4CdCt"
|
43
43
|
X-Li-Route-Key:
|
44
|
-
- '"b=VB96:g=
|
44
|
+
- '"b=VB96:g=1157:u=18:i=1525969101:t=1526048328:s=AQFQTCy3Xt6QUbxQihaJBi_U-eH4CdCt"'
|
45
45
|
X-Li-Uuid:
|
46
|
-
-
|
46
|
+
- jpEqFdBULRVwJ2HqcSsAAA==
|
47
47
|
body:
|
48
48
|
encoding: UTF-8
|
49
49
|
string: '{"serviceErrorCode":0,"message":"Resource people does not exist","status":404}'
|
50
50
|
http_version:
|
51
|
-
recorded_at:
|
51
|
+
recorded_at: Thu, 10 May 2018 16:18:21 GMT
|
52
52
|
recorded_with: VCR 3.0.3
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Content-Type:
|
28
28
|
- application/json
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Thu, 10 May 2018 16:18:21 GMT
|
31
31
|
X-Li-Fabric:
|
32
32
|
- prod-lva1
|
33
33
|
Transfer-Encoding:
|
@@ -35,18 +35,18 @@ http_interactions:
|
|
35
35
|
Connection:
|
36
36
|
- keep-alive
|
37
37
|
X-Li-Pop:
|
38
|
-
- prod-
|
38
|
+
- prod-ech2
|
39
39
|
X-Li-Proto:
|
40
40
|
- http/1.1
|
41
41
|
Set-Cookie:
|
42
|
-
- lidc="b=VB96:g=
|
42
|
+
- lidc="b=VB96:g=1157:u=18:i=1525969101:t=1526048328:s=AQFQTCy3Xt6QUbxQihaJBi_U-eH4CdCt"
|
43
43
|
X-Li-Route-Key:
|
44
|
-
- '"b=VB96:g=
|
44
|
+
- '"b=VB96:g=1157:u=18:i=1525969101:t=1526048328:s=AQFQTCy3Xt6QUbxQihaJBi_U-eH4CdCt"'
|
45
45
|
X-Li-Uuid:
|
46
|
-
-
|
46
|
+
- eOYYANBULRUgPofNPSsAAA==
|
47
47
|
body:
|
48
48
|
encoding: UTF-8
|
49
49
|
string: '{"serviceErrorCode":0,"message":"Resource me does not exist","status":404}'
|
50
50
|
http_version:
|
51
|
-
recorded_at:
|
51
|
+
recorded_at: Thu, 10 May 2018 16:18:21 GMT
|
52
52
|
recorded_with: VCR 3.0.3
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Content-Type:
|
28
28
|
- application/json
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Thu, 10 May 2018 16:18:19 GMT
|
31
31
|
X-Li-Fabric:
|
32
32
|
- prod-lva1
|
33
33
|
Transfer-Encoding:
|
@@ -35,18 +35,18 @@ http_interactions:
|
|
35
35
|
Connection:
|
36
36
|
- keep-alive
|
37
37
|
X-Li-Pop:
|
38
|
-
- prod-
|
38
|
+
- prod-ech2
|
39
39
|
X-Li-Proto:
|
40
40
|
- http/1.1
|
41
41
|
Set-Cookie:
|
42
|
-
- lidc="b=VB96:g=
|
42
|
+
- lidc="b=VB96:g=1157:u=18:i=1525969099:t=1526048328:s=AQGBZyyGKtGXpI2xbrDG8Aeo1ZwYuvSE"
|
43
43
|
X-Li-Route-Key:
|
44
|
-
- '"b=VB96:g=
|
44
|
+
- '"b=VB96:g=1157:u=18:i=1525969099:t=1526048328:s=AQGBZyyGKtGXpI2xbrDG8Aeo1ZwYuvSE"'
|
45
45
|
X-Li-Uuid:
|
46
|
-
-
|
46
|
+
- di+Ej89ULRXgFd2EXCsAAA==
|
47
47
|
body:
|
48
48
|
encoding: UTF-8
|
49
49
|
string: '{"serviceErrorCode":0,"message":"Illegal field name ''[''","status":400}'
|
50
50
|
http_version:
|
51
|
-
recorded_at:
|
51
|
+
recorded_at: Thu, 10 May 2018 16:18:19 GMT
|
52
52
|
recorded_with: VCR 3.0.3
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Content-Type:
|
28
28
|
- application/json
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Thu, 10 May 2018 16:18:18 GMT
|
31
31
|
X-Li-Fabric:
|
32
32
|
- prod-lva1
|
33
33
|
Transfer-Encoding:
|
@@ -39,14 +39,14 @@ http_interactions:
|
|
39
39
|
X-Li-Proto:
|
40
40
|
- http/1.1
|
41
41
|
Set-Cookie:
|
42
|
-
- lidc="b=VB96:g=
|
42
|
+
- lidc="b=VB96:g=1157:u=18:i=1525969098:t=1526048328:s=AQFsglQG0tHgtEQoYHSbKI59OEvH-kte"
|
43
43
|
X-Li-Route-Key:
|
44
|
-
- '"b=VB96:g=
|
44
|
+
- '"b=VB96:g=1157:u=18:i=1525969098:t=1526048328:s=AQFsglQG0tHgtEQoYHSbKI59OEvH-kte"'
|
45
45
|
X-Li-Uuid:
|
46
|
-
-
|
46
|
+
- 4SWWbs9ULRVgtwfTcSsAAA==
|
47
47
|
body:
|
48
48
|
encoding: UTF-8
|
49
49
|
string: '{"serviceErrorCode":0,"message":"Illegal field name ''[''","status":400}'
|
50
50
|
http_version:
|
51
|
-
recorded_at:
|
51
|
+
recorded_at: Thu, 10 May 2018 16:18:18 GMT
|
52
52
|
recorded_with: VCR 3.0.3
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Content-Type:
|
28
28
|
- application/json
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Thu, 10 May 2018 16:18:16 GMT
|
31
31
|
X-Li-Fabric:
|
32
32
|
- prod-lva1
|
33
33
|
Transfer-Encoding:
|
@@ -35,19 +35,19 @@ http_interactions:
|
|
35
35
|
Connection:
|
36
36
|
- keep-alive
|
37
37
|
X-Li-Pop:
|
38
|
-
- prod-
|
38
|
+
- prod-ech2
|
39
39
|
X-Li-Proto:
|
40
40
|
- http/1.1
|
41
41
|
Set-Cookie:
|
42
|
-
- lidc="b=VB96:g=
|
42
|
+
- lidc="b=VB96:g=1157:u=18:i=1525969096:t=1526048328:s=AQGJ2igEcsUxnykQWJzDA4YvuXRIAaX6"
|
43
43
|
X-Li-Route-Key:
|
44
|
-
- '"b=VB96:g=
|
44
|
+
- '"b=VB96:g=1157:u=18:i=1525969096:t=1526048328:s=AQGJ2igEcsUxnykQWJzDA4YvuXRIAaX6"'
|
45
45
|
X-Li-Uuid:
|
46
|
-
-
|
46
|
+
- 2w+I9s5ULRWAN0MWcisAAA==
|
47
47
|
body:
|
48
48
|
encoding: UTF-8
|
49
49
|
string: '{"serviceErrorCode":100,"message":"Unpermitted fields present in PARAMETER:
|
50
50
|
Data Processing Exception while processing fields [/lang]","status":403}'
|
51
51
|
http_version:
|
52
|
-
recorded_at:
|
52
|
+
recorded_at: Thu, 10 May 2018 16:18:16 GMT
|
53
53
|
recorded_with: VCR 3.0.3
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Content-Type:
|
28
28
|
- application/json
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Thu, 10 May 2018 16:18:20 GMT
|
31
31
|
X-Li-Fabric:
|
32
32
|
- prod-lva1
|
33
33
|
Transfer-Encoding:
|
@@ -35,18 +35,18 @@ http_interactions:
|
|
35
35
|
Connection:
|
36
36
|
- keep-alive
|
37
37
|
X-Li-Pop:
|
38
|
-
- prod-
|
38
|
+
- prod-ech2
|
39
39
|
X-Li-Proto:
|
40
40
|
- http/1.1
|
41
41
|
Set-Cookie:
|
42
|
-
- lidc="b=VB96:g=
|
42
|
+
- lidc="b=VB96:g=1157:u=18:i=1525969100:t=1526048328:s=AQHGbdTZkAuTFwCxrQlRCMqykPuC4ozr"
|
43
43
|
X-Li-Route-Key:
|
44
|
-
- '"b=VB96:g=
|
44
|
+
- '"b=VB96:g=1157:u=18:i=1525969100:t=1526048328:s=AQHGbdTZkAuTFwCxrQlRCMqykPuC4ozr"'
|
45
45
|
X-Li-Uuid:
|
46
|
-
-
|
46
|
+
- FpW46c9ULRUQ6gMUCysAAA==
|
47
47
|
body:
|
48
48
|
encoding: UTF-8
|
49
49
|
string: '{"serviceErrorCode":0,"message":"Resource null does not exist","status":404}'
|
50
50
|
http_version:
|
51
|
-
recorded_at:
|
51
|
+
recorded_at: Thu, 10 May 2018 16:18:20 GMT
|
52
52
|
recorded_with: VCR 3.0.3
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Content-Type:
|
28
28
|
- application/json
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Thu, 10 May 2018 16:18:19 GMT
|
31
31
|
X-Li-Fabric:
|
32
32
|
- prod-lva1
|
33
33
|
Transfer-Encoding:
|
@@ -39,14 +39,14 @@ http_interactions:
|
|
39
39
|
X-Li-Proto:
|
40
40
|
- http/1.1
|
41
41
|
Set-Cookie:
|
42
|
-
- lidc="b=VB96:g=
|
42
|
+
- lidc="b=VB96:g=1157:u=18:i=1525969099:t=1526048328:s=AQGBZyyGKtGXpI2xbrDG8Aeo1ZwYuvSE"
|
43
43
|
X-Li-Route-Key:
|
44
|
-
- '"b=VB96:g=
|
44
|
+
- '"b=VB96:g=1157:u=18:i=1525969099:t=1526048328:s=AQGBZyyGKtGXpI2xbrDG8Aeo1ZwYuvSE"'
|
45
45
|
X-Li-Uuid:
|
46
|
-
-
|
46
|
+
- S+5xp89ULRUgUt+KXCsAAA==
|
47
47
|
body:
|
48
48
|
encoding: UTF-8
|
49
49
|
string: '{"serviceErrorCode":0,"message":"Resource null does not exist","status":404}'
|
50
50
|
http_version:
|
51
|
-
recorded_at:
|
51
|
+
recorded_at: Thu, 10 May 2018 16:18:19 GMT
|
52
52
|
recorded_with: VCR 3.0.3
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Content-Type:
|
28
28
|
- application/json
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Thu, 10 May 2018 16:18:20 GMT
|
31
31
|
X-Li-Fabric:
|
32
32
|
- prod-lva1
|
33
33
|
Transfer-Encoding:
|
@@ -35,18 +35,18 @@ http_interactions:
|
|
35
35
|
Connection:
|
36
36
|
- keep-alive
|
37
37
|
X-Li-Pop:
|
38
|
-
- prod-
|
38
|
+
- prod-ech2
|
39
39
|
X-Li-Proto:
|
40
40
|
- http/1.1
|
41
41
|
Set-Cookie:
|
42
|
-
- lidc="b=VB96:g=
|
42
|
+
- lidc="b=VB96:g=1157:u=18:i=1525969100:t=1526048328:s=AQHGbdTZkAuTFwCxrQlRCMqykPuC4ozr"
|
43
43
|
X-Li-Route-Key:
|
44
|
-
- '"b=VB96:g=
|
44
|
+
- '"b=VB96:g=1157:u=18:i=1525969100:t=1526048328:s=AQHGbdTZkAuTFwCxrQlRCMqykPuC4ozr"'
|
45
45
|
X-Li-Uuid:
|
46
|
-
-
|
46
|
+
- fq9q1M9ULRXAsA8bCysAAA==
|
47
47
|
body:
|
48
48
|
encoding: UTF-8
|
49
49
|
string: '{"serviceErrorCode":0,"message":"Resource null does not exist","status":404}'
|
50
50
|
http_version:
|
51
|
-
recorded_at:
|
51
|
+
recorded_at: Thu, 10 May 2018 16:18:20 GMT
|
52
52
|
recorded_with: VCR 3.0.3
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Content-Type:
|
28
28
|
- application/json
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Thu, 10 May 2018 16:18:20 GMT
|
31
31
|
X-Li-Fabric:
|
32
32
|
- prod-lva1
|
33
33
|
Transfer-Encoding:
|
@@ -35,18 +35,18 @@ http_interactions:
|
|
35
35
|
Connection:
|
36
36
|
- keep-alive
|
37
37
|
X-Li-Pop:
|
38
|
-
- prod-
|
38
|
+
- prod-ech2
|
39
39
|
X-Li-Proto:
|
40
40
|
- http/1.1
|
41
41
|
Set-Cookie:
|
42
|
-
- lidc="b=VB96:g=
|
42
|
+
- lidc="b=VB96:g=1157:u=18:i=1525969099:t=1526048328:s=AQGBZyyGKtGXpI2xbrDG8Aeo1ZwYuvSE"
|
43
43
|
X-Li-Route-Key:
|
44
|
-
- '"b=VB96:g=
|
44
|
+
- '"b=VB96:g=1157:u=18:i=1525969099:t=1526048328:s=AQGBZyyGKtGXpI2xbrDG8Aeo1ZwYuvSE"'
|
45
45
|
X-Li-Uuid:
|
46
|
-
-
|
46
|
+
- sODevc9ULRXgjgr9PSsAAA==
|
47
47
|
body:
|
48
48
|
encoding: UTF-8
|
49
49
|
string: '{"serviceErrorCode":0,"message":"Resource null does not exist","status":404}'
|
50
50
|
http_version:
|
51
|
-
recorded_at:
|
51
|
+
recorded_at: Thu, 10 May 2018 16:18:20 GMT
|
52
52
|
recorded_with: VCR 3.0.3
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Content-Type:
|
28
28
|
- application/json
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Thu, 10 May 2018 16:18:23 GMT
|
31
31
|
X-Li-Fabric:
|
32
32
|
- prod-lva1
|
33
33
|
Transfer-Encoding:
|
@@ -35,18 +35,18 @@ http_interactions:
|
|
35
35
|
Connection:
|
36
36
|
- keep-alive
|
37
37
|
X-Li-Pop:
|
38
|
-
- prod-
|
38
|
+
- prod-ech2
|
39
39
|
X-Li-Proto:
|
40
40
|
- http/1.1
|
41
41
|
Set-Cookie:
|
42
|
-
- lidc="b=VB96:g=
|
42
|
+
- lidc="b=VB96:g=1157:u=18:i=1525969103:t=1526048328:s=AQEdzcGp03tn57unBJInFhSQjVfGyG6k"
|
43
43
|
X-Li-Route-Key:
|
44
|
-
- '"b=VB96:g=
|
44
|
+
- '"b=VB96:g=1157:u=18:i=1525969103:t=1526048328:s=AQEdzcGp03tn57unBJInFhSQjVfGyG6k"'
|
45
45
|
X-Li-Uuid:
|
46
|
-
-
|
46
|
+
- QBIYjtBULRWgJnC/cysAAA==
|
47
47
|
body:
|
48
48
|
encoding: UTF-8
|
49
49
|
string: '{"serviceErrorCode":0,"message":"Resource me does not exist","status":404}'
|
50
50
|
http_version:
|
51
|
-
recorded_at:
|
51
|
+
recorded_at: Thu, 10 May 2018 16:18:23 GMT
|
52
52
|
recorded_with: VCR 3.0.3
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Content-Type:
|
28
28
|
- application/json
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Thu, 10 May 2018 16:18:23 GMT
|
31
31
|
X-Li-Fabric:
|
32
32
|
- prod-lva1
|
33
33
|
Transfer-Encoding:
|
@@ -39,14 +39,14 @@ http_interactions:
|
|
39
39
|
X-Li-Proto:
|
40
40
|
- http/1.1
|
41
41
|
Set-Cookie:
|
42
|
-
- lidc="b=VB96:g=
|
42
|
+
- lidc="b=VB96:g=1157:u=18:i=1525969103:t=1526048328:s=AQEdzcGp03tn57unBJInFhSQjVfGyG6k"
|
43
43
|
X-Li-Route-Key:
|
44
|
-
- '"b=VB96:g=
|
44
|
+
- '"b=VB96:g=1157:u=18:i=1525969103:t=1526048328:s=AQEdzcGp03tn57unBJInFhSQjVfGyG6k"'
|
45
45
|
X-Li-Uuid:
|
46
|
-
-
|
46
|
+
- 5sbWd9BULRWA1iiacSsAAA==
|
47
47
|
body:
|
48
48
|
encoding: UTF-8
|
49
49
|
string: '{"serviceErrorCode":0,"message":"Resource people does not exist","status":404}'
|
50
50
|
http_version:
|
51
|
-
recorded_at:
|
51
|
+
recorded_at: Thu, 10 May 2018 16:18:23 GMT
|
52
52
|
recorded_with: VCR 3.0.3
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Content-Type:
|
28
28
|
- application/json
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Thu, 10 May 2018 16:18:22 GMT
|
31
31
|
X-Li-Fabric:
|
32
32
|
- prod-lva1
|
33
33
|
Transfer-Encoding:
|
@@ -39,14 +39,14 @@ http_interactions:
|
|
39
39
|
X-Li-Proto:
|
40
40
|
- http/1.1
|
41
41
|
Set-Cookie:
|
42
|
-
- lidc="b=VB96:g=
|
42
|
+
- lidc="b=VB96:g=1157:u=18:i=1525969102:t=1526048328:s=AQHUUC-2Fn8U2-xzVbjjJtVPmskmb6lH"
|
43
43
|
X-Li-Route-Key:
|
44
|
-
- '"b=VB96:g=
|
44
|
+
- '"b=VB96:g=1157:u=18:i=1525969102:t=1526048328:s=AQHUUC-2Fn8U2-xzVbjjJtVPmskmb6lH"'
|
45
45
|
X-Li-Uuid:
|
46
|
-
-
|
46
|
+
- 6WayYNBULRUADwYScisAAA==
|
47
47
|
body:
|
48
48
|
encoding: UTF-8
|
49
49
|
string: '{"serviceErrorCode":0,"message":"Resource me does not exist","status":404}'
|
50
50
|
http_version:
|
51
|
-
recorded_at:
|
51
|
+
recorded_at: Thu, 10 May 2018 16:18:22 GMT
|
52
52
|
recorded_with: VCR 3.0.3
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
X-Restli-Protocol-Version:
|
28
28
|
- 1.0.0
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Thu, 10 May 2018 16:18:18 GMT
|
31
31
|
X-Li-Fabric:
|
32
32
|
- prod-lva1
|
33
33
|
Transfer-Encoding:
|
@@ -35,23 +35,23 @@ http_interactions:
|
|
35
35
|
Connection:
|
36
36
|
- keep-alive
|
37
37
|
X-Li-Pop:
|
38
|
-
- prod-
|
38
|
+
- prod-ech2
|
39
39
|
X-Li-Proto:
|
40
40
|
- http/1.1
|
41
41
|
Set-Cookie:
|
42
|
-
- lidc="b=VB96:g=
|
42
|
+
- lidc="b=VB96:g=1157:u=18:i=1525969097:t=1526048328:s=AQFfgdQhiI7ihzGEEFXX9YowlR7uvr8q"
|
43
43
|
X-Li-Route-Key:
|
44
|
-
- '"b=VB96:g=
|
44
|
+
- '"b=VB96:g=1157:u=18:i=1525969097:t=1526048328:s=AQFfgdQhiI7ihzGEEFXX9YowlR7uvr8q"'
|
45
45
|
X-Li-Uuid:
|
46
|
-
-
|
46
|
+
- D/t5Qs9ULRVQboaWCSsAAA==
|
47
47
|
body:
|
48
48
|
encoding: UTF-8
|
49
49
|
string: '{"industryName":{"localized":{"en_US":"Public Relations"},"preferredLocale":{"country":"US","language":"en"}},"localizedLastName":"Santos
|
50
50
|
del Nariz","lastName":{"localized":{"en_US":"Santos del Nariz"},"preferredLocale":{"country":"US","language":"en"}},"vanityName":"miguel-santos-del-nariz","positions":{"1231524997":{"startMonthYear":{"year":2014},"companyName":{"localized":{"en_US":"Ceres
|
51
51
|
Logic"},"preferredLocale":{"country":"US","language":"en"}},"title":{"localized":{"en_US":"Social
|
52
52
|
Media Specialist"},"preferredLocale":{"country":"US","language":"en"}}},"1069560016":{"startMonthYear":{"year":2009},"endMonthYear":{"year":2014},"companyName":{"localized":{"en_US":"Winletric"},"preferredLocale":{"country":"US","language":"en"}},"title":{"localized":{"en_US":"Warehouse
|
53
|
-
Manager"},"preferredLocale":{"country":"US","language":"en"}}}},"pictureInfo":{"croppedImage":"urn:li:media:/gcrc/dms/image/C4E03AQEmhyl0HXzfGQ/profile-displayphoto-shrink_800_800/0?e=
|
53
|
+
Manager"},"preferredLocale":{"country":"US","language":"en"}}}},"pictureInfo":{"croppedImage":"urn:li:media:/gcrc/dms/image/C4E03AQEmhyl0HXzfGQ/profile-displayphoto-shrink_800_800/0?e=1531353600&v=beta&t=Bvfb2MAIeoVtSJZAjfnLYM1pxkyjOcD5_BTO9uyNG8I","masterImage":"urn:li:media:/gcrc/dms/image/C4E00AQFBxXq_zXDwiw/profile-originalphoto-shrink_900_1200/0?e=1526058000&v=beta&t=XHr0XI053AtrWMRpEIvvZaiEQHzc2H0I9ncI3S5Qvj0","photoFilterEditInfo":{"bottomLeft":{"x":-6.178632484870436E-17,"y":1.0},"saturation":0.0,"brightness":0.0,"vignette":0.0,"photoFilterType":"ORIGINAL","bottomRight":{"x":1.0,"y":1.0},"topLeft":{"x":-6.178632484870436E-17,"y":0.0},"contrast":0.0,"topRight":{"x":1.0,"y":0.0}}},"firstName":{"localized":{"en_US":"Miguel"},"preferredLocale":{"country":"US","language":"en"}},"profilePicture":{"displayImage":"urn:li:digitalmediaAsset:C4E03AQEmhyl0HXzfGQ","created":1505332528742,"lastModified":1505332528742,"photoFilterEditInfo":{"bottomLeft":{"x":-6.178632484870436E-17,"y":1.0},"saturation":0.0,"brightness":0.0,"vignette":0.0,"photoFilterType":"ORIGINAL","bottomRight":{"x":1.0,"y":1.0},"topLeft":{"x":-6.178632484870436E-17,"y":0.0},"contrast":0.0,"topRight":{"x":1.0,"y":0.0}}},"industryId":"urn:li:industry:4","location":{"countryCode":"us","postalCode":"04768","userSelectedGeoPlaceCode":"5-2-0-2-29","standardizedLocationUrn":"urn:li:standardizedLocationKey:(us,04768)"},"id":"MpkAFJTlPY","lastModified":1524678302559,"headline":{"localized":{"en_US":"Social
|
54
54
|
Media Specialist at Ceres Logic"},"preferredLocale":{"country":"US","language":"en"}},"localizedFirstName":"Miguel"}'
|
55
55
|
http_version:
|
56
|
-
recorded_at:
|
56
|
+
recorded_at: Thu, 10 May 2018 16:18:18 GMT
|
57
57
|
recorded_with: VCR 3.0.3
|
@@ -41,14 +41,14 @@ http_interactions:
|
|
41
41
|
X-Li-Proto:
|
42
42
|
- http/1.1
|
43
43
|
Set-Cookie:
|
44
|
-
- lidc="b=VB96:g=
|
44
|
+
- lidc="b=VB96:g=1157:u=18:i=1525969098:t=1526048328:s=AQFsglQG0tHgtEQoYHSbKI59OEvH-kte"
|
45
45
|
X-Li-Route-Key:
|
46
|
-
- '"b=VB96:g=
|
46
|
+
- '"b=VB96:g=1157:u=18:i=1525969098:t=1526048328:s=AQFsglQG0tHgtEQoYHSbKI59OEvH-kte"'
|
47
47
|
X-Li-Uuid:
|
48
|
-
-
|
48
|
+
- 4S1QWc9ULRWwFpbwcSsAAA==
|
49
49
|
body:
|
50
50
|
encoding: UTF-8
|
51
51
|
string: '{"message":"INTERNAL SERVER ERROR","status":500}'
|
52
52
|
http_version:
|
53
|
-
recorded_at:
|
53
|
+
recorded_at: Thu, 10 May 2018 16:18:18 GMT
|
54
54
|
recorded_with: VCR 3.0.3
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
X-Restli-Protocol-Version:
|
28
28
|
- 1.0.0
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Thu, 10 May 2018 16:18:15 GMT
|
31
31
|
X-Li-Fabric:
|
32
32
|
- prod-lva1
|
33
33
|
Transfer-Encoding:
|
@@ -35,23 +35,23 @@ http_interactions:
|
|
35
35
|
Connection:
|
36
36
|
- keep-alive
|
37
37
|
X-Li-Pop:
|
38
|
-
- prod-
|
38
|
+
- prod-ech2
|
39
39
|
X-Li-Proto:
|
40
40
|
- http/1.1
|
41
41
|
Set-Cookie:
|
42
|
-
- lidc="b=VB96:g=
|
42
|
+
- lidc="b=VB96:g=1157:u=18:i=1525969095:t=1526048328:s=AQGktxst47rMEDHNlwIcK9zGWDunDoNN"
|
43
43
|
X-Li-Route-Key:
|
44
|
-
- '"b=VB96:g=
|
44
|
+
- '"b=VB96:g=1157:u=18:i=1525969095:t=1526048328:s=AQGktxst47rMEDHNlwIcK9zGWDunDoNN"'
|
45
45
|
X-Li-Uuid:
|
46
|
-
-
|
46
|
+
- UlFmss5ULRUAAJRwXisAAA==
|
47
47
|
body:
|
48
48
|
encoding: UTF-8
|
49
49
|
string: '{"industryName":{"localized":{"en_US":"Public Relations"},"preferredLocale":{"country":"US","language":"en"}},"localizedLastName":"Santos
|
50
50
|
del Nariz","lastName":{"localized":{"en_US":"Santos del Nariz"},"preferredLocale":{"country":"US","language":"en"}},"vanityName":"miguel-santos-del-nariz","positions":{"1231524997":{"startMonthYear":{"year":2014},"companyName":{"localized":{"en_US":"Ceres
|
51
51
|
Logic"},"preferredLocale":{"country":"US","language":"en"}},"title":{"localized":{"en_US":"Social
|
52
52
|
Media Specialist"},"preferredLocale":{"country":"US","language":"en"}}},"1069560016":{"startMonthYear":{"year":2009},"endMonthYear":{"year":2014},"companyName":{"localized":{"en_US":"Winletric"},"preferredLocale":{"country":"US","language":"en"}},"title":{"localized":{"en_US":"Warehouse
|
53
|
-
Manager"},"preferredLocale":{"country":"US","language":"en"}}}},"pictureInfo":{"croppedImage":"urn:li:media:/gcrc/dms/image/C4E03AQEmhyl0HXzfGQ/profile-displayphoto-shrink_800_800/0?e=
|
53
|
+
Manager"},"preferredLocale":{"country":"US","language":"en"}}}},"pictureInfo":{"croppedImage":"urn:li:media:/gcrc/dms/image/C4E03AQEmhyl0HXzfGQ/profile-displayphoto-shrink_800_800/0?e=1531353600&v=beta&t=Bvfb2MAIeoVtSJZAjfnLYM1pxkyjOcD5_BTO9uyNG8I","masterImage":"urn:li:media:/gcrc/dms/image/C4E00AQFBxXq_zXDwiw/profile-originalphoto-shrink_900_1200/0?e=1526058000&v=beta&t=XHr0XI053AtrWMRpEIvvZaiEQHzc2H0I9ncI3S5Qvj0","created":1505332528742,"lastModified":1505332528742},"firstName":{"localized":{"en_US":"Miguel"},"preferredLocale":{"country":"US","language":"en"}},"profilePicture":{"displayImage":"urn:li:digitalmediaAsset:C4E03AQEmhyl0HXzfGQ","created":1505332528742,"lastModified":1505332528742,"originalImage":"urn:li:digitalmediaAsset:C4E04AQFBxXq_zXDwiw","photoFilterEditInfo":{"bottomLeft":{"x":-6.178632484870436E-17,"y":1.0},"saturation":0.0,"brightness":0.0,"vignette":0.0,"photoFilterType":"ORIGINAL","bottomRight":{"x":1.0,"y":1.0},"topLeft":{"x":-6.178632484870436E-17,"y":0.0},"contrast":0.0,"topRight":{"x":1.0,"y":0.0}}},"industryId":"urn:li:industry:4","location":{"countryCode":"us","postalCode":"04768","userSelectedGeoPlaceCode":"5-2-0-2-29","standardizedLocationUrn":"urn:li:standardizedLocationKey:(us,04768)"},"id":"MpkAFJTlPY","lastModified":1524678302559,"headline":{"localized":{"en_US":"Social
|
54
54
|
Media Specialist at Ceres Logic"},"preferredLocale":{"country":"US","language":"en"}},"localizedFirstName":"Miguel"}'
|
55
55
|
http_version:
|
56
|
-
recorded_at:
|
56
|
+
recorded_at: Thu, 10 May 2018 16:18:15 GMT
|
57
57
|
recorded_with: VCR 3.0.3
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Content-Type:
|
28
28
|
- application/json
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Thu, 10 May 2018 16:18:16 GMT
|
31
31
|
X-Li-Fabric:
|
32
32
|
- prod-lva1
|
33
33
|
Transfer-Encoding:
|
@@ -35,19 +35,19 @@ http_interactions:
|
|
35
35
|
Connection:
|
36
36
|
- keep-alive
|
37
37
|
X-Li-Pop:
|
38
|
-
- prod-
|
38
|
+
- prod-ech2
|
39
39
|
X-Li-Proto:
|
40
40
|
- http/1.1
|
41
41
|
Set-Cookie:
|
42
|
-
- lidc="b=VB96:g=
|
42
|
+
- lidc="b=VB96:g=1157:u=18:i=1525969096:t=1526048328:s=AQGJ2igEcsUxnykQWJzDA4YvuXRIAaX6"
|
43
43
|
X-Li-Route-Key:
|
44
|
-
- '"b=VB96:g=
|
44
|
+
- '"b=VB96:g=1157:u=18:i=1525969096:t=1526048328:s=AQGJ2igEcsUxnykQWJzDA4YvuXRIAaX6"'
|
45
45
|
X-Li-Uuid:
|
46
|
-
-
|
46
|
+
- 2I0K3c5ULRVgh83wPSsAAA==
|
47
47
|
body:
|
48
48
|
encoding: UTF-8
|
49
49
|
string: '{"serviceErrorCode":100,"message":"Unpermitted fields present in PARAMETER:
|
50
50
|
Data Processing Exception while processing fields [/secure]","status":403}'
|
51
51
|
http_version:
|
52
|
-
recorded_at:
|
52
|
+
recorded_at: Thu, 10 May 2018 16:18:16 GMT
|
53
53
|
recorded_with: VCR 3.0.3
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Content-Type:
|
28
28
|
- application/json
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Thu, 10 May 2018 16:18:24 GMT
|
31
31
|
X-Li-Fabric:
|
32
32
|
- prod-lva1
|
33
33
|
Transfer-Encoding:
|
@@ -35,18 +35,18 @@ http_interactions:
|
|
35
35
|
Connection:
|
36
36
|
- keep-alive
|
37
37
|
X-Li-Pop:
|
38
|
-
- prod-
|
38
|
+
- prod-ech2
|
39
39
|
X-Li-Proto:
|
40
40
|
- http/1.1
|
41
41
|
Set-Cookie:
|
42
|
-
- lidc="b=VB96:g=
|
42
|
+
- lidc="b=VB96:g=1157:u=18:i=1525969104:t=1526048328:s=AQFkaMzpKX9Tmcm_kKen6K69DPm7HLwJ"
|
43
43
|
X-Li-Route-Key:
|
44
|
-
- '"b=VB96:g=
|
44
|
+
- '"b=VB96:g=1157:u=18:i=1525969104:t=1526048328:s=AQFkaMzpKX9Tmcm_kKen6K69DPm7HLwJ"'
|
45
45
|
X-Li-Uuid:
|
46
|
-
-
|
46
|
+
- Yfh8vNBULRWwih4+XSsAAA==
|
47
47
|
body:
|
48
48
|
encoding: UTF-8
|
49
49
|
string: '{"serviceErrorCode":0,"message":"Resource me does not exist","status":404}'
|
50
50
|
http_version:
|
51
|
-
recorded_at:
|
51
|
+
recorded_at: Thu, 10 May 2018 16:18:24 GMT
|
52
52
|
recorded_with: VCR 3.0.3
|
@@ -33,9 +33,9 @@ http_interactions:
|
|
33
33
|
Content-Length:
|
34
34
|
- '249'
|
35
35
|
Date:
|
36
|
-
-
|
36
|
+
- Thu, 10 May 2018 16:18:30 GMT
|
37
37
|
X-Fs-Uuid:
|
38
|
-
-
|
38
|
+
- 448e3869d2542d1570bbcd263d2b0000
|
39
39
|
Strict-Transport-Security:
|
40
40
|
- max-age=2592000
|
41
41
|
X-Content-Type-Options:
|
@@ -55,23 +55,23 @@ http_interactions:
|
|
55
55
|
- prod-lva1
|
56
56
|
Set-Cookie:
|
57
57
|
- _lipt=deleteMe; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/
|
58
|
-
- bcookie="v=2&
|
59
|
-
Path=/; Expires=
|
60
|
-
- bscookie="v=1&
|
61
|
-
domain=.www.linkedin.com; Path=/; Secure; Expires=
|
58
|
+
- bcookie="v=2&57127e54-ab18-4107-8b9f-3298be428fd4"; domain=.linkedin.com;
|
59
|
+
Path=/; Expires=Sun, 10-May-2020 03:56:03 GMT
|
60
|
+
- bscookie="v=1&20180510161831d455cf9a-2517-49f7-8e87-e574f25eb077AQE1eL_BMaUnMptBf-TMOKYQ7rYnVA8D";
|
61
|
+
domain=.www.linkedin.com; Path=/; Secure; Expires=Sun, 10-May-2020 03:56:03
|
62
62
|
GMT; HttpOnly
|
63
63
|
- lang="v=2&lang=en-us"; Version=1; Domain=linkedin.com; Path=/
|
64
|
-
- leo_auth_token="GST:
|
65
|
-
Version=1; Max-Age=1799; Expires=
|
66
|
-
- lidc="b=
|
67
|
-
Expires=
|
64
|
+
- leo_auth_token="GST:UTUKHc_xEF4m8KzLLa9g6EegZCiwiClfaRfoEY_TYb4mMakLSTcFCk:1525969111:d924d4fd17dbfad1c5597f48a383653b8fd28710";
|
65
|
+
Version=1; Max-Age=1799; Expires=Thu, 10-May-2018 16:48:30 GMT; Path=/
|
66
|
+
- lidc="b=VB47:g=1394:u=1:i=1525969111:t=1526055511:s=AQGvFYAKwRpI24fOOZpv7J2WLQX7Dl5U";
|
67
|
+
Expires=Fri, 11 May 2018 16:18:31 GMT; domain=.linkedin.com; Path=/
|
68
68
|
- s_leo_auth_token="delete me"; Version=1; Max-Age=0; Expires=Thu, 01-Jan-1970
|
69
69
|
00:00:10 GMT; Path=/
|
70
70
|
- sl="delete me"; Version=1; Domain=.www.linkedin.com; Max-Age=0; Expires=Thu,
|
71
71
|
01-Jan-1970 00:00:10 GMT; Path=/
|
72
72
|
- sl="delete me"; Version=1; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT;
|
73
73
|
Path=/
|
74
|
-
- visit="v=1&G"; Version=1; Max-Age=63072000; Expires=
|
74
|
+
- visit="v=1&G"; Version=1; Max-Age=63072000; Expires=Sat, 09-May-2020 16:18:31
|
75
75
|
GMT; Path=/
|
76
76
|
X-Li-Proto:
|
77
77
|
- http/1.1
|
@@ -87,7 +87,7 @@ http_interactions:
|
|
87
87
|
X-Li-Pop:
|
88
88
|
- prod-ech2
|
89
89
|
X-Li-Uuid:
|
90
|
-
-
|
90
|
+
- CA+XY9JULRWQOm7NPSsAAA==
|
91
91
|
body:
|
92
92
|
encoding: ASCII-8BIT
|
93
93
|
string: '{"error_description":"the authorization server is currently unable
|
@@ -95,5 +95,5 @@ http_interactions:
|
|
95
95
|
Content-Type=application/json, X-RestLi-Error-Response=true, X-RestLi-Protocol-Version=2.0.0}cookies=[],status=404,entityLength=9511]}
|
96
96
|
","error":"temporarily_unavailable"}'
|
97
97
|
http_version:
|
98
|
-
recorded_at:
|
98
|
+
recorded_at: Thu, 10 May 2018 16:18:31 GMT
|
99
99
|
recorded_with: VCR 3.0.3
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: linkedin-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Desjardins
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oauth2
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0.11'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: mime-types
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.16'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.16'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: rake
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -186,6 +200,7 @@ files:
|
|
186
200
|
- spec/linked_in/api/api_spec.rb
|
187
201
|
- spec/linked_in/api/communications_spec.rb
|
188
202
|
- spec/linked_in/api/jobs_spec.rb
|
203
|
+
- spec/linked_in/api/media_spec.rb
|
189
204
|
- spec/linked_in/api/organizations_spec.rb
|
190
205
|
- spec/linked_in/api/people_spec.rb
|
191
206
|
- spec/linked_in/api/search_spec.rb
|
@@ -249,6 +264,7 @@ test_files:
|
|
249
264
|
- spec/linked_in/api/api_spec.rb
|
250
265
|
- spec/linked_in/api/communications_spec.rb
|
251
266
|
- spec/linked_in/api/jobs_spec.rb
|
267
|
+
- spec/linked_in/api/media_spec.rb
|
252
268
|
- spec/linked_in/api/organizations_spec.rb
|
253
269
|
- spec/linked_in/api/people_spec.rb
|
254
270
|
- spec/linked_in/api/search_spec.rb
|