Tag: gitlab api

使用node-gitlab API获取项目提交

在NodeJS应用程序中使用node-gitlab API,我怎样才能得到一个项目的提交列表。 我可以使用以下项目获取项目列表: router.get('/projects', function(req, res, next) { gitlab.projects.all(function(projects) { res.json(projects); console.log(projects); }); }); 谢谢