summaryrefslogtreecommitdiff
path: root/lib/api
Commit message (Collapse)AuthorAgeFilesLines
* use the policy stack to protect loginshttp://jneen.net/2017-03-091-1/+1
|
* use a magic default :global symbol instead of nilhttp://jneen.net/2017-03-092-3/+3
| | | | to make sure we mean the global permissions
* Order milestone issues by position ascending in apiGeorge Andrinopoulos2017-03-091-2/+4
|
* Merge branch 'issue_16834'Douwe Maan2017-03-073-49/+122
|\ | | | | | | | | # Conflicts: # doc/api/v3_to_v4.md
| * Remove unecessary endpoint from repository, add compatibility endpoints for ↵issue_16834Felipe Artur2017-03-073-45/+75
| | | | | | | | v3 and several improvements
| * Update API endpoints for raw filesFelipe Artur2017-03-072-31/+74
| |
* | Merge branch '1381-present-commits-pagination-headers-correctly' into 'master' Douwe Maan2017-03-081-8/+20
|\ \ | | | | | | | | | | | | | | | | | | GET "projects/:id/repository/commits" endpoint improvements Closes #1381 and #20207 See merge request !9679
| * | Returns correct header data for commits endpointOswaldo Ferreira2017-03-071-7/+17
| | |
| * | Fix pagination headers for repository commits api endpointGeorge Andrinopoulos2017-03-071-3/+2
| | |
| * | Manually set total_count when paginating commitsJordan Ryan Reuter2017-03-071-1/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | `Kaminari.paginate_array` takes some options, most relevant of which is a `total_count` parameter. Using the `commit_count` for `total_count` lets us correctly treat the return of `Repository#commits` as a subset of all the commits we may wish to list. Addition of a new `Repository#commit_count_for_ref` method was necessarry to allow the user to start from an arbitrary ref. Ref #1381
* | Remove user_can_download_artifactsToon Claes2017-03-072-32/+16
| | | | | | | | It was actually not used anywhere.
* | Make it possible to query scope as scope[]=Toon Claes2017-03-071-0/+2
| | | | | | | | | | Since issues also accepts the query parameter iids[]=, also make it possible query scope like that.
* | Add GET /projects/:id/pipelines/:pipeline_id/jobs endpointToon Claes2017-03-071-0/+17
|/ | | | Add endpoint to get the jobs scoped to a pipeline.
* Added Prometheus Service and Prometheus graphsKamil Trzciński2017-03-071-0/+9
|
* Merge branch '28447-hybrid-repository-storages' into 'master' Sean McGivern2017-03-071-3/+3
|\ | | | | | | | | Update storage settings to allow extra values per shard See merge request !9597
| * Update storage settings to allow extra values per shard28447-hybrid-repository-storagesAlejandro Rodríguez2017-03-031-3/+3
| | | | | | | | | | | | | | This will be necessary when adding gitaly settings. This version doesn't make any functional changes, but allows us to include this breaking change in 9.0 and add the needed extra settings in the future with backwards compatibility
* | Merge remote-tracking branch ↵Douwe Maan2017-03-072-0/+91
|\ \ | | | | | | | | | 'origin/personal_access_token_api_and_impersonation_token'
| * | apply codestyle and implementation changes to the respective feature codepersonal_access_token_api_and_impersonation_tokenTiago Botelho2017-03-063-112/+36
| | |
| * | refactors finder and correlated codeTiago Botelho2017-03-012-24/+27
| | |
| * | applies relevant changes to the code and code structureTiago Botelho2017-02-283-65/+43
| | |
| * | refactors documentation and personal access tokens form to not allow admins ↵Tiago Botelho2017-02-282-54/+103
| | | | | | | | | | | | to generate non impersionation tokens
| * | add impersonation tokenSimon Vocella2017-02-282-2/+6
| | |
| * | manage personal_access_tokens through apiSimon Vocella2017-02-284-0/+133
| | |
* | | Merge branch 'feature/runner-jobs-v4-api' into 'master' Kamil Trzciński2017-03-073-0/+330
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Feature/runner jobs v4 api Closes #28513 See merge request !9273
| * | | Add minor refactoringfeature/runner-jobs-v4-apiTomasz Maczukin2017-03-071-1/+1
| | | |
| * | | Add some fixes and refactoring after reviewTomasz Maczukin2017-03-021-1/+2
| | | |
| * | | Fix rubocop offensesTomasz Maczukin2017-03-022-11/+9
| | | |
| * | | Add artifacts downloading APITomasz Maczukin2017-03-021-0/+25
| | | |
| * | | Add artifacts uploading APITomasz Maczukin2017-03-021-0/+47
| | | |
| * | | Add artifacts uploading authorize APITomasz Maczukin2017-03-022-0/+34
| | | |
| * | | Add job patch trace APITomasz Maczukin2017-03-022-1/+44
| | | |
| * | | Add job update APITomasz Maczukin2017-03-022-3/+38
| | | |
| * | | Update step data namingTomasz Maczukin2017-03-021-1/+1
| | | |
| * | | Add missing param description for POST /api/v4/jobs/requestTomasz Maczukin2017-03-021-0/+2
| | | |
| * | | Fix rubocop offensesTomasz Maczukin2017-03-021-1/+1
| | | |
| * | | Refactor JobRequest response structureTomasz Maczukin2017-03-022-30/+70
| | | |
| * | | Add jobs requesting APITomasz Maczukin2017-03-023-0/+105
| | | |
* | | | Implement review comments from @dbalexandre28251-mr-and-issue-iids-for-api-v4Timothy Andrew2017-03-072-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | - Typo in docs - Newline between test/expectation in `api/issues_spec` - Use `find_by` instead of `reference_by` in the structure defining awardables
* | | | Fix time tracking endpoints for API v4Timothy Andrew2017-03-072-3/+119
| | | | | | | | | | | | | | | | | | | | | | | | - Use issue/merge_request IID instead of ID - Duplicate the original `TimeTrackingEndpoints` concern (+ specs) for V3, since this is a breaking change.
* | | | Migrate the Todos API to use `issuable_iid`Timothy Andrew2017-03-071-4/+4
| | | | | | | | | | | | | | | | - Instead of `issuable_id`
* | | | Migrate the AwardEmoji API to use `merge_request_iid` and `issue_iid`Timothy Andrew2017-03-072-12/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Instead of `merge_request_id` and `issue_id` - The API also deals with `snippet_id`, which remains unchanged (since snippets don't have `iid`s - Duplicate the original `AwardEmoji` API (and spec) for use with the V3 API, since this is a breaking change.
* | | | Migrate the MergeRequestDiffs API to use `merge_request_iid`Timothy Andrew2017-03-071-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | - Instead of `merge_request_id` - Duplicate the original `MergeRequestDiffs` API (and spec) for use with the V3 API, since this is a breaking change.
* | | | API routes referencing a specific merge request should use the MR `iid`Timothy Andrew2017-03-073-26/+36
| | | | | | | | | | | | | | | | | | | | | | | | - As opposed to the `id` that was previously being used. - This brings the API routes closer to the web interface's routes. - This is specific to API v4.
* | | | API routes referencing a specific issue should use the issue `iid`Timothy Andrew2017-03-074-14/+25
| | | | | | | | | | | | | | | | | | | | | | | | - As opposed to the issue `id` that was previously being used. - This brings the API routes closer to the web interface's routes. - This is specific to API v4.
* | | | Merge branch '28598-narrow-environment-payload-by-using-basic-project' into ↵Rémy Coutable2017-03-071-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'master' Simplify project payload exposed on Environment endpoints in V4 Closes #28598 See merge request !9675
| * | | | Narrow environment payload by using basic project details resource28598-narrow-environment-payload-by-using-basic-projectOswaldo Ferreira2017-03-061-1/+1
| | | | |
* | | | | Move `api/v3/deployments` to the correct namespaceRobert Speicher2017-03-062-29/+31
|/ / / /
* | | | Merge branch 'zj-builds-to-jobs-api' into 'master' Kamil Trzciński2017-03-0610-92/+649
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename builds to jobs in the API Closes #28515 See merge request !9463
| * | | | Incorporate review, drop old endpointZ.J. van de Weg2017-03-062-25/+4
| | | | | | | | | | | | | | | | | | | | | | | | | The endpoint dropped, get ':id/repository/commits/:sha/jobs', should be replace by a new endpoint.
| * | | | Rename build to job in the docsZ.J. van de Weg2017-03-061-5/+5
| | | | |