Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

Commit

Permalink
initial
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Apr 19, 2010
0 parents commit ed13252
Show file tree
Hide file tree
Showing 48 changed files with 5,522 additions and 0 deletions.
396 changes: 396 additions & 0 deletions discovery.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,396 @@
{
"data": {
"buzz": {
"0.1": {
"baseUrl": "https://apiary-test.corp.google.com/",
"resources": {
"feeds": {
"methods": {
"list": {
"pathUrl": "buzz/v1/feeds/{userId}/{scope}",
"rpcName": "chili.feeds.list",
"httpMethod": "GET",
"methodType": "rest",
"parameters": {
"scope": {
"parameterType": "path",
"pattern": "@.*"
},
"userId": {
"parameterType": "path"
}
}
},
"delete": {
"pathUrl": "buzz/v1/feeds/{userId}/@self/{siteId}",
"rpcName": "chili.feeds.delete",
"httpMethod": "DELETE",
"methodType": "rest",
"parameters": {
"siteId": {
"parameterType": "path"
},
"userId": {
"parameterType": "path"
}
}
},
"insert": {
"pathUrl": "buzz/v1/feeds/{userId}/@self",
"rpcName": "chili.feeds.insert",
"httpMethod": "POST",
"methodType": "rest",
"parameters": {
"userId": {
"parameterType": "path"
}
}
},
"update": {
"pathUrl": "buzz/v1/feeds/{userId}/@self/{siteId}",
"rpcName": "chili.feeds.update",
"httpMethod": "PUT",
"methodType": "rest",
"parameters": {
"siteId": {
"parameterType": "path"
},
"max-results": {
"parameterType": "query"
},
"c": {
"parameterType": "query"
},
"userId": {
"parameterType": "path"
}
}
}
}
},
"activities": {
"methods": {
"update": {
"pathUrl": "buzz/v1/activities/{userId}/{scope}/{postId}",
"rpcName": "chili.activities.update",
"httpMethod": "PUT",
"methodType": "rest",
"parameters": {
"scope": {
"parameterType": "path",
"pattern": "@.*"
},
"userId": {
"parameterType": "path"
},
"postId": {
"parameterType": "path"
}
}
},
"delete": {
"pathUrl": "buzz/v1/activities/{userId}/{scope}/{postId}",
"rpcName": "chili.activities.delete",
"httpMethod": "DELETE",
"methodType": "rest",
"parameters": {
"scope": {
"parameterType": "path",
"pattern": "@.*"
},
"userId": {
"parameterType": "path"
},
"postId": {
"parameterType": "path"
}
}
},
"list": {
"pathUrl": "buzz/v1/activities/{userId}/{scope}",
"rpcName": "chili.activities.list",
"httpMethod": "GET",
"methodType": "rest",
"parameters": {
"scope": {
"parameterType": "path",
"pattern": "@.*"
},
"max-results": {
"parameterType": "query"
},
"c": {
"parameterType": "query"
},
"userId": {
"parameterType": "path"
}
}
},
"insert": {
"pathUrl": "buzz/v1/activities/{userId}/@self",
"rpcName": "chili.activities.insert",
"httpMethod": "POST",
"methodType": "rest",
"parameters": {
"preview": {
"parameterType": "query"
},
"userId": {
"parameterType": "path"
}
}
},
"get": {
"pathUrl": "buzz/v1/activities/{userId}/@self/{postId}",
"rpcName": "chili.activities.get",
"httpMethod": "GET",
"methodType": "rest",
"parameters": {
"userId": {
"parameterType": "path"
},
"postId": {
"parameterType": "path"
}
}
},
"search": {
"pathUrl": "buzz/v1/activities/search",
"rpcName": "chili.activities.search",
"httpMethod": "GET",
"methodType": "rest",
"parameters": {
"geocode": {
"parameterType": "query"
},
"max-results": {
"parameterType": "query"
},
"c": {
"parameterType": "query"
},
"q": {
"parameterType": "query"
}
}
}
}
},
"people": {
"methods": {
"list": {
"pathUrl": "buzz/v1/people/{userId}/{scope}",
"rpcName": "chili.people.list",
"httpMethod": "GET",
"methodType": "rest",
"parameters": {
"scope": {
"parameterType": "path",
"pattern": "@.*"
},
"max-results": {
"parameterType": "query"
},
"c": {
"parameterType": "query"
},
"userId": {
"parameterType": "path"
}
}
},
"delete": {
"pathUrl": "buzz/v1/people/{userId}/{scope}/{personId}",
"rpcName": "chili.people.delete",
"httpMethod": "DELETE",
"methodType": "rest",
"parameters": {
"scope": {
"parameterType": "path",
"pattern": "@.*"
},
"userId": {
"parameterType": "path"
},
"personId": {
"parameterType": "path"
}
}
},
"get": {
"pathUrl": "buzz/v1/people/{userId}/@self",
"rpcName": "chili.people.get",
"httpMethod": "GET",
"methodType": "rest",
"parameters": {
"userId": {
"parameterType": "path"
}
}
},
"update": {
"pathUrl": "buzz/v1/people/{userId/{scope}/{personId}",
"rpcName": "chili.people.update",
"httpMethod": "PUT",
"methodType": "rest",
"parameters": {
"scope": {
"parameterType": "query"
},
"userId": {
"parameterType": "query"
},
"personId": {
"parameterType": "path"
}
}
}
}
},
"groups": {
"methods": {
"get": {
"pathUrl": "buzz/v1/groups/{userId}/{groupId}",
"rpcName": "chili.groups.get",
"httpMethod": "GET",
"methodType": "rest",
"parameters": {
"groupId": {
"parameterType": "path"
},
"userId": {
"parameterType": "path"
}
}
},
"list": {
"pathUrl": "buzz/v1/groups/{userId}",
"rpcName": "chili.groups.list",
"httpMethod": "GET",
"methodType": "rest",
"parameters": {
"max-results": {
"parameterType": "query"
},
"c": {
"parameterType": "query"
},
"userId": {
"parameterType": "path"
}
}
},
"delete": {
"pathUrl": "buzz/v1/groups/{userId}/{groupId}/{personId}",
"rpcName": "chili.groups.delete",
"httpMethod": "DELETE",
"methodType": "rest",
"parameters": {
"groupId": {
"parameterType": "path"
},
"userId": {
"parameterType": "path"
},
"personId": {
"parameterType": "path"
}
}
},
"update": {
"pathUrl": "buzz/v1/groups/{userId}/{groupId}/{personId}",
"rpcName": "chili.groups.update",
"httpMethod": "PUT",
"methodType": "rest",
"parameters": {
"groupId": {
"parameterType": "path"
},
"userId": {
"parameterType": "path"
},
"personId": {
"parameterType": "path"
}
}
}
}
},
"comments": {
"methods": {
"update": {
"pathUrl": "buzz/v1/activities/{userId}/@self/{postId}/@comments/{commentId}",
"rpcName": "chili.comments.update",
"httpMethod": "PUT",
"methodType": "rest",
"parameters": {
"userId": {
"parameterType": "path"
},
"commentId": {
"parameterType": "path"
},
"postId": {
"parameterType": "path"
}
}
},
"insert": {
"pathUrl": "buzz/v1/activities/{userId}/@self/{postId}/@comments",
"rpcName": "chili.comments.insert",
"httpMethod": "POST",
"methodType": "rest",
"parameters": {
"userId": {
"parameterType": "path"
},
"postId": {
"parameterType": "path"
}
}
},
"list": {
"pathUrl": "buzz/v1/activities/{userId}/@self/{postId}/@comments",
"rpcName": "chili.comments.list",
"httpMethod": "GET",
"methodType": "rest",
"parameters": {
"max-results": {
"parameterType": "query"
},
"c": {
"parameterType": "query"
},
"userId": {
"parameterType": "path"
},
"postId": {
"parameterType": "path"
}
}
},
"delete": {
"pathUrl": "buzz/v1/activities/{userId}/@self/{postId}/@comments/{commentId}",
"rpcName": "chili.comments.delete",
"httpMethod": "DELETE",
"methodType": "rest",
"parameters": {
"userId": {
"parameterType": "path"
},
"commentId": {
"parameterType": "path"
},
"postId": {
"parameterType": "path"
}
}
}
}
}
}
}
}
}
}
Loading

0 comments on commit ed13252

Please sign in to comment.