File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1072,6 +1072,19 @@ github.gitdata.getReferences({ ... });
10721072github.gitdata.getTag({ ... });
10731073 */
10741074
1075+ /**
1076+ * @api {get } /repos/:user/:repo/git/tags/:sha getTagSignatureVerification
1077+ * @apiName getTagSignatureVerification
1078+ * @apiDescription Get a Tag Signature Verification. (In preview period. See README.)
1079+ * @apiGroup gitdata
1080+ *
1081+ * @apiParam {String} user
1082+ * @apiParam {String} repo
1083+ * @apiParam {String} sha
1084+ * @apiExample {js} ex:
1085+ github.gitdata.getTagSignatureVerification({ ... });
1086+ */
1087+
10751088/**
10761089 * @api {get } /repos/:user/:repo/git/refs/tags getTags
10771090 * @apiName getTags
Original file line number Diff line number Diff line change 14581458 },
14591459 "description" : " Create a Tag Object"
14601460 },
1461+
1462+ "get-tag-signature-verification" : {
1463+ "url" : " /repos/:user/:repo/git/tags/:sha" ,
1464+ "method" : " GET" ,
1465+ "params" : {
1466+ "$user" : null ,
1467+ "$repo" : null ,
1468+ "$sha" : null
1469+ },
1470+ "description" : " Get a Tag Signature Verification. (In preview period. See README.)"
1471+ },
14611472
14621473 "get-tree" : {
14631474 "url" : " /repos/:user/:repo/git/trees/:sha" ,
Original file line number Diff line number Diff line change @@ -219,6 +219,21 @@ describe("[gitdata]", function() {
219219 ) ;
220220 } ) ;
221221
222+ it ( "should successfully execute GET /repos/:user/:repo/git/tags/:sha (getTagSignatureVerification)" , function ( next ) {
223+ client . gitdata . getTagSignatureVerification (
224+ {
225+ user : "String" ,
226+ repo : "String" ,
227+ sha : "String"
228+ } ,
229+ function ( err , res ) {
230+ Assert . equal ( err , null ) ;
231+ // other assertions go here
232+ next ( ) ;
233+ }
234+ ) ;
235+ } ) ;
236+
222237 it ( "should successfully execute GET /repos/:user/:repo/git/refs/tags (getTags)" , function ( next ) {
223238 client . gitdata . getTags (
224239 {
You can’t perform that action at this time.
0 commit comments