Docker-Images bauen und veröffentlichen / build (, omsorgCore/Dockerfile, omsorgcore) (push) Successful in 3s
Docker-Images bauen und veröffentlichen / build (, omsorgWeb/Dockerfile, omsorgweb) (push) Failing after 4s
Docker-Images bauen und veröffentlichen / build (VITE_OMSORG_CORE_URL=${{ vars.OMSORG_CORE_PUBLIC_URL }}, omsorgapp/Dockerfile, omsorgapp) (push) Successful in 3s
- omsorgapp: drop Electron, run as a plain Vite/React browser app; refresh token moves to an HttpOnly cookie (omsorgCore), CORS added for the new browser origin, document download/preview switched to Blob-based browser APIs. - Add Dockerfiles for omsorgCore, omsorgapp, and omsorgWeb, a docker-compose.yml wiring Postgres/MySQL/all three apps together, and a Gitea Actions workflow that builds and pushes images to the repo's container registry on push to main and on version tags. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
8.7 KiB
8.7 KiB
OmsorgCoreClient\FacilitiesApi
All URIs are relative to http://localhost, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| apiFacilitiesGet() | GET /api/facilities | |
| apiFacilitiesIdDelete() | DELETE /api/facilities/{id} | |
| apiFacilitiesIdGet() | GET /api/facilities/{id} | |
| apiFacilitiesIdPut() | PUT /api/facilities/{id} | |
| apiFacilitiesPost() | POST /api/facilities |
apiFacilitiesGet()
apiFacilitiesGet($search, $crm_status, $follow_up_due_only, $page, $page_size): \OmsorgCoreClient\Model\FacilityResponsePagedResponse
Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\FacilitiesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$search = 'search_example'; // string
$crm_status = 'crm_status_example'; // string
$follow_up_due_only = false; // bool
$page = 1; // int
$page_size = 20; // int
try {
$result = $apiInstance->apiFacilitiesGet($search, $crm_status, $follow_up_due_only, $page, $page_size);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FacilitiesApi->apiFacilitiesGet: ', $e->getMessage(), PHP_EOL;
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| search | string | [optional] | |
| crm_status | string | [optional] | |
| follow_up_due_only | bool | [optional] [default to false] | |
| page | int | [optional] [default to 1] | |
| page_size | int | [optional] [default to 20] |
Return type
\OmsorgCoreClient\Model\FacilityResponsePagedResponse
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept:
text/plain,application/json,text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiFacilitiesIdDelete()
apiFacilitiesIdDelete($id)
Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\FacilitiesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 'id_example'; // string
try {
$apiInstance->apiFacilitiesIdDelete($id);
} catch (Exception $e) {
echo 'Exception when calling FacilitiesApi->apiFacilitiesIdDelete: ', $e->getMessage(), PHP_EOL;
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | string |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiFacilitiesIdGet()
apiFacilitiesIdGet($id): \OmsorgCoreClient\Model\FacilityResponse
Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\FacilitiesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 'id_example'; // string
try {
$result = $apiInstance->apiFacilitiesIdGet($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FacilitiesApi->apiFacilitiesIdGet: ', $e->getMessage(), PHP_EOL;
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | string |
Return type
\OmsorgCoreClient\Model\FacilityResponse
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept:
text/plain,application/json,text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiFacilitiesIdPut()
apiFacilitiesIdPut($id, $update_facility_request): \OmsorgCoreClient\Model\FacilityResponse
Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\FacilitiesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 'id_example'; // string
$update_facility_request = new \OmsorgCoreClient\Model\UpdateFacilityRequest(); // \OmsorgCoreClient\Model\UpdateFacilityRequest
try {
$result = $apiInstance->apiFacilitiesIdPut($id, $update_facility_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FacilitiesApi->apiFacilitiesIdPut: ', $e->getMessage(), PHP_EOL;
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | ||
| update_facility_request | \OmsorgCoreClient\Model\UpdateFacilityRequest | [optional] |
Return type
\OmsorgCoreClient\Model\FacilityResponse
Authorization
HTTP request headers
- Content-Type:
application/json,text/json,application/*+json - Accept:
text/plain,application/json,text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiFacilitiesPost()
apiFacilitiesPost($create_facility_request): \OmsorgCoreClient\Model\FacilityResponse
Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\FacilitiesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$create_facility_request = new \OmsorgCoreClient\Model\CreateFacilityRequest(); // \OmsorgCoreClient\Model\CreateFacilityRequest
try {
$result = $apiInstance->apiFacilitiesPost($create_facility_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FacilitiesApi->apiFacilitiesPost: ', $e->getMessage(), PHP_EOL;
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| create_facility_request | \OmsorgCoreClient\Model\CreateFacilityRequest | [optional] |
Return type
\OmsorgCoreClient\Model\FacilityResponse
Authorization
HTTP request headers
- Content-Type:
application/json,text/json,application/*+json - Accept:
text/plain,application/json,text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]