Browse files

adding more github methods

  • Loading branch information...
1 parent f59228d commit 7d25c6fd7d08d0bdbaed545844d1e0a09cca134c @lornajane committed Oct 13, 2012
Showing with 38 additions and 0 deletions.
  1. +38 −0 public/data/github.json
View
38 public/data/github.json
@@ -47,6 +47,44 @@
"Description":"ID of the gist to fetch"
}
]
+ },
+ {
+ "MethodName":"Gist Comments",
+ "Synopsis":"See a gist's comments",
+ "HTTPMethod":"GET",
+ "URI":"/gists/:gist_id/comments",
+ "parameters":[
+ {
+ "Name":"gist_id",
+ "Required":"Y",
+ "Default":"",
+ "Type":"integer",
+ "Description":"ID of the gist to fetch"
+ }
+ ]
+ },
+ {
+ "MethodName":"Gist Comments",
+ "Synopsis":"Create a gist comment",
+ "RequiresOAuth": "Y",
+ "HTTPMethod":"POST",
+ "URI":"/gists/:gist_id/comments",
+ "parameters":[
+ {
+ "Name":"gist_id",
+ "Required":"Y",
+ "Default":"",
+ "Type":"integer",
+ "Description":"ID of gist to comment on"
+ },
+ {
+ "Name":"body",
+ "Required":"Y",
+ "Default":"Some comment",
+ "Type":"text",
+ "Description":"The comment to add"
+ }
+ ]
}
]
}

0 comments on commit 7d25c6f

Please sign in to comment.