operationId._2F_26lt_3Bupload_url_26gt_3B_2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Freleases_2F_7Bid_7D_2Fassets_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /<upload_url>/repos/{}/{}/releases/{}/assets"
* example usage:
swgg.apiDict["operationId._2F_26lt_3Bupload_url_26gt_3B_2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Freleases_2F_7Bid_7D_2Fassets_20POST
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.jean-grey-preview+json"
],
"owner": "owner",
"repo": "repo",
"id": "id",
"name": "foo.zip",
"Content-Type": "abcd1234",
"label": "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._2Forgs_2F_7Borg_7D_2Frepos_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /orgs/{}/repos"
* example usage:
swgg.apiDict["operationId._2Forgs_2F_7Borg_7D_2Frepos_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.nightshade-preview+json"
],
"org": "org",
"type": "all"
}, 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_7Bname_7D_2Fcommunity_2Fprofile_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/community/profile"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Bname_7D_2Fcommunity_2Fprofile_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.black-panther-preview+json"
],
"owner": "owner",
"name": "name"
}, 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_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /repos/{}/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_20DELETE"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.nightshade-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_20PATCH.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PATCH /repos/{}/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_20PATCH"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.nightshade-preview+json"
],
"owner": "owner",
"repo": "repo",
"body": {
"allow_merge_commit": true,
"allow_rebase_merge": true,
"allow_squash_merge": true,
"archived": false,
"default_branch": "abcd1234",
"description": "This is your first repository",
"has_issues": true,
"has_projects": true,
"has_wiki": true,
"homepage": "https://github.com",
"name": "Hello-World",
"private": false
}
}, 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_231_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}#1"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_231_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.nightshade-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_2F_7Barchive_format_7D_2F_7Bref_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/{}/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2F_7Barchive_format_7D_2F_7Bref_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3.raw"
],
"owner": "owner",
"repo": "repo",
"archive_format": "archive_format",
"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_2Fbranches_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/branches"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"protected": false
}, 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_2Fbranches_2F_7Bbranch_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/branches/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /repos/{}/{}/branches/{}/protection"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_20DELETE"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/branches/{}/protection"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_20PUT.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PUT /repos/{}/{}/branches/{}/protection"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_20PUT"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch",
"body": {
"enforce_admins": true,
"required_pull_request_reviews": {
"dismiss_stale_reviews": true,
"dismissal_restrictions": {
"teams": [
"justice-league"
],
"users": [
"octocat"
]
},
"require_code_owner_reviews": true,
"required_approving_review_count": 2
},
"required_status_checks": {
"contexts": [
"continuous-integration/travis-ci"
],
"strict": true
},
"restrictions": {
"teams": [
"justice-league"
],
"users": [
"octocat"
]
}
}
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Fenforce_admins_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /repos/{}/{}/branches/{}/protection/enforce_admins"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Fenforce_admins_20DELETE
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Fenforce_admins_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/branches/{}/protection/enforce_admins"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Fenforce_admins_20GET"].
ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Fenforce_admins_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /repos/{}/{}/branches/{}/protection/enforce_admins"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Fenforce_admins_20POST
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_pull_request_reviews_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /repos/{}/{}/branches/{}/protection/required_pull_request_reviews"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_pull_request_reviews_20DELETE
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_pull_request_reviews_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/branches/{}/protection/required_pull_request_reviews"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_pull_request_reviews_20GET
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_pull_request_reviews_20PATCH.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PATCH /repos/{}/{}/branches/{}/protection/required_pull_request_reviews"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_pull_request_reviews_20PATCH
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch",
"body": {
"dismiss_stale_reviews": true,
"dismissal_restrictions": {
"teams": [
"justice-league"
],
"users": [
"octocat"
]
},
"require_code_owner_reviews": true,
"required_approving_review_count": 2
}
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_signatures_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /repos/{}/{}/branches/{}/protection/required_signatures"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_signatures_20DELETE
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_signatures_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/branches/{}/protection/required_signatures"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_signatures_20GET
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_signatures_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /repos/{}/{}/branches/{}/protection/required_signatures"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_signatures_20POST
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_status_checks_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /repos/{}/{}/branches/{}/protection/required_status_checks"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_status_checks_20DELETE
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_status_checks_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/branches/{}/protection/required_status_checks"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_status_checks_20GET
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_status_checks_20PATCH.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PATCH /repos/{}/{}/branches/{}/protection/required_status_checks"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_status_checks_20PATCH
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch",
"body": {
"contexts": [
"continuous-integration/travis-ci"
],
"strict": true
}
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_status_checks_2Fcontexts_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /repos/{}/{}/branches/{}/protection/required_status_checks/contexts"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_status_checks_2Fcontexts_20DELETE
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_status_checks_2Fcontexts_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/branches/{}/protection/required_status_checks/contexts"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_status_checks_2Fcontexts_20GET
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_status_checks_2Fcontexts_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /repos/{}/{}/branches/{}/protection/required_status_checks/contexts"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_status_checks_2Fcontexts_20POST
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_status_checks_2Fcontexts_20PUT.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PUT /repos/{}/{}/branches/{}/protection/required_status_checks/contexts"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frequired_status_checks_2Fcontexts_20PUT
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frestrictions_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /repos/{}/{}/branches/{}/protection/restrictions"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frestrictions_20DELETE
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frestrictions_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/branches/{}/protection/restrictions"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frestrictions_20GET"].
ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frestrictions_2Fteams_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /repos/{}/{}/branches/{}/protection/restrictions/teams"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frestrictions_2Fteams_20DELETE
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frestrictions_2Fteams_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/branches/{}/protection/restrictions/teams"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frestrictions_2Fteams_20GET
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frestrictions_2Fteams_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /repos/{}/{}/branches/{}/protection/restrictions/teams"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frestrictions_2Fteams_20POST
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frestrictions_2Fteams_20PUT.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PUT /repos/{}/{}/branches/{}/protection/restrictions/teams"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frestrictions_2Fteams_20PUT
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frestrictions_2Fusers_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /repos/{}/{}/branches/{}/protection/restrictions/users"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frestrictions_2Fusers_20DELETE
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frestrictions_2Fusers_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/branches/{}/protection/restrictions/users"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frestrictions_2Fusers_20GET
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frestrictions_2Fusers_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /repos/{}/{}/branches/{}/protection/restrictions/users"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frestrictions_2Fusers_20POST
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frestrictions_2Fusers_20PUT.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PUT /repos/{}/{}/branches/{}/protection/restrictions/users"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fbranches_2F_7Bbranch_7D_2Fprotection_2Frestrictions_2Fusers_20PUT
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"branch": "branch"
}, 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_2Fcollaborators_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/collaborators"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fcollaborators_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"affiliation": "outside"
}, 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_2Fcollaborators_2F_7Busername_7D_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /repos/{}/{}/collaborators/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fcollaborators_2F_7Busername_7D_20DELETE"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"username": "username"
}, 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_2Fcollaborators_2F_7Busername_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/collaborators/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fcollaborators_2F_7Busername_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"username": "username"
}, 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_2Fcollaborators_2F_7Busername_7D_20PUT.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PUT /repos/{}/{}/collaborators/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fcollaborators_2F_7Busername_7D_20PUT"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"username": "username",
"permission": "pull"
}, 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_2Fcollaborators_2F_7Busername_7D_2Fpermission_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/collaborators/{}/permission"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fcollaborators_2F_7Busername_7D_2Fpermission_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"owner": "owner",
"repo": "repo",
"username": "username"
}, 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_2Fcomments_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/comments"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fcomments_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.squirrel-girl-preview"
],
"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_2Fcomments_2F_7Bid_7D_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /repos/{}/{}/comments/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fcomments_2F_7Bid_7D_20DELETE"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.squirrel-girl-preview"
],
"owner": "owner",
"repo": "repo",
"id": "id"
}, 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_2Fcomments_2F_7Bid_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/comments/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fcomments_2F_7Bid_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.squirrel-girl-preview"
],
"owner": "owner",
"repo": "repo",
"id": "id"
}, 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_2Fcomments_2F_7Bid_7D_20PATCH.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PATCH /repos/{}/{}/comments/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fcomments_2F_7Bid_7D_20PATCH"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.squirrel-girl-preview"
],
"owner": "owner",
"repo": "repo",
"id": "id",
"body": {
"body": "Nice change"
}
}, 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_2Fcommits_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/commits"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fcommits_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3.sha"
],
"owner": "owner",
"repo": "repo",
"sha": "master",
"path": "abcd1234",
"author": "abcd1234",
"since": "abcd1234",
"until": "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_2Fcommits_2F_7Bref_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/commits/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fcommits_2F_7Bref_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3.sha"
],
"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_2Fcommits_2F_7Bref_7D_2Fcomments_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/commits/{}/comments"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fcommits_2F_7Bref_7D_2Fcomments_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.squirrel-girl-preview"
],
"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_2Fcommits_2F_7Bref_7D_2Fstatus_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/commits/{}/status"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fcommits_2F_7Bref_7D_2Fstatus_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_2Fcommits_2F_7Bref_7D_2Fstatuses_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/commits/{}/statuses"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fcommits_2F_7Bref_7D_2Fstatuses_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_2Fcommits_2F_7Bsha_7D_231_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/commits/{}#1"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fcommits_2F_7Bsha_7D_231_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3.sha"
],
"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_2Fcommits_2F_7Bsha_7D_2Fcomments_231_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /repos/{}/{}/commits/{}/comments#1"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fcommits_2F_7Bsha_7D_2Fcomments_231_20POST"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.squirrel-girl-preview"
],
"owner": "owner",
"repo": "repo",
"sha": "sha",
"body": {
"body": "Great stuff",
"line": 0,
"path": "file1.txt",
"position": 4
}
}, 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_2Fcompare_2F_7Bbase_7D..._7Bhead_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/compare/{}...{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fcompare_2F_7Bbase_7D..._7Bhead_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3.sha"
],
"owner": "owner",
"repo": "repo",
"base": "base",
"head": "head"
}, 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_2Fcontents_2F_7Bpath_7D_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /repos/{}/{}/contents/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fcontents_2F_7Bpath_7D_20DELETE"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3.raw"
],
"owner": "owner",
"repo": "repo",
"path": "path",
"body": {
"branch": "master",
"committer": {
"email": "schacon@gmail.com",
"name": "Scott Chacon"
},
"message": "my commit message",
"sha": "329688480d39049927147c162b9d2deaf885005f"
}
}, 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_2Fcontents_2F_7Bpath_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/contents/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fcontents_2F_7Bpath_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3.raw"
],
"owner": "owner",
"repo": "repo",
"path": "path",
"ref": "master"
}, 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_2Fcontents_2F_7Bpath_7D_20PUT.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PUT /repos/{}/{}/contents/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fcontents_2F_7Bpath_7D_20PUT"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3.raw"
],
"owner": "owner",
"repo": "repo",
"path": "path",
"body": {
"branch": "master",
"committer": {
"email": "schacon@gmail.com",
"name": "Scott Chacon"
},
"content": "bXkgbmV3IGZpbGUgY29udGVudHM=",
"message": "my commit message"
}
}, 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_2Fcontents_2F_7Bpath_7D_231_20PUT.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PUT /repos/{}/{}/contents/{}#1"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fcontents_2F_7Bpath_7D_231_20PUT"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3.raw"
],
"owner": "owner",
"repo": "repo",
"path": "path",
"body": {
"branch": "master",
"committer": {
"email": "schacon@gmail.com",
"name": "Scott Chacon"
},
"content": "bXkgdXBkYXRlZCBmaWxlIGNvbnRlbnRz",
"message": "my commit message",
"sha": "329688480d39049927147c162b9d2deaf885005f"
}
}, 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_2Fcontributors_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/contributors"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fcontributors_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.nightshade-preview+json"
],
"owner": "owner",
"repo": "repo",
"anon": "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_2Fdeployments_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/deployments"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fdeployments_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.ant-man-preview+json"
],
"owner": "owner",
"repo": "repo",
"sha": "none",
"ref": "none",
"task": "none",
"environment": "none"
}, 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_2Fdeployments_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /repos/{}/{}/deployments"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fdeployments_20POST"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.ant-man-preview+json"
],
"owner": "owner",
"repo": "repo",
"ref": "abcd1234",
"task": "deploy",
"auto_merge": true,
"required_contexts": [
"abcd1234"
],
"payload": "abcd1234",
"environment": "production",
"description": "abcd1234",
"transient_environment": false,
"production_environment": true
}, 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_2Fdeployments_2F_7Bid_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/deployments/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fdeployments_2F_7Bid_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.ant-man-preview+json"
],
"owner": "owner",
"repo": "repo",
"id": "id"
}, 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_2Fdeployments_2F_7Bid_7D_2Fstatuses_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/deployments/{}/statuses"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fdeployments_2F_7Bid_7D_2Fstatuses_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.ant-man-preview+json"
],
"owner": "owner",
"repo": "repo",
"id": "id"
}, 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_2Fdeployments_2F_7Bid_7D_2Fstatuses_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /repos/{}/{}/deployments/{}/statuses"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fdeployments_2F_7Bid_7D_2Fstatuses_20POST"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.ant-man-preview+json"
],
"owner": "owner",
"repo": "repo",
"id": "id",
"body": {
"auto_inactive": true,
"description": "Deployment finished successfully.",
"environment_url": "abcd1234",
"log_url": "abcd1234",
"state": "success",
"target_url": "https://example.com/deployment/42/output"
}
}, 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_2Fdeployments_2F_7Bid_7D_2Fstatuses_2F_7Bstatus_id_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/deployments/{}/statuses/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fdeployments_2F_7Bid_7D_2Fstatuses_2F_7Bstatus_id_7D_20GET"].
ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.ant-man-preview+json"
],
"owner": "owner",
"repo": "repo",
"id": "id",
"status_id": "status_id"
}, 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_2Fdownloads_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/downloads"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fdownloads_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+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_2Fdownloads_2F_7Bid_7D_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /repos/{}/{}/downloads/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fdownloads_2F_7Bid_7D_20DELETE"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
],
"owner": "owner",
"repo": "repo",
"id": "id"
}, 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_2Fdownloads_2F_7Bid_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/downloads/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fdownloads_2F_7Bid_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
],
"owner": "owner",
"repo": "repo",
"id": "id"
}, 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_2Fforks_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/forks"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fforks_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
],
"owner": "owner",
"repo": "repo",
"sort": "newest"
}, 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_2Fforks_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /repos/{}/{}/forks"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fforks_20POST"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
],
"owner": "owner",
"repo": "repo",
"organization": "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_2Fhooks_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/hooks"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fhooks_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+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_2Fhooks_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /repos/{}/{}/hooks"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fhooks_20POST"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
],
"owner": "owner",
"repo": "repo",
"body": {
"active": true,
"config": {
"content_type": "json",
"url": "http://example.com/webhook"
},
"events": [
"push"
],
"name": "web"
}
}, 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_2Fhooks_2F_7Bid_7D_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /repos/{}/{}/hooks/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fhooks_2F_7Bid_7D_20DELETE"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
],
"owner": "owner",
"repo": "repo",
"id": "id"
}, 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_2Fhooks_2F_7Bid_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/hooks/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fhooks_2F_7Bid_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
],
"owner": "owner",
"repo": "repo",
"id": "id"
}, 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_2Fhooks_2F_7Bid_7D_20PATCH.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PATCH /repos/{}/{}/hooks/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fhooks_2F_7Bid_7D_20PATCH"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
],
"owner": "owner",
"repo": "repo",
"id": "id",
"body": {
"active": true,
"add_events": [
"pull_request"
],
"config": {},
"events": [
"push"
],
"remove_events": [
"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_2Fhooks_2F_7Bid_7D_2Fpings_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /repos/{}/{}/hooks/{}/pings"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fhooks_2F_7Bid_7D_2Fpings_20POST"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
],
"owner": "owner",
"repo": "repo",
"id": "id"
}, 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_2Fhooks_2F_7Bid_7D_2Ftests_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /repos/{}/{}/hooks/{}/tests"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fhooks_2F_7Bid_7D_2Ftests_20POST"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
],
"owner": "owner",
"repo": "repo",
"id": "id"
}, 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_2Finvitations_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/invitations"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Finvitations_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+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_2Finvitations_2F_7Binvitation_id_7D_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /repos/{}/{}/invitations/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Finvitations_2F_7Binvitation_id_7D_20DELETE"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
],
"owner": "owner",
"repo": "repo",
"invitation_id": "invitation_id"
}, 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_2Finvitations_2F_7Binvitation_id_7D_20PATCH.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PATCH /repos/{}/{}/invitations/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Finvitations_2F_7Binvitation_id_7D_20PATCH"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
],
"owner": "owner",
"repo": "repo",
"invitation_id": "invitation_id",
"permissions": "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_2Fkeys_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/keys"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fkeys_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+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_2Fkeys_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /repos/{}/{}/keys"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fkeys_20POST"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
],
"owner": "owner",
"repo": "repo",
"body": {
"key": "ssh-rsa AAA...",
"read_only": true,
"title": "octocat@octomac"
}
}, 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_2Fkeys_2F_7Bid_7D_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /repos/{}/{}/keys/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fkeys_2F_7Bid_7D_20DELETE"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
],
"owner": "owner",
"repo": "repo",
"id": "id"
}, 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_2Fkeys_2F_7Bid_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/keys/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fkeys_2F_7Bid_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
],
"owner": "owner",
"repo": "repo",
"id": "id"
}, 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_2Flanguages_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/languages"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Flanguages_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.nightshade-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_2Fmerges_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /repos/{}/{}/merges"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fmerges_20POST"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
],
"owner": "owner",
"repo": "repo",
"base": "abcd1234",
"head": "abcd1234",
"commit_message": "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_2Fpages_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/pages"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fpages_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.mister-fantastic-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_2Fpages_2Fbuilds_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/pages/builds"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fpages_2Fbuilds_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.mister-fantastic-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_2Fpages_2Fbuilds_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /repos/{}/{}/pages/builds"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fpages_2Fbuilds_20POST"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.mister-fantastic-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_2Fpages_2Fbuilds_2F_7Bid_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/pages/builds/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fpages_2Fbuilds_2F_7Bid_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.mister-fantastic-preview+json"
],
"owner": "owner",
"repo": "repo",
"id": "id"
}, 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_2Fpages_2Fbuilds_2Flatest_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/pages/builds/latest"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fpages_2Fbuilds_2Flatest_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.mister-fantastic-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_2Freadme_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/readme"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Freadme_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3.raw"
],
"owner": "owner",
"repo": "repo",
"ref": "master"
}, 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_2Freleases_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/releases"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Freleases_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_2Freleases_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /repos/{}/{}/releases"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Freleases_20POST"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.jean-grey-preview+json"
],
"owner": "owner",
"repo": "repo",
"body": {
"body": "Description of the release",
"draft": false,
"name": "v1.0.0",
"prerelease": false,
"tag_name": "v1.0.0",
"target_commitish": "master"
}
}, 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_2Freleases_2F_7Bid_7D_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /repos/{}/{}/releases/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Freleases_2F_7Bid_7D_20DELETE"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.jean-grey-preview+json"
],
"owner": "owner",
"repo": "repo",
"id": "id"
}, 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_2Freleases_2F_7Bid_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/releases/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Freleases_2F_7Bid_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.jean-grey-preview+json"
],
"owner": "owner",
"repo": "repo",
"id": "id"
}, 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_2Freleases_2F_7Bid_7D_20PATCH.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PATCH /repos/{}/{}/releases/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Freleases_2F_7Bid_7D_20PATCH"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.jean-grey-preview+json"
],
"owner": "owner",
"repo": "repo",
"id": "id",
"body": {
"body": "Description of the release",
"draft": false,
"name": "v1.0.0",
"prerelease": false,
"tag_name": "v1.0.0",
"target_commitish": "master"
}
}, 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_2Freleases_2F_7Bid_7D_2Fassets_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/releases/{}/assets"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Freleases_2F_7Bid_7D_2Fassets_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.jean-grey-preview+json"
],
"owner": "owner",
"repo": "repo",
"id": "id"
}, 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_2Freleases_2Fassets_2F_7Bid_7D_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /repos/{}/{}/releases/assets/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Freleases_2Fassets_2F_7Bid_7D_20DELETE"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.jean-grey-preview+json"
],
"owner": "owner",
"repo": "repo",
"id": "id"
}, 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_2Freleases_2Fassets_2F_7Bid_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/releases/assets/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Freleases_2Fassets_2F_7Bid_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.jean-grey-preview+json"
],
"owner": "owner",
"repo": "repo",
"id": "id"
}, 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_2Freleases_2Fassets_2F_7Bid_7D_20PATCH.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PATCH /repos/{}/{}/releases/assets/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Freleases_2Fassets_2F_7Bid_7D_20PATCH"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.jean-grey-preview+json"
],
"owner": "owner",
"repo": "repo",
"id": "id",
"body": {
"label": "Mac binary",
"name": "foo-1.0.0-osx.zip"
}
}, 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_2Freleases_2Flatest_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/releases/latest"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Freleases_2Flatest_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_2Freleases_2Ftags_2F_7Btag_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/releases/tags/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Freleases_2Ftags_2F_7Btag_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.jean-grey-preview+json"
],
"owner": "owner",
"repo": "repo",
"tag": "tag"
}, 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_2Fstats_2Fcode_frequency_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/stats/code_frequency"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fstats_2Fcode_frequency_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+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_2Fstats_2Fcommit_activity_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/stats/commit_activity"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fstats_2Fcommit_activity_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+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_2Fstats_2Fcontributors_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/stats/contributors"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fstats_2Fcontributors_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+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_2Fstats_2Fparticipation_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/stats/participation"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fstats_2Fparticipation_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+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_2Fstats_2Fpunch_card_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/stats/punch_card"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fstats_2Fpunch_card_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+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_2Fstatuses_2F_7Bsha_7D_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /repos/{}/{}/statuses/{}"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fstatuses_2F_7Bsha_7D_20POST"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.jean-grey-preview+json"
],
"owner": "owner",
"repo": "repo",
"sha": "sha",
"body": {
"context": "default",
"description": "The build succeeded!",
"state": "success",
"target_url": "https://example.com/build/status"
}
}, 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_2Ftags_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/tags"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Ftags_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.nightshade-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_2Fteams_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/teams"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fteams_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.nightshade-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_2Ftopics_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/topics"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Ftopics_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.nightshade-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_2Ftopics_20PUT.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PUT /repos/{}/{}/topics"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Ftopics_20PUT"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.nightshade-preview+json"
],
"owner": "owner",
"repo": "repo",
"body": {
"names": [
"octocat",
"atom",
"electron",
"API"
]
}
}, 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_2Ftraffic_2Fclones_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/traffic/clones"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Ftraffic_2Fclones_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+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_2Ftraffic_2Fpopular_2Fpaths_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/traffic/popular/paths"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Ftraffic_2Fpopular_2Fpaths_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+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_2Ftraffic_2Fpopular_2Freferrers_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/traffic/popular/referrers"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Ftraffic_2Fpopular_2Freferrers_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+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_2Ftraffic_2Fviews_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/traffic/views"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Ftraffic_2Fviews_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+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_2Ftransfer_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /repos/{}/{}/transfer"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Ftransfer_20POST"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.nightshade-preview+json"
],
"owner": "owner",
"repo": "repo",
"body": {
"new_owner": "github",
"team_id": [
12,
345
]
}
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Frepositories_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repositories"
* example usage:
swgg.apiDict["operationId._2Frepositories_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.nightshade-preview+json"
],
"since": "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._2Fuser_2Frepos_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /user/repos"
* example usage:
swgg.apiDict["operationId._2Fuser_2Frepos_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.nightshade-preview+json"
],
"visibility": "all",
"affiliation": [
"owner"
],
"type": "all",
"sort": "full_name",
"direction": "full_name"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Fuser_2Frepos_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /user/repos"
* example usage:
swgg.apiDict["operationId._2Fuser_2Frepos_20POST"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.nightshade-preview+json"
],
"body": {
"allow_merge_commit": true,
"allow_rebase_merge": true,
"allow_squash_merge": true,
"auto_init": false,
"description": "This is your first repository",
"gitignore_template": "abcd1234",
"has_issues": true,
"has_projects": true,
"has_wiki": true,
"homepage": "https://github.com",
"license_template": "abcd1234",
"name": "Hello-World",
"private": false,
"team_id": 0
}
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Fuser_2Frepository_invitations_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /user/repository_invitations"
* example usage:
swgg.apiDict["operationId._2Fuser_2Frepository_invitations_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
]
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Fuser_2Frepository_invitations_2F_7Binvitation_id_7D_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /user/repository_invitations/{}"
* example usage:
swgg.apiDict["operationId._2Fuser_2Frepository_invitations_2F_7Binvitation_id_7D_20DELETE"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
],
"invitation_id": "invitation_id"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Fuser_2Frepository_invitations_2F_7Binvitation_id_7D_20PATCH.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PATCH /user/repository_invitations/{}"
* example usage:
swgg.apiDict["operationId._2Fuser_2Frepository_invitations_2F_7Binvitation_id_7D_20PATCH"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
],
"invitation_id": "invitation_id"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Fusers_2F_7Busername_7D_2Frepos_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /users/{}/repos"
* example usage:
swgg.apiDict["operationId._2Fusers_2F_7Busername_7D_2Frepos_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.nightshade-preview+json"
],
"username": "username",
"type": "owner",
"sort": "full_name",
"direction": "full_name"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a