Name of repository owner.
Name of repository.
Number of issue.
async
(params, auths) => {
}
//See the API docs here: https://developer.github.com/v3/issues/labels/#list-labels-on-an-issue
const config = {
url: `https://api.github.com/repos/${params.owner}/${params.repo}/issues/${params.number}/labels`,
headers: {
Authorization: `Bearer ${auths.github.oauth_access_token}`,
},
}
return await require("@pipedreamhq/platform").axios(this, config)