# \SearchApi
All URIs are relative to *http://localhost/api/v2.0*
[**search**](SearchApi.md#search) | **GET** /search | Search for projects and repositories
## search
> models::Search search(q, x_request_id)
Search for projects and repositories
The Search endpoint returns information about the projects and repositories offered at public status or related to the current logged in user. The response includes the project and repository list in a proper display order.
### Parameters
**q** | **String** | Search parameter for project and repository name. | [required] |
**x_request_id** | Option<**String**> | An unique ID for the request | |
### Return type
[**models::Search**](Search.md)
### Authorization
[basic](../README.md#basic)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)