Name of repository owner.
Name of repository.
async
(params, auths) => {
}
//See the API docs here: https://developer.github.com/v3/issues/#list-issues-for-a-repository
const config = {
url: `https://api.github.com/repos/${params.owner}/${params.repo}/issues`,
params: {
state: params.state,
labels: params.labels,
sort: params.sort,
direction: params.direction,
since: params.since,
milestone: params.milestone,
creator: params.creator,
mentioned: params.mentioned,
assignee: params.assignee
},
headers: {
Authorization: `Bearer ${auths.github.oauth_access_token}`,
},
}
return await require("@pipedreamhq/platform").axios(this, config)