diff options
author | Francois Perrad <francois.perrad@gadz.org> | 2011-07-07 12:10:41 +0200 |
---|---|---|
committer | Francois Perrad <francois.perrad@gadz.org> | 2011-07-07 12:10:41 +0200 |
commit | d90d069d00c717b49334ba5a760f418b6bab3895 (patch) | |
tree | dd4aab675ce92bd8a831eb4cb7142a9965909aba | |
parent | spore2dot: skip Authentication header (diff) | |
download | api-description-d90d069d00c717b49334ba5a760f418b6bab3895.tar.gz |
remove header Autorization
-rw-r--r-- | services/googleoauth.json | 12 | ||||
-rw-r--r-- | services/googleshortener.json | 1 | ||||
-rw-r--r-- | services/linkedin/communications.json | 6 | ||||
-rw-r--r-- | services/linkedin/companies.json | 24 | ||||
-rw-r--r-- | services/linkedin/groups.json | 60 | ||||
-rw-r--r-- | services/linkedin/jobs.json | 18 | ||||
-rw-r--r-- | services/linkedin/network.json | 15 | ||||
-rw-r--r-- | services/linkedin/oauth.json | 6 | ||||
-rw-r--r-- | services/linkedin/people.json | 15 | ||||
-rw-r--r-- | utils/spore2dot.pl | 1 |
10 files changed, 0 insertions, 158 deletions
diff --git a/services/googleoauth.json b/services/googleoauth.json index e57dd56..1103030 100644 --- a/services/googleoauth.json +++ b/services/googleoauth.json @@ -5,9 +5,6 @@ "get_request_token" : { "path" : "/OAuthGetRequestToken", "method" : "GET", - "headers" : { - "authorization" : "OAuth oauth_consumer_key=\":oauth_consumer_key\", oauth_signature_method=\":oauth_signature_method\", oauth_signature=\":oauth_signature\", oauth_timestamp=\":oauth_timestamp\", oauth_nonce=\":oauth_nonce\", oauth_version=\":oauth_version\", oauth_callback=\":oauth_callback\"" - }, "required_params" : [ "scope" ], @@ -20,9 +17,6 @@ "post_request_token" : { "path" : "/OAuthGetRequestToken", "method" : "POST", - "headers" : { - "authorization" : "OAuth oauth_consumer_key=\":oauth_consumer_key\", oauth_signature_method=\":oauth_signature_method\", oauth_signature=\":oauth_signature\", oauth_timestamp=\":oauth_timestamp\", oauth_nonce=\":oauth_nonce\", oauth_version=\":oauth_version\", oauth_callback=\":oauth_callback\"" - }, "form-data" : { "scope" : ":scope", "xoauth_displayname" : ":xoauth_displayname" @@ -52,18 +46,12 @@ "get_access_token" : { "path" : "/OAuthGetAccessToken", "method" : "GET", - "headers" : { - "authorization" : "OAuth oauth_consumer_key=\":oauth_consumer_key\", oauth_token=\":oauth_token\", oauth_verifier=\":oauth_verifier\", oauth_signature_method=\":oauth_signature_method\", oauth_signature=\":oauth_signature\", oauth_timestamp=\":oauth_timestamp\", oauth_nonce=\":oauth_nonce\", oauth_version=\":oauth_version\"" - }, "expected_status" : [ 200, 400 ], "authentication" : true }, "post_access_token" : { "path" : "/OAuthGetAccessToken", "method" : "POST", - "headers" : { - "authorization" : "OAuth oauth_consumer_key=\":oauth_consumer_key\", oauth_token=\":oauth_token\", oauth_verifier=\":oauth_verifier\", oauth_signature_method=\":oauth_signature_method\", oauth_signature=\":oauth_signature\", oauth_timestamp=\":oauth_timestamp\", oauth_nonce=\":oauth_nonce\", oauth_version=\":oauth_version\"" - }, "expected_status" : [ 200, 400 ], "authentication" : true } diff --git a/services/googleshortener.json b/services/googleshortener.json index 9acf010..6cb586a 100644 --- a/services/googleshortener.json +++ b/services/googleshortener.json @@ -27,7 +27,6 @@ "method" : "GET", "optional_params" : [ "key", - "oauth_token", "projection", "start-token" ], diff --git a/services/linkedin/communications.json b/services/linkedin/communications.json index 820017d..d66e2f7 100644 --- a/services/linkedin/communications.json +++ b/services/linkedin/communications.json @@ -5,18 +5,12 @@ "send_message" : { "path" : "/v1/people/~/mailbox", "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 ] }, "send_invitation" : { "path" : "/v1/people/~/mailbox", "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 ] } diff --git a/services/linkedin/companies.json b/services/linkedin/companies.json index 8507253..a2ce8e5 100644 --- a/services/linkedin/companies.json +++ b/services/linkedin/companies.json @@ -5,9 +5,6 @@ "company_by_id" : { "path" : "/v1/compagnies/:id:selector", "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", "selector" @@ -20,9 +17,6 @@ "company_by_name" : { "path" : "/v1/companies/universal-name=:name:selector", "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" : [ "name", "selector" @@ -35,9 +29,6 @@ "search_company" : { "path" : "/v1/company-search:selector", "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" : [ "selector" ], @@ -56,9 +47,6 @@ "my_followed_companies" : { "path" : "/v1/people/~/following/companies:selector", "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" : [ "selector" ], @@ -70,18 +58,12 @@ "follow_company" : { "path" : "/v1/people/~/following/companies", "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 ] }, "unfollow_company" : { "path" : "/v1/people/~/following/companies/id=:id", "method" : "DELETE", - "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" ], @@ -90,9 +72,6 @@ "suggestion_companies" : { "path" : "/v1/people/~/suggestions/to-follow/companies:selector", "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" : [ "selector" ], @@ -104,9 +83,6 @@ "company_products" : { "path" : "/v1/companies/:id/products:selector", "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", "selector" diff --git a/services/linkedin/groups.json b/services/linkedin/groups.json index 7aed98f..826dda2 100644 --- a/services/linkedin/groups.json +++ b/services/linkedin/groups.json @@ -5,9 +5,6 @@ "group_by_id" : { "path" : "/v1/groups/:id:selector", "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", "selector" @@ -20,9 +17,6 @@ "my_group_memberships" : { "path" : "/v1/people/~/group-memberships:selector", "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" : [ "selector" ], @@ -35,9 +29,6 @@ "show_group_setting" : { "path" : "/v1/people/~/group-memberships/:id:selector", "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", "selector" @@ -50,9 +41,6 @@ "change_group_setting" : { "path" : "/v1/people/~/group-memberships/:id", "method" : "PUT", - "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, "required_params" : [ "id" @@ -62,9 +50,6 @@ "join_group_by_id" : { "path" : "/v1/people/~/group-memberships/:id", "method" : "PUT", - "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, "required_params" : [ "id" @@ -74,18 +59,12 @@ "join_group" : { "path" : "/v1/people/~/group-memberships", "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 ] }, "leave_group" : { "path" : "/v1/people/~/group-memberships/:id", "method" : "DELETE", - "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" ], @@ -94,9 +73,6 @@ "show_posts" : { "path" : "/v1/groups/:id/posts:selector", "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", "selector" @@ -115,9 +91,6 @@ "post_by_id" : { "path" : "/v1/posts/:id:selector", "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", "selector" @@ -130,9 +103,6 @@ "show_comments" : { "path" : "/v1/posts/:id/comments:selector", "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", "selector" @@ -148,9 +118,6 @@ "create_post" : { "path" : "/v1/groups/:id/posts", "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, "required_params" : [ "id" @@ -160,9 +127,6 @@ "like_post" : { "path" : "/v1/posts/:id/relation-to-viewer/is-liked", "method" : "PUT", - "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, "required_params" : [ "id" @@ -172,9 +136,6 @@ "follow_post" : { "path" : "/v1/posts/:id/relation-to-viewer/is-following", "method" : "PUT", - "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, "required_params" : [ "id" @@ -184,9 +145,6 @@ "flag_post" : { "path" : "/v1/posts/:id/category/code", "method" : "PUT", - "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, "required_params" : [ "id" @@ -196,9 +154,6 @@ "delete_post" : { "path" : "/v1/posts/:id", "method" : "DELETE", - "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" ], @@ -207,9 +162,6 @@ "comment_by_id" : { "path" : "/v1/comments/:id:selector", "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", "selector" @@ -222,9 +174,6 @@ "add_comment" : { "path" : "/v1/posts/:id/comments", "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, "required_params" : [ "id" @@ -234,9 +183,6 @@ "delete_comment" : { "path" : "/v1/comments/:id", "method" : "DELETE", - "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" ], @@ -245,9 +191,6 @@ "suggestion_groups" : { "path" : "/v1/people/~/suggestions/groups:selector", "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" : [ "selector" ], @@ -259,9 +202,6 @@ "remove_group_suggestion" : { "path" : "/v1/people/~/suggestions/groups/:id", "method" : "DELETE", - "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" ], diff --git a/services/linkedin/jobs.json b/services/linkedin/jobs.json index d234079..906004a 100644 --- a/services/linkedin/jobs.json +++ b/services/linkedin/jobs.json @@ -5,9 +5,6 @@ "job_by_id" : { "path" : "/v1/jobs/:id:selector", "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", "selector" @@ -20,9 +17,6 @@ "search_job" : { "path" : "/v1/job-search:selector", "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" : [ "selector" ], @@ -45,9 +39,6 @@ "my_bookmarked_jobs" : { "path" : "/v1/people/~/job-bookmarks:selector", "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" : [ "selector" ], @@ -59,18 +50,12 @@ "bookmark_job" : { "path" : "/v1/people/~/job-bookmarks", "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 ] }, "unbookmark_job" : { "path" : "/v1/people/~/job-bookmarks/:id", "method" : "DELETE", - "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" ], @@ -79,9 +64,6 @@ "suggestion_jobs" : { "path" : "/v1/people/~/suggestions/job-suggestions:selector", "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" : [ "selector" ], diff --git a/services/linkedin/network.json b/services/linkedin/network.json index 280a2ca..09c31ff 100644 --- a/services/linkedin/network.json +++ b/services/linkedin/network.json @@ -5,9 +5,6 @@ "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", @@ -23,9 +20,6 @@ "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" ], @@ -44,9 +38,6 @@ "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" ], @@ -55,18 +46,12 @@ "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 ] } diff --git a/services/linkedin/oauth.json b/services/linkedin/oauth.json index 9cf94e1..3259391 100644 --- a/services/linkedin/oauth.json +++ b/services/linkedin/oauth.json @@ -5,18 +5,12 @@ "get_request_token" : { "path" : "/uas/oauth/requestToken", "method" : "GET", - "headers" : { - "Authorization" : "OAuth oauth_consumer_key=\":oauth_consumer_key\", oauth_signature_method=\":oauth_signature_method\", oauth_signature=\":oauth_signature\", oauth_timestamp=\":oauth_timestamp\", oauth_nonce=\":oauth_nonce\", oauth_version=\":oauth_version\", oauth_callback=\":oauth_callback\"" - }, "expected_status" : [ 200, 400 ], "authentication" : true }, "get_access_token" : { "path" : "/uas/oauth/accessToken", "method" : "GET", - "headers" : { - "Authorization" : "OAuth oauth_consumer_key=\":oauth_consumer_key\", oauth_token=\":oauth_token\", oauth_verifier=\":oauth_verifier\", oauth_signature_method=\":oauth_signature_method\", oauth_signature=\":oauth_signature\", oauth_timestamp=\":oauth_timestamp\", oauth_nonce=\":oauth_nonce\", oauth_version=\":oauth_version\"" - }, "expected_status" : [ 200, 400 ], "authentication" : true }, diff --git a/services/linkedin/people.json b/services/linkedin/people.json index d315e93..04cf1b8 100644 --- a/services/linkedin/people.json +++ b/services/linkedin/people.json @@ -6,7 +6,6 @@ "path" : "/v1/people/~:selector", "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\"", "Accept-Language" : ":lang" }, "required_params" : [ @@ -22,7 +21,6 @@ "path" : "/v1/people/id=:id:selector", "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\"", "Accept-Language" : ":lang" }, "required_params" : [ @@ -39,7 +37,6 @@ "path" : "/v1/people/url=:url:selector", "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\"", "Accept-Language" : ":lang" }, "required_params" : [ @@ -55,9 +52,6 @@ "search_people" : { "path" : "/v1/people-search:selector", "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" : [ "selector" ], @@ -86,9 +80,6 @@ "my_connections" : { "path" : "/v1/people/~/connections:selector", "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" : [ "selector" ], @@ -104,9 +95,6 @@ "connections_by_id" : { "path" : "/v1/people/id=:id/connections:selector", "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", "selector" @@ -123,9 +111,6 @@ "connections_by_url" : { "path" : "/v1/people/url=:url/connnections:selector", "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" : [ "url", "selector" diff --git a/utils/spore2dot.pl b/utils/spore2dot.pl index 1a786bf..e522099 100644 --- a/utils/spore2dot.pl +++ b/utils/spore2dot.pl @@ -101,7 +101,6 @@ foreach my $spec (@specs) { if ($ENV{SPORE_DETAILS}) { print " ", $desc->{method}, " ", $desc->{path}, "\\l"; for my $h (sort keys %{$desc->{headers}}) { - next if ($h =~ /^Auth/i); print " ", $h, ": ", $desc->{headers}->{$h}, "\\l"; } for my $f (sort keys %{$desc->{'form-data'}}) { |