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
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
b86caf0d
Commit
b86caf0d
authored
Feb 16, 2015
by
Bugagazavr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct json payload [ci skip]
parent
01d86d33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
31 deletions
+28
-31
doc/api/repositories.md
doc/api/repositories.md
+28
-31
No files found.
doc/api/repositories.md
View file @
b86caf0d
...
@@ -15,24 +15,21 @@ Parameters:
...
@@ -15,24 +15,21 @@ Parameters:
```
json
```
json
[
[
{
{
"name"
:
"v1.0.0"
,
"commit"
:
{
"commit"
:
{
"author_name"
:
"John Smith"
,
"author_email"
:
"john@example.com"
,
"authored_date"
:
"2012-05-28T04:42:42-07:00"
,
"committed_date"
:
"2012-05-28T04:42:42-07:00"
,
"committer_name"
:
"Jack Smith"
,
"committer_email"
:
"jack@example.com"
,
"id"
:
"2695effb5807a22ff3d138d593fd856244e155e7"
,
"id"
:
"2695effb5807a22ff3d138d593fd856244e155e7"
,
"parents"
:
[],
"tree"
:
"38017f2f189336fe4497e9d230c5bb1bf873f08d"
,
"message"
:
"Initial commit"
,
"message"
:
"Initial commit"
,
"author"
:
{
"parents_ids"
:
[
"name"
:
"John Smith"
,
"2a4b78934375d7f53875269ffd4f45fd83a84ebe"
"email"
:
"john@example.com"
]
},
"committer"
:
{
"name"
:
"Jack Smith"
,
"email"
:
"jack@example.com"
},
"authored_date"
:
"2012-05-28T04:42:42-07:00"
,
"committed_date"
:
"2012-05-28T04:42:42-07:00"
},
},
"protected"
:
null
"name"
:
"v1.0.0"
,
"message"
:
null
}
}
]
]
```
```
...
@@ -53,23 +50,23 @@ Parameters:
...
@@ -53,23 +50,23 @@ Parameters:
-
`message`
(optional) - Creates annotated tag.
-
`message`
(optional) - Creates annotated tag.
```
json
```
json
[
{
{
"commit"
:
{
"
name"
:
"v1.0.0
"
,
"
author_name"
:
"John Smith
"
,
"
message"
:
"Release 1.0.0
"
,
"
author_email"
:
"john@example.com
"
,
"
commit"
:
{
"
authored_date"
:
"2012-05-28T04:42:42-07:00"
,
"id"
:
"2695effb5807a22ff3d138d593fd856244e155e7
"
,
"committed_date"
:
"2012-05-28T04:42:42-07:00
"
,
"parents"
:
[]
,
"committer_name"
:
"Jack Smith"
,
"message"
:
"Initial commit
"
,
"committer_email"
:
"jack@example.com
"
,
"authored_date"
:
"2012-05-28T04:42:42-07:00
"
,
"id"
:
"2695effb5807a22ff3d138d593fd856244e155e7
"
,
"author_name"
:
"John Smith
"
,
"message"
:
"Initial commit
"
,
"author email"
:
"john@example.com"
,
"parents_ids"
:
[
"
committer_name"
:
"Jack Smith"
,
"
2a4b78934375d7f53875269ffd4f45fd83a84ebe"
"committed_date"
:
"2012-05-28T04:42:42-07:00"
,
]
"committer_email"
:
"jack@example.com"
},
}
,
"name"
:
"v1.0.0"
,
}
"message"
:
null
]
}
```
```
The message will be
`nil`
when creating a lightweight tag otherwise
The message will be
`nil`
when creating a lightweight tag otherwise
it will contain the annotation.
it will contain the annotation.
...
...
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