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
6987bcc5
Commit
6987bcc5
authored
Nov 27, 2019
by
Giorgenes Gelatti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds created at to package
parent
2a928a77
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
doc/api/packages.md
doc/api/packages.md
+6
-3
ee/lib/ee/api/entities.rb
ee/lib/ee/api/entities.rb
+2
-0
ee/spec/fixtures/api/schemas/public_api/v4/packages/package.json
.../fixtures/api/schemas/public_api/v4/packages/package.json
+3
-0
No files found.
doc/api/packages.md
View file @
6987bcc5
...
...
@@ -76,7 +76,8 @@ Example response:
"_links"
:
{
"web_path"
:
"/namespace1/project1/-/packages/1"
,
"delete_api_path"
:
"/namespace1/project1/-/packages/1"
}
},
"created_at"
:
"2019-11-27T03:37:38.711Z"
},
{
"id"
:
2
,
...
...
@@ -86,7 +87,8 @@ Example response:
"_links"
:
{
"web_path"
:
"/namespace1/project1/-/packages/1"
,
"delete_api_path"
:
"/namespace1/project1/-/packages/1"
}
},
"created_at"
:
"2019-11-27T03:37:38.711Z"
}
]
```
...
...
@@ -128,7 +130,8 @@ Example response:
"_links"
:
{
"web_path"
:
"/namespace1/project1/-/packages/1"
,
"delete_api_path"
:
"/namespace1/project1/-/packages/1"
}
},
"created_at"
:
"2019-11-27T03:37:38.711Z"
}
```
...
...
ee/lib/ee/api/entities.rb
View file @
6987bcc5
...
...
@@ -870,6 +870,8 @@ module EE
expose_url
api_v4_projects_packages_path
(
package_id:
package
.
id
,
id:
package
.
project_id
)
end
end
expose
:created_at
end
class
PackageFile
<
Grape
::
Entity
...
...
ee/spec/fixtures/api/schemas/public_api/v4/packages/package.json
View file @
6987bcc5
...
...
@@ -26,6 +26,9 @@
"type"
:
"string"
}
}
},
"created_at"
:
{
"type"
:
"string"
}
}
}
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