gitlab-org--gitlab-foss/lib/api
Tomasz Maczukin bbf4d27a5c
Make runner's veryfication working again
In APIv1 we were using UpdateJob to verify if the runner exists. It was
the only method that was using Runner's token and used in special way
had no side effects (like scheduling a new job or unregisterring a
Runner).

In APIv4 we've change UpdateJob to use job's token as authentication
credentials, and that way we've removed the only endpoint that could
be used to verify if the Runner with a certain token exists in target
GitLab installation.

This commit adds `POST /api/v4/runners/verify` endpoint whose only
responsibility is to respond if Runner with posted credentials exists or
not.
2017-03-20 09:40:36 +01:00
..
helpers Merge branch '28447-hybrid-repository-storages' into 'master' 2017-03-07 16:55:03 +00:00
v3 Use "branch_name" instead "branch" on V3 branch creation API 2017-03-16 21:15:16 -03:00
access_requests.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
api.rb API routes referencing a specific issue should use the issue `iid` 2017-03-07 13:06:42 +05:30
api_guard.rb
award_emoji.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
boards.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
branches.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
broadcast_messages.rb
commit_statuses.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
commits.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
deploy_keys.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
deployments.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
entities.rb Merge remote-tracking branch 'origin/personal_access_token_api_and_impersonation_token' 2017-03-07 09:29:55 -06:00
environments.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
files.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
groups.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
helpers.rb use the policy stack to protect logins 2017-03-09 11:49:52 -08:00
internal.rb
issues.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
jobs.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
keys.rb
labels.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
lint.rb
members.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
merge_request_diffs.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
merge_requests.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
milestones.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
namespaces.rb
notes.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
notification_settings.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
pagination_params.rb
pipelines.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
project_hooks.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
project_snippets.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
projects.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
repositories.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
runner.rb Make runner's veryfication working again 2017-03-20 09:40:36 +01:00
runners.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
services.rb All CI offline migrations 2017-03-17 23:06:11 +00:00
session.rb
settings.rb Override setters so it also accepts string visibility levels 2017-03-02 16:31:22 +01:00
sidekiq_metrics.rb
snippets.rb
subscriptions.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
system_hooks.rb
tags.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
templates.rb
time_tracking_endpoints.rb Fix time tracking endpoints for API v4 2017-03-07 13:56:00 +05:30
todos.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
triggers.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
users.rb use a magic default :global symbol instead of nil 2017-03-09 11:49:52 -08:00
variables.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
version.rb