No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
This PHP package is automatically generated by the OpenAPI Generator project:
- API version: 1.0.0
- Build package: org.openapitools.codegen.languages.PhpClientCodegen
PHP 5.5 and later
To install the bindings via Composer, add the following to composer.json
:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/arne-kroeger/docstore-client-php.git"
}
],
"require": {
"arne-kroeger/docstore-client-php": "*@dev"
}
}
Then run composer install
Download the files and include autoload.php
:
require_once('/path/to/OpenAPIClient-php/vendor/autoload.php');
To run the unit tests:
composer install
./vendor/bin/phpunit
Please follow the installation procedure and then run the following:
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\DocumentApi(
// 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()
);
$document = new \OpenAPI\Client\Model\Document(); // \OpenAPI\Client\Model\Document |
try {
$result = $apiInstance->addNewDocument($document);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DocumentApi->addNewDocument: ', $e->getMessage(), PHP_EOL;
}
?>
All URIs are relative to https://documentation.perf-act.de/api
Class | Method | HTTP request | Description |
---|---|---|---|
DocumentApi | addNewDocument | POST /document | adds a new document |
DocumentApi | addNewDocumentForTemplate | POST /document/template/{templateUuid} | adds a new document by template |
DocumentApi | getDocument | GET /document/{uuid}/{env} | get latest updated documents |
DocumentApi | getLatestDocuments | GET /document | get latest updated documents |
DocumentApi | searchDocuments | POST /document/search | search for documents |
All endpoints do not require authorization.