All URIs are relative to https://localhost
Method | HTTP request | Description |
---|---|---|
eventsGet | GET /events | |
eventsPost | POST /events |
\Swagger\Client\Model\Event[] eventsGet()
Get a list of all events sent to this service.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\EventsApi();
try {
$result = $api_instance->eventsGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EventsApi->eventsGet: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string eventsPost($event)
Send a new event.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\EventsApi();
$event = new \Swagger\Client\Model\Event(); // \Swagger\Client\Model\Event | The event, which happened and should be handled.
try {
$result = $api_instance->eventsPost($event);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EventsApi->eventsPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
event | \Swagger\Client\Model\Event | The event, which happened and should be handled. |
string
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]