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
Léo-Paul Géneau
gitlab-ce
Commits
6df411b4
Commit
6df411b4
authored
Feb 20, 2017
by
Robert Speicher
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-grammar' into 'master'
Fix some grammar in the API docs See merge request !9379
parents
5643e4d1
7d31cf86
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
doc/api/commits.md
doc/api/commits.md
+2
-2
doc/api/deploy_keys.md
doc/api/deploy_keys.md
+1
-1
lib/api/commits.rb
lib/api/commits.rb
+2
-2
No files found.
doc/api/commits.md
View file @
6df411b4
...
...
@@ -12,8 +12,8 @@ GET /projects/:id/repository/commits
| --------- | ---- | -------- | ----------- |
|
`id`
| integer/string | yes | The ID of a project or NAMESPACE/PROJECT_NAME owned by the authenticated user
|
`ref_name`
| string | no | The name of a repository branch or tag or if not given the default branch |
|
`since`
| string | no | Only commits after or
i
n this date will be returned in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ |
|
`until`
| string | no | Only commits before or
i
n this date will be returned in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ |
|
`since`
| string | no | Only commits after or
o
n this date will be returned in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ |
|
`until`
| string | no | Only commits before or
o
n this date will be returned in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ |
```
bash
curl
--header
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
"https://gitlab.example.com/api/v3/projects/5/repository/commits"
...
...
doc/api/deploy_keys.md
View file @
6df411b4
...
...
@@ -137,7 +137,7 @@ Example response:
## Delete deploy key
Removes a deploy key from the project. If the deploy is used only for this project, it will be deleted from the system.
Removes a deploy key from the project. If the deploy
key
is used only for this project, it will be deleted from the system.
```
DELETE /projects/:id/deploy_keys/:key_id
...
...
lib/api/commits.rb
View file @
6df411b4
...
...
@@ -16,8 +16,8 @@ module API
end
params
do
optional
:ref_name
,
type:
String
,
desc:
'The name of a repository branch or tag, if not given the default branch is used'
optional
:since
,
type:
DateTime
,
desc:
'Only commits after or
i
n this date will be returned'
optional
:until
,
type:
DateTime
,
desc:
'Only commits before or
i
n this date will be returned'
optional
:since
,
type:
DateTime
,
desc:
'Only commits after or
o
n this date will be returned'
optional
:until
,
type:
DateTime
,
desc:
'Only commits before or
o
n this date will be returned'
optional
:page
,
type:
Integer
,
default:
0
,
desc:
'The page for pagination'
optional
:per_page
,
type:
Integer
,
default:
20
,
desc:
'The number of results per page'
optional
:path
,
type:
String
,
desc:
'The file path'
...
...
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