Name of organisation.
async
(params, auths) => {
}
//See the API docs here: https://developer.github.com/v3/repos/#list-organization-repositories
var param_sort = params.sort || "full_name";
return (await require("axios")({
url: `https://api.github.com/orgs/${params.org}/repos`,
params: {
type: params.type,
sort: param_sort,
direction: param_sort == 'full_name' ? "asc" : "desc"
},
headers: {
Authorization: `Bearer ${auths.github.oauth_access_token}`,
},
})).data