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
Jérome Perrin
gitlab-ce
Commits
ace95b15
Commit
ace95b15
authored
Jul 19, 2017
by
Pablo Catalina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update projects.md. Fix Search project by name format and added a curl example.
parent
75275d97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
doc/api/projects.md
doc/api/projects.md
+6
-2
No files found.
doc/api/projects.md
View file @
ace95b15
...
@@ -1257,17 +1257,21 @@ endpoint can be accessed without authentication if the project is publicly
...
@@ -1257,17 +1257,21 @@ endpoint can be accessed without authentication if the project is publicly
accessible.
accessible.
```
```
GET /projects
/search/:query
GET /projects
```
```
Parameters:
Parameters:
| Attribute | Type | Required | Description |
| Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| --------- | ---- | -------- | ----------- |
|
`
query
`
| string | yes | A string contained in the project name |
|
`
search
`
| string | yes | A string contained in the project name |
|
`order_by`
| string | no | Return requests ordered by
`id`
,
`name`
,
`created_at`
or
`last_activity_at`
fields |
|
`order_by`
| string | no | Return requests ordered by
`id`
,
`name`
,
`created_at`
or
`last_activity_at`
fields |
|
`sort`
| string | no | Return requests sorted in
`asc`
or
`desc`
order |
|
`sort`
| string | no | Return requests sorted in
`asc`
or
`desc`
order |
```
bash
curl
--header
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
https://gitlab.example.com/api/v4/projects?search
=
test
```
## Start the Housekeeping task for a Project
## Start the Housekeeping task for a Project
>**Note:** This feature was introduced in GitLab 9.0
>**Note:** This feature was introduced in GitLab 9.0
...
...
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