All URIs are relative to https://share.catrob.at/api
Method | HTTP request | Description |
---|---|---|
healthGet | GET /health | Health Check |
surveyLangCodeGet | GET /survey/{lang_code} | Get survey link for given language code. |
# config/services.yaml
services:
# ...
Acme\MyBundle\Api\UtilityApi:
tags:
- { name: "open_api_server.api", api: "utility" }
# ...
healthGet()
Health Check
<?php
// src/Acme/MyBundle/Api/UtilityApiInterface.php
namespace Acme\MyBundle\Api;
use OpenAPI\Server\Api\UtilityApiInterface;
class UtilityApi implements UtilityApiInterface
{
// ...
/**
* Implementation of UtilityApiInterface#healthGet
*/
public function healthGet(int &$responseCode, array &$responseHeaders): void
{
// Implement the operation ...
}
// ...
}
This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OpenAPI\Server\Model\SurveyResponse surveyLangCodeGet($lang_code, $flavor, $platform)
Get survey link for given language code.
<?php
// src/Acme/MyBundle/Api/UtilityApiInterface.php
namespace Acme\MyBundle\Api;
use OpenAPI\Server\Api\UtilityApiInterface;
class UtilityApi implements UtilityApiInterface
{
// ...
/**
* Implementation of UtilityApiInterface#surveyLangCodeGet
*/
public function surveyLangCodeGet(string $lang_code, string $flavor, string $platform, int &$responseCode, array &$responseHeaders): array|object|null
{
// Implement the operation ...
}
// ...
}
Name | Type | Description | Notes |
---|---|---|---|
lang_code | string | 2 letter Language-Code is based on ISO693-1 (e.g. German = de, English = en, Russian = ru) | |
flavor | string | [optional] [default to ''] | |
platform | string | Indication for which platform the response should be optimized (ios, android) | [optional] [default to ''] |
OpenAPI\Server\Model\SurveyResponse
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]