summaryrefslogtreecommitdiff
path: root/services/linkedin/network.json
blob: 09c31ffb17dfe731b014ca241f436145bbe694b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
   "version" : "0.1",
   "base_url" : "http://api.linkedin.com",
   "methods" : {
      "my_network_updates" : {
         "path" : "/v1/people/~/network/updates",
         "method" : "GET",
         "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",
         "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",
         "optional_params" : [
            "format"
         ],
         "expected_status" : [ 200 ]
      },
      "post_update" : {
         "path" : "/v1/people/~/person-activities",
         "method" : "POST",
         "required_payload" : true,
         "expected_status" : [ 201 ]
      },
      "add_shares" : {
         "path" : "/v1/people/~/shares",
         "method" : "POST",
         "required_payload" : true,
         "expected_status" : [ 201 ]
      }
   },
   "authentication" : true,
   "authority" : "http://github.com/SPORE",
   "name" : "LinkedIn",
   "meta" : {
      "documentation" : "http://developer.linkedin.com/",
      "module" : "Network"
   }
}