operationId._2Forgs_2F_7Borg_7D_2Fteams_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /orgs/{}/teams"
* example usage:
swgg.apiDict["operationId._2Forgs_2F_7Borg_7D_2Fteams_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"org": "org"
}, 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_2Fteams_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /orgs/{}/teams"
* example usage:
swgg.apiDict["operationId._2Forgs_2F_7Borg_7D_2Fteams_20POST"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"org": "org",
"body": {
"description": "A great team",
"name": "Justice League",
"parent_team_id": 0,
"permission": "admin",
"privacy": "closed"
}
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Fteams_2F_7Bid_7D_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /teams/{}"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bid_7D_20DELETE"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-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._2Fteams_2F_7Bid_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /teams/{}"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bid_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-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._2Fteams_2F_7Bid_7D_20PATCH.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PATCH /teams/{}"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bid_7D_20PATCH"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"id": "id",
"body": {
"description": "new team description",
"name": "new team name",
"parent_team_id": 0,
"permission": "pull",
"privacy": "closed"
}
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Fteams_2F_7Bid_7D_2Finvitations_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /teams/{}/invitations"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bid_7D_2Finvitations_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.dazzler-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._2Fteams_2F_7Bid_7D_2Fmembers_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /teams/{}/members"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bid_7D_2Fmembers_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.dazzler-preview+json"
],
"id": "id",
"role": "member"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Fteams_2F_7Bid_7D_2Fmembers_2F_7Busername_7D_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /teams/{}/members/{}"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bid_7D_2Fmembers_2F_7Busername_7D_20DELETE"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.dazzler-preview+json"
],
"id": "id",
"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._2Fteams_2F_7Bid_7D_2Fmembers_2F_7Busername_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /teams/{}/members/{}"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bid_7D_2Fmembers_2F_7Busername_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.dazzler-preview+json"
],
"id": "id",
"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._2Fteams_2F_7Bid_7D_2Fmembers_2F_7Busername_7D_20PUT.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PUT /teams/{}/members/{}"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bid_7D_2Fmembers_2F_7Busername_7D_20PUT"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.dazzler-preview+json"
],
"id": "id",
"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._2Fteams_2F_7Bid_7D_2Fmemberships_2F_7Busername_7D_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /teams/{}/memberships/{}"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bid_7D_2Fmemberships_2F_7Busername_7D_20DELETE"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.dazzler-preview+json"
],
"id": "id",
"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._2Fteams_2F_7Bid_7D_2Fmemberships_2F_7Busername_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /teams/{}/memberships/{}"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bid_7D_2Fmemberships_2F_7Busername_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.dazzler-preview+json"
],
"id": "id",
"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._2Fteams_2F_7Bid_7D_2Fmemberships_2F_7Busername_7D_20PUT.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PUT /teams/{}/memberships/{}"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bid_7D_2Fmemberships_2F_7Busername_7D_20PUT"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.dazzler-preview+json"
],
"id": "id",
"username": "username",
"role": "member"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Fteams_2F_7Bid_7D_2Fprojects_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /teams/{}/projects"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bid_7D_2Fprojects_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-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._2Fteams_2F_7Bid_7D_2Fprojects_2F_7Bproject_id_7D_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /teams/{}/projects/{}"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bid_7D_2Fprojects_2F_7Bproject_id_7D_20DELETE"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"id": "id",
"project_id": "project_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._2Fteams_2F_7Bid_7D_2Fprojects_2F_7Bproject_id_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /teams/{}/projects/{}"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bid_7D_2Fprojects_2F_7Bproject_id_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"id": "id",
"project_id": "project_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._2Fteams_2F_7Bid_7D_2Fprojects_2F_7Bproject_id_7D_20PUT.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PUT /teams/{}/projects/{}"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bid_7D_2Fprojects_2F_7Bproject_id_7D_20PUT"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"id": "id",
"project_id": "project_id",
"permission": "read"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Fteams_2F_7Bid_7D_2Frepos_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /teams/{}/repos"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bid_7D_2Frepos_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-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._2Fteams_2F_7Bid_7D_2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /teams/{}/repos/{}/{}"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bid_7D_2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_20DELETE"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"id": "id",
"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._2Fteams_2F_7Bid_7D_2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /teams/{}/repos/{}/{}"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bid_7D_2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"id": "id",
"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._2Fteams_2F_7Bid_7D_2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_20PUT.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PUT /teams/{}/repos/{}/{}"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bid_7D_2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_20PUT"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-preview+json"
],
"id": "id",
"owner": "owner",
"repo": "repo",
"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._2Fteams_2F_7Bid_7D_2Fteams_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /teams/{}/teams"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bid_7D_2Fteams_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-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._2Fteams_2F_7Bteam_id_7D_2Fdiscussions_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /teams/{}/discussions"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bteam_id_7D_2Fdiscussions_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.echo-preview+json"
],
"team_id": "team_id",
"direction": "desc"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Fteams_2F_7Bteam_id_7D_2Fdiscussions_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /teams/{}/discussions"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bteam_id_7D_2Fdiscussions_20POST"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.echo-preview+json"
],
"team_id": "team_id",
"body": {
"body": "Hi! This is an area for us to collaborate as a team.",
"private": false,
"title": "Our first team post"
}
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Fteams_2F_7Bteam_id_7D_2Fdiscussions_2F_7Bdiscussion_number_7D_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /teams/{}/discussions/{}"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bteam_id_7D_2Fdiscussions_2F_7Bdiscussion_number_7D_20DELETE"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.echo-preview+json"
],
"team_id": "team_id",
"discussion_number": "discussion_number"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Fteams_2F_7Bteam_id_7D_2Fdiscussions_2F_7Bdiscussion_number_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /teams/{}/discussions/{}"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bteam_id_7D_2Fdiscussions_2F_7Bdiscussion_number_7D_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.echo-preview+json"
],
"team_id": "team_id",
"discussion_number": "discussion_number"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Fteams_2F_7Bteam_id_7D_2Fdiscussions_2F_7Bdiscussion_number_7D_20PATCH.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PATCH /teams/{}/discussions/{}"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bteam_id_7D_2Fdiscussions_2F_7Bdiscussion_number_7D_20PATCH"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.echo-preview+json"
],
"team_id": "team_id",
"discussion_number": "discussion_number",
"body": {
"title": "Welcome to our first team post"
}
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Fteams_2F_7Bteam_id_7D_2Fdiscussions_2F_7Bdiscussion_number_7D_2Fcomments_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /teams/{}/discussions/{}/comments"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bteam_id_7D_2Fdiscussions_2F_7Bdiscussion_number_7D_2Fcomments_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.echo-preview+json"
],
"team_id": "team_id",
"discussion_number": "discussion_number",
"direction": "desc"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Fteams_2F_7Bteam_id_7D_2Fdiscussions_2F_7Bdiscussion_number_7D_2Fcomments_20POST.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "POST /teams/{}/discussions/{}/comments"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bteam_id_7D_2Fdiscussions_2F_7Bdiscussion_number_7D_2Fcomments_20POST"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.echo-preview+json"
],
"team_id": "team_id",
"discussion_number": "discussion_number",
"body": {
"body": "Do you like apples?"
}
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Fteams_2F_7Bteam_id_7D_2Fdiscussions_2F_7Bdiscussion_number_7D_2Fcomments_2F_7Bcomment_number_7D_20DELETE.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "DELETE /teams/{}/discussions/{}/comments/{}"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bteam_id_7D_2Fdiscussions_2F_7Bdiscussion_number_7D_2Fcomments_2F_7Bcomment_number_7D_20DELETE
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.echo-preview+json"
],
"team_id": "team_id",
"discussion_number": "discussion_number",
"comment_number": "comment_number"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Fteams_2F_7Bteam_id_7D_2Fdiscussions_2F_7Bdiscussion_number_7D_2Fcomments_2F_7Bcomment_number_7D_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /teams/{}/discussions/{}/comments/{}"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bteam_id_7D_2Fdiscussions_2F_7Bdiscussion_number_7D_2Fcomments_2F_7Bcomment_number_7D_20GET
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.echo-preview+json"
],
"team_id": "team_id",
"discussion_number": "discussion_number",
"comment_number": "comment_number"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, swaggerJson, onError);
}
n/a
operationId._2Fteams_2F_7Bteam_id_7D_2Fdiscussions_2F_7Bdiscussion_number_7D_2Fcomments_2F_7Bcomment_number_7D_20PATCH.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "PATCH /teams/{}/discussions/{}/comments/{}"
* example usage:
swgg.apiDict["operationId._2Fteams_2F_7Bteam_id_7D_2Fdiscussions_2F_7Bdiscussion_number_7D_2Fcomments_2F_7Bcomment_number_7D_20PATCH
"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.echo-preview+json"
],
"team_id": "team_id",
"discussion_number": "discussion_number",
"comment_number": "comment_number",
"body": {
"body": "Do you like pineapples?"
}
}, 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_2Fteams_20GET.ajax = function (swaggerJson, onError) {
/*
* this function will run the api-call "GET /user/teams"
* example usage:
swgg.apiDict["operationId._2Fuser_2Fteams_20GET"].ajax({
"access_token": "xxxxxxxx",
"user-agent": "Awesome-Octocat-App",
"accept": [
"application/vnd.github.hellcat-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