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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
2490cfbc
Commit
2490cfbc
authored
May 23, 2014
by
Sean Edge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update documentaiton for create_tag method.
parent
1e6766f9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
doc/api/repositories.md
doc/api/repositories.md
+34
-0
No files found.
doc/api/repositories.md
View file @
2490cfbc
...
@@ -35,6 +35,40 @@ Parameters:
...
@@ -35,6 +35,40 @@ Parameters:
]
]
```
```
## Create a new tag
Creates new tag in the repository that points to the supplied ref.
```
POST /projects/:id/repository/tags
```
Parameters:
+
`id`
(required) - The ID of a project
+
`tag_name`
(required) - The name of a tag
+
`ref`
(required) - Create tag using commit sha, another tag name, or branch name.
```
json
[
{
"name"
:
"v1.0.0"
,
"commit"
:
{
"id"
:
"2695effb5807a22ff3d138d593fd856244e155e7"
,
"parents"
:
[],
"message"
:
"Initial commit"
,
"authored_date"
:
"2012-05-28T04:42:42-07:00"
,
"author_name"
:
"John Smith"
,
"author email"
:
"john@example.com"
"committer_name"
:
"Jack Smith"
,
"committed_date"
:
"2012-05-28T04:42:42-07:00"
"committer_email"
:
"jack@example.com"
},
"protected"
:
false
}
]
```
## List repository tree
## List repository tree
Get a list of repository files and directories in a project.
Get a list of repository files and directories in a project.
...
...
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