Skip to content

Latest commit

 

History

History
108 lines (74 loc) · 2.88 KB

AuditApi.md

File metadata and controls

108 lines (74 loc) · 2.88 KB

TeamCityClient\AuditApi

All URIs are relative to https://vs-szp-ds01.otr.ru:8111

Method HTTP request Description
get GET /app/rest/audit
getSingle GET /app/rest/audit/{auditEventLocator}

get

\TeamCityClient\Model\AuditEvents get($locator, $fields)

Example

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

$apiInstance = new TeamCityClient\Api\AuditApi(
    // 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()
);
$locator = "locator_example"; // string | 
$fields = "fields_example"; // string | 

try {
    $result = $apiInstance->get($locator, $fields);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuditApi->get: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
locator string [optional]
fields string [optional]

Return type

\TeamCityClient\Model\AuditEvents

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]

getSingle

\TeamCityClient\Model\AuditEvent getSingle($audit_event_locator, $fields)

Example

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

$apiInstance = new TeamCityClient\Api\AuditApi(
    // 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()
);
$audit_event_locator = "audit_event_locator_example"; // string | 
$fields = "fields_example"; // string | 

try {
    $result = $apiInstance->getSingle($audit_event_locator, $fields);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuditApi->getSingle: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
audit_event_locator string
fields string [optional]

Return type

\TeamCityClient\Model\AuditEvent

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]