Skip to content

Latest commit

 

History

History
70 lines (48 loc) · 1.37 KB

UtilityApiInterface.md

File metadata and controls

70 lines (48 loc) · 1.37 KB

OpenAPI\Server\Api\UtilityApiInterface

All URIs are relative to https://share.catrob.at/api

Method HTTP request Description
healthGet GET /health Health Check

Service Declaration

# src/Acme/MyBundle/Resources/services.yml
services:
    # ...
    acme.my_bundle.api.utility:
        class: Acme\MyBundle\Api\UtilityApi
        tags:
            - { name: "open_api_server.api", api: "utility" }
    # ...

healthGet

healthGet()

Health Check

Example Implementation

<?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()
    {
        // Implement the operation ...
    }

    // ...
}

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]