| { |
| "name": "latitude", |
| "version": "v1", |
| "description": "Google Latitude API", |
| "restBasePath": "/latitude/v1", |
| "rpcPath": "/rpc", |
| "resources": { |
| "currentLocation": { |
| "methods": { |
| "delete": { |
| "restPath": "/currentLocation", |
| "rpcMethod": "latitude.currentLocation.delete", |
| "httpMethod": "DELETE" |
| }, |
| "get": { |
| "restPath": "/currentLocation", |
| "rpcMethod": "latitude.currentLocation.get", |
| "httpMethod": "GET", |
| "parameters": { |
| "granularity": { |
| "restParameterType": "query", |
| "required": false |
| } |
| } |
| }, |
| "insert": { |
| "restPath": "/currentLocation", |
| "rpcMethod": "latitude.currentLocation.insert", |
| "httpMethod": "POST" |
| } |
| } |
| }, |
| "location": { |
| "methods": { |
| "delete": { |
| "restPath": "/location/{locationId}", |
| "rpcMethod": "latitude.location.delete", |
| "httpMethod": "DELETE", |
| "parameters": { |
| "locationId": { |
| "restParameterType": "path", |
| "pattern": "[^/]+", |
| "required": true |
| } |
| } |
| }, |
| "get": { |
| "restPath": "/location/{locationId}", |
| "rpcMethod": "latitude.location.get", |
| "httpMethod": "GET", |
| "parameters": { |
| "granularity": { |
| "restParameterType": "query", |
| "required": false |
| }, |
| "locationId": { |
| "restParameterType": "path", |
| "pattern": "[^/]+", |
| "required": true |
| } |
| } |
| }, |
| "insert": { |
| "restPath": "/location", |
| "rpcMethod": "latitude.location.insert", |
| "httpMethod": "POST" |
| }, |
| "list": { |
| "restPath": "/location", |
| "rpcMethod": "latitude.location.list", |
| "httpMethod": "GET", |
| "parameters": { |
| "granularity": { |
| "restParameterType": "query", |
| "required": false |
| }, |
| "max-results": { |
| "restParameterType": "query", |
| "required": false |
| }, |
| "max-time": { |
| "restParameterType": "query", |
| "required": false |
| }, |
| "min-time": { |
| "restParameterType": "query", |
| "required": false |
| } |
| } |
| } |
| } |
| } |
| } |
| } |