operationId._2Fapp_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /app"
* example usage:
swgg.apiDict["operationId._2Fapp_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.machine-man-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._2Fapp_2Finstallations_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /app/installations"
* example usage:
swgg.apiDict["operationId._2Fapp_2Finstallations_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.machine-man-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._2Fapp_2Finstallations_2F_7Binstallation_id_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /app/installations/{}"
* example usage:
swgg.apiDict["operationId._2Fapp_2Finstallations_2F_7Binstallation_id_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.machine-man-preview+json"
],
"installation_id": "installation_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._2Fapps_2F_7Bapp_slug_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /apps/{}"
* example usage:
swgg.apiDict["operationId._2Fapps_2F_7Bapp_slug_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.machine-man-preview+json"
],
"app_slug": "app_slug"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Finstallation_2Frepositories_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /installation/repositories"
* example usage:
swgg.apiDict["operationId._2Finstallation_2Frepositories_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.machine-man-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._2Finstallations_2F_7Binstallation_id_7D_2Faccess_tokens_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /installations/{}/access_tokens"
* example usage:
swgg.apiDict["operationId._2Finstallations_2F_7Binstallation_id_7D_2Faccess_tokens_20POST"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.machine-man-preview+json"
],
"installation_id": "installation_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._2Fmarketplace_listing_2Faccounts_2F_7Bid_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /marketplace_listing/accounts/{}"
* example usage:
swgg.apiDict["operationId._2Fmarketplace_listing_2Faccounts_2F_7Bid_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.valkyrie-preview+json"
],
"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._2Fmarketplace_listing_2Fplans_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /marketplace_listing/plans"
* example usage:
swgg.apiDict["operationId._2Fmarketplace_listing_2Fplans_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.valkyrie-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._2Fmarketplace_listing_2Fplans_2F_7Bid_7D_2Faccounts_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /marketplace_listing/plans/{}/accounts"
* example usage:
swgg.apiDict["operationId._2Fmarketplace_listing_2Fplans_2F_7Bid_7D_2Faccounts_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.valkyrie-preview+json"
],
"id": "id",
"sort": "created",
"direction": "asc"
}, 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_2Finstallations_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /user/installations"
* example usage:
swgg.apiDict["operationId._2Fuser_2Finstallations_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.machine-man-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._2Fuser_2Finstallations_2F_7Binstallation_id_7D_2Frepositories_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /user/installations/{}/repositories"
* example usage:
swgg.apiDict["operationId._2Fuser_2Finstallations_2F_7Binstallation_id_7D_2Frepositories_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.machine-man-preview+json"
],
"installation_id": "installation_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_2Finstallations_2F_7Binstallation_id_7D_2Frepositories_2F_7Brepository_id_7D_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /user/installations/{}/repositories/{}"
* example usage:
swgg.apiDict["operationId._2Fuser_2Finstallations_2F_7Binstallation_id_7D_2Frepositories_2F_7Brepository_id_7D_20DELETE"].ajax
({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.machine-man-preview+json"
],
"installation_id": "installation_id",
"repository_id": "repository_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_2Finstallations_2F_7Binstallation_id_7D_2Frepositories_2F_7Brepository_id_7D_20PUT.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PUT /user/installations/{}/repositories/{}"
* example usage:
swgg.apiDict["operationId._2Fuser_2Finstallations_2F_7Binstallation_id_7D_2Frepositories_2F_7Brepository_id_7D_20PUT"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.machine-man-preview+json"
],
"installation_id": "installation_id",
"repository_id": "repository_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_2Fmarketplace_purchases_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /user/marketplace_purchases"
* example usage:
swgg.apiDict["operationId._2Fuser_2Fmarketplace_purchases_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.valkyrie-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