All URIs are relative to http://syncope-vm.apache.org:9080/syncope/rest
Method | HTTP request | Description |
---|---|---|
check1 | POST /resources/check | Checks whether the connection to resource could be established. |
create1 | POST /resources | Creates a new resource. |
delete1 | DELETE /resources/{key} | Deletes the resource matching the given name. |
list23 | GET /resources | Returns a list of all resources. |
listConnObjects | GET /resources/{key}/{anyTypeKey} | Returns a paged list of connector objects from external resource, for the given type, matching page/size conditions. |
read23 | GET /resources/{key} | Returns the resource with matching name. |
readConnObject | GET /resources/{key}/{anyTypeKey}/{anyKey} | Returns connector object from the external resource, for the given type and key. |
removeSyncToken | DELETE /resources/{key}/{anyTypeKey} | Removes the sync token value associated to the given any type from the given resource. |
setLatestSyncToken | POST /resources/{key}/{anyTypeKey} | Queries the connector underlying the given resource for the latest sync token value associated to the given any type and stores the value internally, for later usage. |
update1 | PUT /resources/{key} | Updates the resource matching the given name. |
check1($xSyncopeDomain, $resourceTO)
Checks whether the connection to resource could be established.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuthentication
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure HTTP basic authorization: Bearer
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new OpenEuropa\SyncopePhpClient\Api\ResourcesApi(
// 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
);
$xSyncopeDomain = 'Master'; // string | resource to be checked
$resourceTO = new \OpenEuropa\SyncopePhpClient\Model\ResourceTO(); // \OpenEuropa\SyncopePhpClient\Model\ResourceTO |
try {
$apiInstance->check1($xSyncopeDomain, $resourceTO);
} catch (Exception $e) {
echo 'Exception when calling ResourcesApi->check1: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
xSyncopeDomain | string | resource to be checked | [default to 'Master'] |
resourceTO | \OpenEuropa\SyncopePhpClient\Model\ResourceTO |
void (empty response body)
- Content-Type: application/json, application/yaml, application/xml
- Accept: application/json, application/yaml, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
create1($xSyncopeDomain, $resourceTO)
Creates a new resource.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuthentication
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure HTTP basic authorization: Bearer
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new OpenEuropa\SyncopePhpClient\Api\ResourcesApi(
// 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
);
$xSyncopeDomain = 'Master'; // string | Resource to be created
$resourceTO = new \OpenEuropa\SyncopePhpClient\Model\ResourceTO(); // \OpenEuropa\SyncopePhpClient\Model\ResourceTO |
try {
$apiInstance->create1($xSyncopeDomain, $resourceTO);
} catch (Exception $e) {
echo 'Exception when calling ResourcesApi->create1: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
xSyncopeDomain | string | Resource to be created | [default to 'Master'] |
resourceTO | \OpenEuropa\SyncopePhpClient\Model\ResourceTO |
void (empty response body)
- Content-Type: application/json, application/yaml, application/xml
- Accept: application/json, application/yaml, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete1($key, $xSyncopeDomain)
Deletes the resource matching the given name.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuthentication
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure HTTP basic authorization: Bearer
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new OpenEuropa\SyncopePhpClient\Api\ResourcesApi(
// 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
);
$key = 'key_example'; // string | name of resource to be deleted
$xSyncopeDomain = 'Master'; // string | resource to be checked
try {
$apiInstance->delete1($key, $xSyncopeDomain);
} catch (Exception $e) {
echo 'Exception when calling ResourcesApi->delete1: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
key | string | name of resource to be deleted | |
xSyncopeDomain | string | resource to be checked | [default to 'Master'] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json, application/yaml, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list23($xSyncopeDomain)
Returns a list of all resources.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuthentication
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure HTTP basic authorization: Bearer
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new OpenEuropa\SyncopePhpClient\Api\ResourcesApi(
// 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
);
$xSyncopeDomain = 'Master'; // string |
try {
$apiInstance->list23($xSyncopeDomain);
} catch (Exception $e) {
echo 'Exception when calling ResourcesApi->list23: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
xSyncopeDomain | string | [default to 'Master'] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json, application/yaml, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
listConnObjects($key, $anyTypeKey, $xSyncopeDomain, $size, $connIdPagedResultsCookie, $orderby)
Returns a paged list of connector objects from external resource, for the given type, matching page/size conditions.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuthentication
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure HTTP basic authorization: Bearer
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new OpenEuropa\SyncopePhpClient\Api\ResourcesApi(
// 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
);
$key = 'key_example'; // string | name of resource to read connector object from
$anyTypeKey = 'anyTypeKey_example'; // string | any object type
$xSyncopeDomain = 'Master'; // string |
$size = 25; // int | query conditions
$connIdPagedResultsCookie = 'connIdPagedResultsCookie_example'; // string |
$orderby = 'orderby_example'; // string |
try {
$apiInstance->listConnObjects($key, $anyTypeKey, $xSyncopeDomain, $size, $connIdPagedResultsCookie, $orderby);
} catch (Exception $e) {
echo 'Exception when calling ResourcesApi->listConnObjects: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
key | string | name of resource to read connector object from | |
anyTypeKey | string | any object type | |
xSyncopeDomain | string | [default to 'Master'] | |
size | int | query conditions | [optional] [default to 25] |
connIdPagedResultsCookie | string | [optional] | |
orderby | string | [optional] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json, application/yaml, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
read23($key, $xSyncopeDomain)
Returns the resource with matching name.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuthentication
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure HTTP basic authorization: Bearer
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new OpenEuropa\SyncopePhpClient\Api\ResourcesApi(
// 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
);
$key = 'key_example'; // string | Name of resource to be read
$xSyncopeDomain = 'Master'; // string |
try {
$apiInstance->read23($key, $xSyncopeDomain);
} catch (Exception $e) {
echo 'Exception when calling ResourcesApi->read23: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
key | string | Name of resource to be read | |
xSyncopeDomain | string | [default to 'Master'] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json, application/yaml, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
readConnObject($key, $anyTypeKey, $anyKey, $xSyncopeDomain)
Returns connector object from the external resource, for the given type and key.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuthentication
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure HTTP basic authorization: Bearer
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new OpenEuropa\SyncopePhpClient\Api\ResourcesApi(
// 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
);
$key = 'key_example'; // string | name of resource to read connector object from
$anyTypeKey = 'anyTypeKey_example'; // string | any object type
$anyKey = 'anyKey_example'; // string | any object key
$xSyncopeDomain = 'Master'; // string |
try {
$apiInstance->readConnObject($key, $anyTypeKey, $anyKey, $xSyncopeDomain);
} catch (Exception $e) {
echo 'Exception when calling ResourcesApi->readConnObject: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
key | string | name of resource to read connector object from | |
anyTypeKey | string | any object type | |
anyKey | string | any object key | |
xSyncopeDomain | string | [default to 'Master'] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json, application/yaml, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
removeSyncToken($key, $anyTypeKey, $xSyncopeDomain)
Removes the sync token value associated to the given any type from the given resource.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuthentication
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure HTTP basic authorization: Bearer
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new OpenEuropa\SyncopePhpClient\Api\ResourcesApi(
// 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
);
$key = 'key_example'; // string | resource
$anyTypeKey = 'anyTypeKey_example'; // string | any type
$xSyncopeDomain = 'Master'; // string | name of resource to be deleted
try {
$apiInstance->removeSyncToken($key, $anyTypeKey, $xSyncopeDomain);
} catch (Exception $e) {
echo 'Exception when calling ResourcesApi->removeSyncToken: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
key | string | resource | |
anyTypeKey | string | any type | |
xSyncopeDomain | string | name of resource to be deleted | [default to 'Master'] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json, application/yaml, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
setLatestSyncToken($key, $anyTypeKey, $xSyncopeDomain)
Queries the connector underlying the given resource for the latest sync token value associated to the given any type and stores the value internally, for later usage.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuthentication
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure HTTP basic authorization: Bearer
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new OpenEuropa\SyncopePhpClient\Api\ResourcesApi(
// 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
);
$key = 'key_example'; // string | resource
$anyTypeKey = 'anyTypeKey_example'; // string | any type
$xSyncopeDomain = 'Master'; // string | resource
try {
$apiInstance->setLatestSyncToken($key, $anyTypeKey, $xSyncopeDomain);
} catch (Exception $e) {
echo 'Exception when calling ResourcesApi->setLatestSyncToken: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
key | string | resource | |
anyTypeKey | string | any type | |
xSyncopeDomain | string | resource | [default to 'Master'] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json, application/yaml, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
update1($key, $xSyncopeDomain, $resourceTO)
Updates the resource matching the given name.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuthentication
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure HTTP basic authorization: Bearer
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new OpenEuropa\SyncopePhpClient\Api\ResourcesApi(
// 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
);
$key = 'key_example'; // string | Resource's key
$xSyncopeDomain = 'Master'; // string | resource
$resourceTO = new \OpenEuropa\SyncopePhpClient\Model\ResourceTO(); // \OpenEuropa\SyncopePhpClient\Model\ResourceTO |
try {
$apiInstance->update1($key, $xSyncopeDomain, $resourceTO);
} catch (Exception $e) {
echo 'Exception when calling ResourcesApi->update1: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
key | string | Resource's key | |
xSyncopeDomain | string | resource | [default to 'Master'] |
resourceTO | \OpenEuropa\SyncopePhpClient\Model\ResourceTO |
void (empty response body)
- Content-Type: application/json, application/yaml, application/xml
- Accept: application/json, application/yaml, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]