slis/hub-php-adapter

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

dev-main 2022-08-10 13:17 UTC

README

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

For more information, please visit https://slis.services.

Installation & Usage

Requirements

PHP 7.4 and later. Should also work with PHP 8.0.

Composer

To install the bindings via Composer, add the following to composer.json:

{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/slis/hub-php-adapter.git"
    }
  ],
  "require": {
    "slis/hub-php-adapter": "*@dev"
  }
}

Then run composer install

Manual Installation

Download the files and include autoload.php:

<?php
require_once('/path/to/HubAdapter/vendor/autoload.php');

Getting Started

Please follow the installation procedure and then run the following:

<?php
require_once(__DIR__ . '/vendor/autoload.php');



// Configure API key authorization: JWT
$config = SLIS\Adapter\Hub\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = SLIS\Adapter\Hub\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');


$apiInstance = new SLIS\Adapter\Hub\Api\BenutzerApi(
    // 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
);
$uuid = 'uuid_example'; // string | Resource identifier

try {
    $apiInstance->deleteBenutzerItem($uuid);
} catch (Exception $e) {
    echo 'Exception when calling BenutzerApi->deleteBenutzerItem: ', $e->getMessage(), PHP_EOL;
}

API Endpoints

All URIs are relative to http://localhost

ClassMethodHTTP requestDescription
BenutzerApideleteBenutzerItemDELETE /benutzers/{uuid}Removes the Benutzer resource.
BenutzerApigetBenutzerCollectionGET /benutzersRetrieves the collection of Benutzer resources.
BenutzerApigetBenutzerItemGET /benutzers/{uuid}Retrieves a Benutzer resource.
BenutzerApipostBenutzerCollectionPOST /benutzersCreates a Benutzer resource.
BenutzerApiputBenutzerItemPUT /benutzers/{uuid}Replaces the Benutzer resource.
BestellungApiapiKundesBestellungensGetSubresourceKundeSubresourceGET /kundes/{uuid}/bestellungensRetrieves a Kunde resource.
BestellungApideleteBestellungItemDELETE /bestellung/{uuid}Removes the Bestellung resource.
BestellungApigetAvaliblePositionsBestellungCollectionGET /bestellung/positionen/_availableGet a list of all available order positions
BestellungApigetBestellungCollectionGET /bestellungRetrieves the collection of Bestellung resources.
BestellungApigetBestellungItemGET /bestellung/{uuid}Retrieves a Bestellung resource.
BestellungApipatchBestellungItemPATCH /bestellung/{uuid}Updates the Bestellung resource.
BestellungApipostBestellungCollectionPOST /bestellungCreates a Bestellung resource.
FirewallApiapiFirewallsServiceLevelAgreementGetSubresourceFirewallSubresourceGET /firewalls/{uuid}/service_level_agreementRetrieves a Firewall resource.
FirewallApideleteFirewallItemDELETE /firewalls/{uuid}Removes the Firewall resource.
FirewallApigetFirewallCollectionGET /firewallsRetrieves the collection of Firewall resources.
FirewallApigetFirewallItemGET /firewalls/{uuid}Retrieves a Firewall resource.
FirewallApipostFirewallCollectionPOST /firewallsCreates a Firewall resource.
FirewallApiputFirewallItemPUT /firewalls/{uuid}Replaces the Firewall resource.
GeraetApideleteGeraetItemDELETE /geraets/{uuid}Removes the Geraet resource.
GeraetApigetGeraetCollectionGET /geraetsRetrieves the collection of Geraet resources.
GeraetApigetGeraetItemGET /geraets/{uuid}Retrieves a Geraet resource.
GeraetApiputGeraetItemPUT /geraets/{uuid}Replaces the Geraet resource.
GeraetTypApideleteGeraetTypItemDELETE /geraet-typ/{uuid}Removes the GeraetTyp resource.
GeraetTypApigetGeraetTypCollectionGET /geraet-typRetrieves the collection of GeraetTyp resources.
GeraetTypApigetGeraetTypItemGET /geraet-typ/{uuid}Retrieves a GeraetTyp resource.
GeraetTypApipostGeraetTypCollectionPOST /geraet-typCreates a GeraetTyp resource.
HerstellerApideleteHerstellerItemDELETE /herstellers/{uuid}Removes the Hersteller resource.
HerstellerApigetHerstellerCollectionGET /herstellersRetrieves the collection of Hersteller resources.
HerstellerApigetHerstellerItemGET /herstellers/{uuid}Retrieves a Hersteller resource.
HerstellerApipostHerstellerCollectionPOST /herstellersCreates a Hersteller resource.
HerstellerApiputHerstellerItemPUT /herstellers/{uuid}Replaces the Hersteller resource.
KategorieApideleteKategorieItemDELETE /kategories/{name}Removes the Kategorie resource.
KategorieApigetKategorieCollectionGET /kategoriesRetrieves the collection of Kategorie resources.
KategorieApigetKategorieItemGET /kategories/{name}Retrieves a Kategorie resource.
KategorieApipostKategorieCollectionPOST /kategoriesCreates a Kategorie resource.
KategorieApiputKategorieItemPUT /kategories/{name}Replaces the Kategorie resource.
KimApideleteKimItemDELETE /kims/{id}Removes the Kim resource.
KimApigetKimCollectionGET /kimsRetrieves the collection of Kim resources.
KimApigetKimItemGET /kims/{id}Retrieves a Kim resource.
KimApipatchKimItemPATCH /kims/{id}Updates the Kim resource.
KimApipostKimCollectionPOST /kimsCreates a Kim resource.
KimApiputKimItemPUT /kims/{id}Replaces the Kim resource.
KundeApiapiKundesBestellungensGetSubresourceKundeSubresourceGET /kundes/{uuid}/bestellungensRetrieves a Kunde resource.
KundeApideleteKundeItemDELETE /kunden/{uuid}Removes the Kunde resource.
KundeApigetKundeCollectionGET /kundenRetrieves the collection of Kunde resources.
KundeApigetKundeItemGET /kunden/{uuid}Retrieves a Kunde resource.
KundeApipostKundeCollectionPOST /kundenCreates a Kunde resource.
KundeApiputKundeItemPUT /kunden/{uuid}Replaces the Kunde resource.
NetzwerkApiapiStandortsNetzwerkesGetSubresourceStandortSubresourceGET /standorts/{uuid}/netzwerkesRetrieves a Standort resource.
NetzwerkApideleteNetzwerkItemDELETE /netzwerk/{uuid}Removes the Netzwerk resource.
NetzwerkApigetNetzwerkCollectionGET /netzwerkRetrieves the collection of Netzwerk resources.
NetzwerkApigetNetzwerkItemGET /netzwerk/{uuid}Retrieves a Netzwerk resource.
NetzwerkApipostNetzwerkCollectionPOST /netzwerkCreates a Netzwerk resource.
ServiceLevelAgreementApiapiFirewallsServiceLevelAgreementGetSubresourceFirewallSubresourceGET /firewalls/{uuid}/service_level_agreementRetrieves a Firewall resource.
ServiceLevelAgreementApideleteServiceLevelAgreementItemDELETE /sla/{uuid}Removes the ServiceLevelAgreement resource.
ServiceLevelAgreementApigetServiceLevelAgreementCollectionGET /slaRetrieves the collection of ServiceLevelAgreement resources.
ServiceLevelAgreementApigetServiceLevelAgreementItemGET /sla/{uuid}Retrieves a ServiceLevelAgreement resource.
ServiceLevelAgreementApipostServiceLevelAgreementCollectionPOST /slaCreates a ServiceLevelAgreement resource.
StandortApiapiStandortsNetzwerkesGetSubresourceStandortSubresourceGET /standorts/{uuid}/netzwerkesRetrieves a Standort resource.
StandortApideleteStandortItemDELETE /standorte/{uuid}Removes the Standort resource.
StandortApigetStandortCollectionGET /standorteRetrieves the collection of Standort resources.
StandortApigetStandortItemGET /standorte/{uuid}Retrieves a Standort resource.
StandortApipostStandortCollectionPOST /standorteCreates a Standort resource.
StatusApigetStatusCollectionGET /statusesRetrieves the collection of Status resources.
StatusApigetStatusItemGET /statuses/{uuid}Retrieves a Status resource.
TagApideleteTagItemDELETE /tags/{uuid}Removes the Tag resource.
TagApigetTagCollectionGET /tagsRetrieves the collection of Tag resources.
TagApigetTagItemGET /tags/{uuid}Retrieves a Tag resource.
TagApipostTagCollectionPOST /tagsCreates a Tag resource.
TagApiputTagItemPUT /tags/{uuid}Replaces the Tag resource.
TokenApipostCredentialsItemPOST /authentication_tokenGet JWT token to login.

Models

Authorization

JWT

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Tests

To run the tests, use:

composer install
vendor/bin/phpunit

Author

dev@slis.io

About this package

This PHP package is automatically generated by the OpenAPI Generator project:

  • API version: 0.7.4
    • Package version: 0.7.4
  • Build package: org.openapitools.codegen.languages.PhpClientCodegen