operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Fblobs_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /repos/{}/{}/git/blobs"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Fblobs_20POST"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.jean-grey-preview+json"
],
"owner": "owner",
"repo": "repo",
"body": {
"content": "Content of the blob",
"encoding": "utf-8"
}
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Fblobs_2F_7Bsha_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/git/blobs/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Fblobs_2F_7Bsha_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.jean-grey-preview+json"
],
"owner": "owner",
"repo": "repo",
"sha": "sha"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Fcommits_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /repos/{}/{}/git/commits"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Fcommits_20POST"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.jean-grey-preview+json"
],
"owner": "owner",
"repo": "repo",
"body": {
"author": {
"date": "2008-07-09T16:13:30+12:00",
"email": "schacon@gmail.com",
"name": "Scott Chacon"
},
"message": "my commit message",
"parents": [
"7d1b31e74ee336d15cbd21741bc88a537ed063a0"
],
"signature": "-----BEGIN PGP SIGNATURE-----\n\niQIzBAABAQAdFiEESn/54jMNIrGSE6Tp6cQjvhfv7nAFAlnT71cACgkQ6cQjvhfv\n7nCWwA
//XVqBKWO0zF+bZl6pggvky3Oc2j1pNFuRWZ29LXpNuD5WUGXGG209B0hI\nDkmcGk19ZKUTnEUJV2Xd0R7AW01S/YSub7OYcgBkI7qUE13FVHN5ln1KvH2all2n\n2+JCV1HcJLEoTjqIFZSSu/sMdhkLQ9/NsmMAzpf/iIM0nQOyU4YRex9eD1bYj6nA\nOQPIDdAuaTQj1gFPHYLzM4zJnCqGdRlg0sOM/zC5apBNzIwlgREatOYQSCfCKV7k\nnrU34X8b9BzQaUx48Qa+Dmfn5KQ8dl27RNeWAqlkuWyv3pUauH9UeYW+KyuJeMkU\n+NyHgAsWFaCFl23kCHThbLStMZOYEnGagrd0hnm1TPS4GJkV4wfYMwnI4KuSlHKB\njHl3Js9vNzEUQipQJbgCgTiWvRJoK3ENwBTMVkKHaqT4x9U4Jk/XZB6Q8MA09ezJ\n3QgiTjTAGcum9E9QiJqMYdWQPWkaBIRRz5cET6HPB48YNXAAUsfmuYsGrnVLYbG+\nUpC6I97VybYHTy2O9XSGoaLeMI9CsFn38ycAxxbWagk5mhclNTP5mezIq6wKSwmr\nX11FW3n1J23fWZn5HJMBsRnUCgzqzX3871IqLYHqRJ/bpZ4h20RhTyPj5c/z7QXp\neSakNQMfbbMcljkha+ZMuVQX1K9aRlVqbmv3ZMWh+OijLYVU2bc=\n=5Io4\n-----END PGP SIGNATURE-----\n",
"tree": "827efc6d56897b048c772eb4087f854f46256132"
}
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Fcommits_2F_7Bsha_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/git/commits/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Fcommits_2F_7Bsha_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.jean-grey-preview+json"
],
"owner": "owner",
"repo": "repo",
"sha": "sha"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Fcommits_2F_7Bsha_7D_231_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/git/commits/{}#1"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Fcommits_2F_7Bsha_7D_231_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.jean-grey-preview+json"
],
"owner": "owner",
"repo": "repo",
"sha": "sha",
"verified": false,
"reason": "abcd1234",
"signature": "abcd1234",
"payload": "abcd1234"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Frefs_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/git/refs"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Frefs_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.jean-grey-preview+json"
],
"owner": "owner",
"repo": "repo"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Frefs_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /repos/{}/{}/git/refs"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Frefs_20POST"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.jean-grey-preview+json"
],
"owner": "owner",
"repo": "repo",
"body": {
"ref": "refs/heads/featureA",
"sha": "aa218f56b14c9653891f9e74264a383fa43fefbd"
}
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Frefs_2F_7Bref_7D_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /repos/{}/{}/git/refs/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Frefs_2F_7Bref_7D_20DELETE"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.jean-grey-preview+json"
],
"owner": "owner",
"repo": "repo",
"ref": "ref"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Frefs_2F_7Bref_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/git/refs/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Frefs_2F_7Bref_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.jean-grey-preview+json"
],
"owner": "owner",
"repo": "repo",
"ref": "ref"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Frefs_2F_7Bref_7D_20PATCH.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PATCH /repos/{}/{}/git/refs/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Frefs_2F_7Bref_7D_20PATCH"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.jean-grey-preview+json"
],
"owner": "owner",
"repo": "repo",
"ref": "ref",
"body": {
"force": false,
"sha": "aa218f56b14c9653891f9e74264a383fa43fefbd"
}
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Ftags_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /repos/{}/{}/git/tags"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Ftags_20POST"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.jean-grey-preview+json"
],
"owner": "owner",
"repo": "repo",
"body": {
"message": "initial version\n",
"object": "c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c",
"tag": "v0.0.1",
"tagger": {
"date": "2011-06-17T14:53:35-07:00",
"email": "schacon@gmail.com",
"name": "Scott Chacon"
},
"type": "commit"
}
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Ftags_2F_7Bsha_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/git/tags/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Ftags_2F_7Bsha_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.jean-grey-preview+json"
],
"owner": "owner",
"repo": "repo",
"sha": "sha"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Ftags_2F_7Bsha_7D_231_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/git/tags/{}#1"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Ftags_2F_7Bsha_7D_231_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.jean-grey-preview+json"
],
"owner": "owner",
"repo": "repo",
"sha": "sha",
"verified": false,
"reason": "abcd1234",
"signature": "abcd1234",
"payload": "abcd1234"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Ftrees_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /repos/{}/{}/git/trees"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Ftrees_20POST"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
],
"owner": "owner",
"repo": "repo",
"body": {
"base_tree": "9fb037999f264ba9a7fc6274d15fa3ae2ab98312",
"tree": [
{
"mode": "100644",
"path": "file.rb",
"sha": "44b4fc6d56897b048c772eb4087f854f46256132",
"type": "blob"
}
]
}
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Ftrees_2F_7Bsha_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/git/trees/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Ftrees_2F_7Bsha_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
],
"owner": "owner",
"repo": "repo",
"sha": "sha"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Ftrees_2F_7Bsha_7D_231_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/git/trees/{}#1"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fgit_2Ftrees_2F_7Bsha_7D_231_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
],
"owner": "owner",
"repo": "repo",
"sha": "sha",
"recursive": "1"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a