diff options
author | Phil Hughes <me@iamphill.com> | 2018-06-01 12:12:18 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-06-01 12:12:18 +0100 |
commit | 9ffb60acd8ab646eabfa32e6faaa3802c2aef2a6 (patch) | |
tree | 71322166368986c869e5607ec9f2f1066d0c4e3e /app/assets/javascripts/api.js | |
parent | 8868c919a3c798f7d5753e250723df6d285de7b0 (diff) | |
parent | e206e32881e4fbfcbe647d7b2ee713c99ef1bf99 (diff) | |
download | gitlab-ce-9ffb60acd8ab646eabfa32e6faaa3802c2aef2a6.tar.gz |
Merge branch 'master' into ide-list-merge-requests
Diffstat (limited to 'app/assets/javascripts/api.js')
-rw-r--r-- | app/assets/javascripts/api.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/app/assets/javascripts/api.js b/app/assets/javascripts/api.js index 4aa52c446ff..000938e475f 100644 --- a/app/assets/javascripts/api.js +++ b/app/assets/javascripts/api.js @@ -25,8 +25,6 @@ const Api = { commitPipelinesPath: '/:project_id/commit/:sha/pipelines', branchSinglePath: '/api/:version/projects/:id/repository/branches/:branch', createBranchPath: '/api/:version/projects/:id/repository/branches', - pipelinesPath: '/api/:version/projects/:id/pipelines', - pipelineJobsPath: '/api/:version/projects/:id/pipelines/:pipeline_id/jobs', group(groupId, callback) { const url = Api.buildUrl(Api.groupPath).replace(':id', groupId); @@ -245,20 +243,6 @@ const Api = { }); }, - pipelines(projectPath, params = {}) { - const url = Api.buildUrl(this.pipelinesPath).replace(':id', encodeURIComponent(projectPath)); - - return axios.get(url, { params }); - }, - - pipelineJobs(projectPath, pipelineId, params = {}) { - const url = Api.buildUrl(this.pipelineJobsPath) - .replace(':id', encodeURIComponent(projectPath)) - .replace(':pipeline_id', pipelineId); - - return axios.get(url, { params }); - }, - buildUrl(url) { let urlRoot = ''; if (gon.relative_url_root != null) { |