summaryrefslogblamecommitdiff
path: root/services/linkedin/network.json
blob: 09c31ffb17dfe731b014ca241f436145bbe694b3 (plain) (tree)
1
2
3
4
5
6
7






                                                 














                                                      

















                                                       







                                                   





                                        











                                                         
{
   "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"
   }
}