Commit 4ebadb77 authored by Tomasz Maczukin's avatar Tomasz Maczukin

iChange `name` and `path` to `name_with_namespace` and `path_with_namespace`...

iChange `name` and `path` to `name_with_namespace` and `path_with_namespace` in `RunnerProjectDetails`
parent 05e73356
...@@ -122,8 +122,8 @@ Example response: ...@@ -122,8 +122,8 @@ Example response:
"projects": [ "projects": [
{ {
"id": 1, "id": 1,
"name": "GitLab.org / GitLab Community Edition", "name_with_namespace": "GitLab.org / GitLab Community Edition",
"path": "gitlab-org/gitlab-ce" "path_with_namespace": "gitlab-org/gitlab-ce"
} }
], ],
"token": "205086a8e3b9a2b818ffac9b89d102", "token": "205086a8e3b9a2b818ffac9b89d102",
...@@ -170,8 +170,8 @@ Example response: ...@@ -170,8 +170,8 @@ Example response:
"projects": [ "projects": [
{ {
"id": 1, "id": 1,
"name": "GitLab.org / GitLab Community Edition", "name_with_namespace": "GitLab.org / GitLab Community Edition",
"path": "gitlab-org/gitlab-ce" "path_with_namespace": "gitlab-org/gitlab-ce"
} }
], ],
"token": "205086a8e3b9a2b818ffac9b89d102", "token": "205086a8e3b9a2b818ffac9b89d102",
......
...@@ -371,8 +371,8 @@ module API ...@@ -371,8 +371,8 @@ module API
class RunnerProjectDetails < Grape::Entity class RunnerProjectDetails < Grape::Entity
expose :id expose :id
expose :name_with_namespace, as: :name expose :name_with_namespace
expose :path_with_namespace, as: :path expose :path_with_namespace
end end
class Runner < Grape::Entity class Runner < Grape::Entity
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment