diff options
Diffstat (limited to 'services/linkedin/network.json')
| -rw-r--r-- | services/linkedin/network.json | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/services/linkedin/network.json b/services/linkedin/network.json new file mode 100644 index 0000000..280a2ca --- /dev/null +++ b/services/linkedin/network.json @@ -0,0 +1,81 @@ +{ + "version" : "0.1", + "base_url" : "http://api.linkedin.com", + "methods" : { + "my_network_updates" : { + "path" : "/v1/people/~/network/updates", + "method" : "GET", + "headers" : { + "Authorization" : "OAuth oauth_consumer_key=\":oauth_consumer_key\", oauth_nonce=\":oauth_nonce\", oauth_signature_method=\":oauth_signature_method\", oauth_timestamp=\":oauth_timestamp\", oauth_token=\":oauth_token\", oauth_version=\":oauth_version\", oauth_signature=\":oauth_signature\"" + }, + "optional_params" : [ + "scope", + "type", + "count", + "start", + "after", + "before", + "show-hidden-members", + "format" + ], + "expected_status" : [ 200 ] + }, + "network_updates_by_id" : { + "path" : "/v1/people/id=:id/network/updates", + "method" : "GET", + "headers" : { + "Authorization" : "OAuth oauth_consumer_key=\":oauth_consumer_key\", oauth_nonce=\":oauth_nonce\", oauth_signature_method=\":oauth_signature_method\", oauth_timestamp=\":oauth_timestamp\", oauth_token=\":oauth_token\", oauth_version=\":oauth_version\", oauth_signature=\":oauth_signature\"" + }, + "required_params" : [ + "id" + ], + "optional_params" : [ + "scope", + "type", + "count", + "start", + "after", + "before", + "show-hidden-members", + "format" + ], + "expected_status" : [ 200, 404 ] + }, + "my_network_stats" : { + "path" : "/v1/people/~/network/network-stats", + "method" : "GET", + "headers" : { + "Authorization" : "OAuth oauth_consumer_key=\":oauth_consumer_key\", oauth_nonce=\":oauth_nonce\", oauth_signature_method=\":oauth_signature_method\", oauth_timestamp=\":oauth_timestamp\", oauth_token=\":oauth_token\", oauth_version=\":oauth_version\", oauth_signature=\":oauth_signature\"" + }, + "optional_params" : [ + "format" + ], + "expected_status" : [ 200 ] + }, + "post_update" : { + "path" : "/v1/people/~/person-activities", + "method" : "POST", + "headers" : { + "Authorization" : "OAuth oauth_consumer_key=\":oauth_consumer_key\", oauth_nonce=\":oauth_nonce\", oauth_signature_method=\":oauth_signature_method\", oauth_timestamp=\":oauth_timestamp\", oauth_token=\":oauth_token\", oauth_version=\":oauth_version\", oauth_signature=\":oauth_signature\"" + }, + "required_payload" : true, + "expected_status" : [ 201 ] + }, + "add_shares" : { + "path" : "/v1/people/~/shares", + "method" : "POST", + "headers" : { + "Authorization" : "OAuth oauth_consumer_key=\":oauth_consumer_key\", oauth_nonce=\":oauth_nonce\", oauth_signature_method=\":oauth_signature_method\", oauth_timestamp=\":oauth_timestamp\", oauth_token=\":oauth_token\", oauth_version=\":oauth_version\", oauth_signature=\":oauth_signature\"" + }, + "required_payload" : true, + "expected_status" : [ 201 ] + } + }, + "authentication" : true, + "authority" : "http://github.com/SPORE", + "name" : "LinkedIn", + "meta" : { + "documentation" : "http://developer.linkedin.com/", + "module" : "Network" + } +} |
