104 lines
2.5 KiB
JSON
104 lines
2.5 KiB
JSON
{
|
|
"data": {
|
|
"latitude": {
|
|
"v1": {
|
|
"baseUrl": "https://www.googleapis.com/",
|
|
"resources": {
|
|
"location": {
|
|
"methods": {
|
|
"insert": {
|
|
"pathUrl": "latitude/v1/location",
|
|
"rpcName": "latitude.location.insert",
|
|
"httpMethod": "POST",
|
|
"methodType": "rest"
|
|
},
|
|
"list": {
|
|
"pathUrl": "latitude/v1/location",
|
|
"rpcName": "latitude.location.list",
|
|
"httpMethod": "GET",
|
|
"methodType": "rest",
|
|
"parameters": {
|
|
"max-time": {
|
|
"parameterType": "query",
|
|
"required": false
|
|
},
|
|
"min-time": {
|
|
"parameterType": "query",
|
|
"required": false
|
|
},
|
|
"max-results": {
|
|
"parameterType": "query",
|
|
"required": false
|
|
},
|
|
"granularity": {
|
|
"parameterType": "query",
|
|
"required": false
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"pathUrl": "latitude/v1/location/{locationId}",
|
|
"rpcName": "latitude.location.get",
|
|
"httpMethod": "GET",
|
|
"methodType": "rest",
|
|
"parameters": {
|
|
"granularity": {
|
|
"parameterType": "query",
|
|
"required": false
|
|
},
|
|
"locationId": {
|
|
"parameterType": "path",
|
|
"pattern": "[^/]+",
|
|
"required": true
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"pathUrl": "latitude/v1/location/{locationId}",
|
|
"rpcName": "latitude.location.delete",
|
|
"httpMethod": "DELETE",
|
|
"methodType": "rest",
|
|
"parameters": {
|
|
"locationId": {
|
|
"parameterType": "path",
|
|
"pattern": "[^/]+",
|
|
"required": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"currentLocation": {
|
|
"methods": {
|
|
"insert": {
|
|
"pathUrl": "latitude/v1/currentLocation",
|
|
"rpcName": "latitude.currentLocation.insert",
|
|
"httpMethod": "POST",
|
|
"methodType": "rest"
|
|
},
|
|
"delete": {
|
|
"pathUrl": "latitude/v1/currentLocation",
|
|
"rpcName": "latitude.currentLocation.delete",
|
|
"httpMethod": "DELETE",
|
|
"methodType": "rest"
|
|
},
|
|
"get": {
|
|
"pathUrl": "latitude/v1/currentLocation",
|
|
"rpcName": "latitude.currentLocation.get",
|
|
"httpMethod": "GET",
|
|
"methodType": "rest",
|
|
"parameters": {
|
|
"granularity": {
|
|
"parameterType": "query",
|
|
"required": false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|