operationId._2Fcodes_of_conduct_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /codes_of_conduct"
* example usage:
swgg.apiDict["operationId._2Fcodes_of_conduct_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.scarlet-witch-preview+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._2Fcodes_of_conduct_2F_7Bkey_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /codes_of_conduct/{}"
* example usage:
swgg.apiDict["operationId._2Fcodes_of_conduct_2F_7Bkey_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.scarlet-witch-preview+json"
],
"key": "key"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Femojis_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /emojis"
* example usage:
swgg.apiDict["operationId._2Femojis_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._2Fgitignore_2Ftemplates_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /gitignore/templates"
* example usage:
swgg.apiDict["operationId._2Fgitignore_2Ftemplates_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._2Fgitignore_2Ftemplates_2F_7Bname_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /gitignore/templates/{}"
* example usage:
swgg.apiDict["operationId._2Fgitignore_2Ftemplates_2F_7Bname_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
],
"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._2Flicenses_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /licenses"
* example usage:
swgg.apiDict["operationId._2Flicenses_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._2Flicenses_2F_7Blicense_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /licenses/{}"
* example usage:
swgg.apiDict["operationId._2Flicenses_2F_7Blicense_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
],
"license": "license"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Fmarkdown_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /markdown"
* example usage:
swgg.apiDict["operationId._2Fmarkdown_20POST"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
],
"body": {
"context": "github/gollum",
"mode": "markdown",
"text": "Hello world github/linguist#1 **cool**, and #1!"
}
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Fmarkdown_2Fraw_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /markdown/raw"
* example usage:
swgg.apiDict["operationId._2Fmarkdown_2Fraw_20POST"].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._2Fmeta_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /meta"
* example usage:
swgg.apiDict["operationId._2Fmeta_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.v3+json"
],
"verifiable_password_authentication": false,
"github_services_sha": "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._2Frate_limit_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /rate_limit"
* example usage:
swgg.apiDict["operationId._2Frate_limit_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._2Frepos_2F_7Bowner_7D_2F_7Brepo_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_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.scarlet-witch-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_2Fcommunity_2Fcode_of_conduct_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/community/code_of_conduct"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fcommunity_2Fcode_of_conduct_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.scarlet-witch-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_2Flicense_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /repos/{}/{}/license"
* example usage:
swgg.apiDict["operationId._2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Flicense_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