Commit Graph

1782 Commits

Author SHA1 Message Date
Achilleas Pipinellis b388111f6e Merge branch 'docs/add-missing-resources-and-restructure' into 'master'
Add missing links to resources

See merge request gitlab-org/gitlab-ce!23605
2018-12-11 13:42:13 +00:00
Grzegorz Bizon c79c8739b6 Merge branch '54626-able-to-download-a-single-archive-file-with-api-by-ref-name' into 'master'
Add endpoint to download single artifact by ref

Closes #54626

See merge request gitlab-org/gitlab-ce!23538
2018-12-10 10:52:30 +00:00
Steve Azzopardi 401f65c43a
Add endpoint to download single artifact by ref
Add a new endpoint
`projects/:id/jobs/artifacts/:ref_name/raw/*artifact_path?job=name`
which is the close the web URL for consistency sake. This endpoint can
be used to download a single file from artifacts for the specified ref
and job.

closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54626
2018-12-07 15:33:30 +01:00
Achilleas Pipinellis 25cd8fb547 Merge branch 'docs-search' into 'master'
[Documentation] Fix minor issues in search API doc

Closes #54959

See merge request gitlab-org/gitlab-ce!23645
2018-12-07 13:42:52 +00:00
Jan Provaznik 6f464cf074 Fix minor issues in search API doc 2018-12-07 13:26:24 +01:00
James Powis cc38e1b8ea Fixed misreported error codes and elaborated
Documentation mixed up 406 and 405 error codes, this corrects that

Also elaborated on the possible ways you can receive a 405 error code

See spec test: https://gitlab.com/powisj/gitlab-ce/blob/master/spec/requests/api/merge_requests_spec.rb#L848
2018-12-06 14:46:09 -07:00
Rémy Coutable 69b2a78826 Merge branch 'blob-count2' into 'master'
Support unlimited file search in web UI and API

See merge request gitlab-org/gitlab-ce!23553
2018-12-06 16:59:45 +00:00
Jan Provaznik 58bfd73331 Optimized file search to work without limits
* removed 100 limit on file search results because we
  load all results anyway
* expensive processing (parsing match content, utf encoding)
  is done only for selected page in paginated output
2018-12-06 09:25:09 +01:00
Evan Read 5b3dd3fba5 Add missing links to resources
- While here, restructure list slightly.
2018-12-06 13:32:31 +10:00
Grzegorz Bizon 1c9b10016a Merge branch '54826-use-read_repository-scope-on-read-only-files-endpoints' into 'master'
Resolve "Use read_repository scope on read-only files endpoints"

Closes #54826

See merge request gitlab-org/gitlab-ce!23534
2018-12-05 11:34:06 +00:00
James Lopez 9f4a3111e4 Update repository_files.md 2018-12-05 10:19:43 +00:00
Will Chandler 09d53d01db Update doc/api/repository_submodules.md 2018-12-04 18:16:12 +00:00
James Lopez 3223f7b05b
Update code based on feedback 2018-12-04 15:32:06 +01:00
James Lopez 046226717c
Fix markdown link 2018-12-04 12:02:06 +01:00
James Lopez 848e827c0d
Add docs and changelog 2018-12-04 11:57:36 +01:00
colinleroy 3da9fef010 Fix lack of documentation on how to fetch a snippet's content using API 2018-12-04 03:20:31 +00:00
Stan Hu c27c9827bc Fix documentation for /api/v4/projects/:id/repository/archive
The documentation mistakenly says that `format` can be used as a
parameter, but the Grape middleware reserves `format` as a content-type
header. Update the documentation to make it explicit the suffix
should be used to specify a format.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/45992
2018-12-03 08:58:45 -08:00
Imre Farkas 9c4c944636
Improve wording on disabling impersonation in api/README 2018-11-30 09:16:17 +01:00
Rémy Coutable 7c0718cd79 Merge branch '51083-fix-move-api' into 'master'
Commits API: Preserve file content in move operations if unspecified

Closes #52974 et #51083

See merge request gitlab-org/gitlab-ce!23387
2018-11-29 11:36:16 +00:00
Rémy Coutable 70b19fbdef Merge branch 'if-40385-prohibit_impersonation' into 'master'
Add config to prohibit impersonation

See merge request gitlab-org/gitlab-ce!23338
2018-11-29 09:53:09 +00:00
Imre Farkas bd3a484032
Add config to disable impersonation
Adds gitlab.impersonation_enabled config option defaulting to true to
keep the current default behaviour.

Only the act of impersonation is modified, impersonation token
management is not affected.
2018-11-29 09:37:16 +01:00
Nick Thomas 04ceb69f3e
Allow the status of a rebase to be determined 2018-11-28 12:57:47 +00:00
Nick Thomas 14076062df
Commits API: Preserve file content in move operations if unspecified 2018-11-28 11:50:05 +00:00
Nick Thomas 9f28729827
Add a rebase API endpoint for merge requests 2018-11-27 18:04:33 +00:00
Evan Read 2ee8c40fc1 Merge branch '54230-eliminate-duplicated-words' into 'master'
Eliminate duplicated words (for docs)

See merge request gitlab-org/gitlab-ce!23183
2018-11-27 04:31:47 +00:00
Achilleas Pipinellis 10e4c87317 Merge branch 'patch-32' into 'master'
Update to properly reference users instead of projects

See merge request gitlab-org/gitlab-ce!23325
2018-11-26 08:30:09 +00:00
Nick Thomas 204f6a83f8 Merge branch '52371-filter-by-none-any-for-labels-in-issues-mrs-api' into 'master'
Resolve "Filter by `None`/`Any` for labels in issues/mrs API"

Closes #52371

See merge request gitlab-org/gitlab-ce!22622
2018-11-23 16:57:17 +00:00
Achilleas Pipinellis 0ab4918cc7 Merge branch 'patch-31' into 'master'
Replace public_jobs attribute with public_builds attribute in Projects API docs

See merge request gitlab-org/gitlab-ce!23194
2018-11-23 16:13:26 +00:00
Jacopo c068ac67b3 Filter by `None`/`Any` for labels in issues/mrs API
By using the parameters `?labels=None|Any` the user can filter
issues/mrs from the API that has `none/any` label.

Affected endpoints are:

- /api/issues
- /api/projects/:id/issues
- /api/groups/:id/issues
- /api/merge_requests
- /api/projects/:id/merge_requests
- /api/groups/:id/merge_requests
2018-11-23 16:11:52 +01:00
rkottmann c4cdf528a5 Update to properly reference users instead of projects 2018-11-23 14:41:50 +00:00
Takuya Noguchi e238882d0c Eliminate duplicated words
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2018-11-22 15:44:32 +09:00
Cynthia Ng 39e4ad13a3 Docs: fix API move issue curl command 2018-11-22 02:56:17 +00:00
Sean McGivern b8dd142584 Merge branch 'patch-28' into 'master'
Documented Response of /wikis/home should be a wiki object and not an array

See merge request gitlab-org/gitlab-ce!23263
2018-11-21 11:13:17 +00:00
Sean McGivern eb3683fa65 Merge branch '52453-show-subgroups-in-group-create-issue' into 'master'
Resolve "Access project from descendent groups when selecting project to create new issue"

Closes #47096 and #52453

See merge request gitlab-org/gitlab-ce!22612
2018-11-21 11:09:02 +00:00
akkee b13b31abb9 Response of /wiki/home should be a wiki object and not an array 2018-11-21 07:33:49 +00:00
Blair Lunceford 38c3791e0a When creating or updating a user, use public_builds attribute rather than public_jobs attribute in API. 2018-11-19 16:54:24 +00:00
Bruce Szalwinski 982fbc2390 Update README.md 2018-11-19 16:10:37 +00:00
Heinrich Lee Yu 911d835650 Add documentation 2018-11-19 23:59:54 +08:00
Grzegorz Bizon 9c233fa972 Merge branch '41875-allow-pipelines-to-be-deleted-by-project-owners' into 'master'
Resolve "Allow pipelines to be deleted by project owners"

Closes #41875

See merge request gitlab-org/gitlab-ce!22988
2018-11-16 14:02:54 +00:00
Evan Read e7a40cbe16 Merge branch 'fix-typo-addres-to-address' into 'master'
fix typo addres to address

See merge request gitlab-org/gitlab-ce!23108
2018-11-16 05:10:11 +00:00
Evan Read 38d234e2e5 Merge branch 'docs/rs-revert-api-version' into 'master'
Revert API is going into 11.5, not 11.6.

See merge request gitlab-org/gitlab-ce!23060
2018-11-16 04:06:29 +00:00
Stan Hu 1d16530501 Merge branch 'if-53347_fix_impersonation_tokens' into 'master'
Display impersonation token value only after creation

See merge request gitlab-org/gitlab-ce!22916
2018-11-15 19:06:28 +00:00
yoda 884dc4a1df fix typo addres to address 2018-11-15 10:21:49 +00:00
Robert Speicher f1f038956a
Revert API is going into 11.5, not 11.6. 2018-11-14 15:00:23 +01:00
Viktor b9bd6a8a33 Update events.md.
"?" instead of "&" in request examples
2018-11-13 14:25:50 +00:00
Matija Čupić 6173d4639a
Move pipeline delete docs to end 2018-11-13 13:58:24 +01:00
Matija Čupić 22aa5c5594
Add docs for deleting a pipeline via API 2018-11-12 19:46:32 +01:00
Imre Farkas f3cd24a9f3
Display impersonation token value only after creation
Since we migrated all PersonlAccessTokens to store only its hash in the
DB, the token value can no longer be shown to the user.
2018-11-12 12:16:25 +01:00
Evan Read 34011616d0 Fix some links and Markdown 2018-11-12 14:56:44 +10:00
Nick Thomas 8d74ef331c Merge branch 'rs-revert-api' into 'master'
Add revert to commits API

Closes gitlab-org/release/framework#48

See merge request gitlab-org/gitlab-ce!22919
2018-11-09 16:33:50 +00:00