diff options
| author | Francois Perrad <francois.perrad@gadz.org> | 2011-06-06 02:47:01 +0200 |
|---|---|---|
| committer | Francois Perrad <francois.perrad@gadz.org> | 2011-06-06 02:47:01 +0200 |
| commit | 264062ae71ea8aa4fc38e4477c35c25453eed3d5 (patch) | |
| tree | fb4fd7be775a3f60040cde9289b24645cbbe2b6e /services/googleshortener.json | |
| parent | add Google Translate (diff) | |
| download | api-description-264062ae71ea8aa4fc38e4477c35c25453eed3d5.tar.gz | |
add Google URL Shortener
add Google OAuth 1.0
Diffstat (limited to 'services/googleshortener.json')
| -rw-r--r-- | services/googleshortener.json | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/services/googleshortener.json b/services/googleshortener.json new file mode 100644 index 0000000..6cb586a --- /dev/null +++ b/services/googleshortener.json @@ -0,0 +1,41 @@ +{ + "name" : "Google URL Shortener", + "version" : "0.1", + "base_url" : "https://www.googleapis.com/urlshortener/v1/url", + "methods" : { + "insert" : { + "path" : "", + "method" : "POST", + "required_payload" : true, + "optional_params" : [ + "key" + ] + }, + "get" : { + "path" : "", + "method" : "GET", + "required_params" : [ + "shortUrl" + ], + "optional_params" : [ + "key", + "projection" + ] + }, + "list" : { + "path" : "/history", + "method" : "GET", + "optional_params" : [ + "key", + "projection", + "start-token" + ], + "authentication" : true + } + }, + "expected_status": [ "200" ], + "authority" : "http://github.com/SPORE", + "meta" : { + "documentation" : "http://code.google.com/apis/urlshortener/v1/getting_started.html" + } +} |
