All URIs are relative to https://share.catrob.at/api
Method | HTTP request | Description |
---|---|---|
searchGet | GET /search | Search for projects, users,.. |
# config/services.yaml
services:
# ...
Acme\MyBundle\Api\SearchApi:
tags:
- { name: "open_api_server.api", api: "search" }
# ...
OpenAPI\Server\Model\SearchResponse searchGet($query, $type, $limit, $offset)
Search for projects, users,..
The default is to search in all categories.
<?php
// src/Acme/MyBundle/Api/SearchApiInterface.php
namespace Acme\MyBundle\Api;
use OpenAPI\Server\Api\SearchApiInterface;
class SearchApi implements SearchApiInterface
{
// ...
/**
* Implementation of SearchApiInterface#searchGet
*/
public function searchGet(string $query, string $type, int $limit, int $offset, int &$responseCode, array &$responseHeaders): array|object|null
{
// Implement the operation ...
}
// ...
}
Name | Type | Description | Notes |
---|---|---|---|
query | string | ||
type | string | [optional] [default to 'all'] | |
limit | int | [optional] [default to 20] | |
offset | int | [optional] [default to 0] |
OpenAPI\Server\Model\SearchResponse
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]