Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ddeb1686
Commit
ddeb1686
authored
Jan 15, 2020
by
Giorgenes Gelatti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove pipeline_id from package api
parent
c20ef73b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
6 deletions
+1
-6
doc/api/packages.md
doc/api/packages.md
+0
-3
ee/lib/ee/api/entities.rb
ee/lib/ee/api/entities.rb
+0
-1
ee/spec/fixtures/api/schemas/public_api/v4/packages/package_with_build.json
...pi/schemas/public_api/v4/packages/package_with_build.json
+1
-2
No files found.
doc/api/packages.md
View file @
ddeb1686
...
...
@@ -81,7 +81,6 @@ Example response:
},
"created_at"
:
"2019-11-27T03:37:38.711Z"
,
"build_info"
:
{
"pipeline_id"
:
123
,
"pipeline"
:
{
"id"
:
123
,
"status"
:
"pending"
,
...
...
@@ -104,7 +103,6 @@ Example response:
},
"created_at"
:
"2019-11-27T03:37:38.711Z"
,
"build_info"
:
{
"pipeline_id"
:
123
,
"pipeline"
:
{
"id"
:
123
,
"status"
:
"pending"
,
...
...
@@ -159,7 +157,6 @@ Example response:
},
"created_at"
:
"2019-11-27T03:37:38.711Z"
,
"build_info"
:
{
"pipeline_id"
:
123
,
"pipeline"
:
{
"id"
:
123
,
"status"
:
"pending"
,
...
...
ee/lib/ee/api/entities.rb
View file @
ddeb1686
...
...
@@ -876,7 +876,6 @@ module EE
extend
EntityHelpers
class
BuildInfo
<
Grape
::
Entity
expose
:pipeline_id
expose
:pipeline
,
using:
::
API
::
Entities
::
PipelineBasic
end
...
...
ee/spec/fixtures/api/schemas/public_api/v4/packages/package_with_build.json
View file @
ddeb1686
...
...
@@ -7,9 +7,8 @@
"package_type"
:
{
"type"
:
"string"
},
"build_info"
:
{
"type"
:
"object"
,
"required"
:
[
"pipeline
_id"
,
"pipeline
"
],
"required"
:
[
"pipeline"
],
"properties"
:
{
"pipeline_id"
:
{
"type"
:
"integer"
},
"pipeline"
:
{
"$ref"
:
"../pipeline.json"
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment