All URIs are relative to https://cloud.seatable.io, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| deleteInvalidSync() | DELETE /api/v2.1/admin/common-dataset/sync/{sync_id}/ | Delete Invalid Sync |
| deleteInvalidSyncs() | DELETE /api/v2.1/admin/common-dataset/invalid-syncs/ | Delete Invalid Syncs |
| listCommonDataset() | GET /api/v2.1/admin/common-datasets/ | List Common Dataset |
| listCommonDatasetSyncs() | GET /api/v2.1/admin/common-dataset/periodical-syncs/ | List Common Dataset Syncs |
| listInvalidSyncs() | GET /api/v2.1/admin/common-dataset/invalid-syncs/ | List Invalid Syncs |
deleteInvalidSync($sync_id): objectDelete Invalid Sync
Delete an invalid common dataset synchronization configuration with its ID retrieved from the previous request.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: AccountTokenAuth (use the right token for your request)
$config = SeaTable\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_TOKEN');
$apiInstance = new SeaTable\Client\SysAdmin\CommonDatasetApi(
new GuzzleHttp\Client(),
$config
);
$sync_id = 2; // int | The ID of the invalid synchronization, retrievable from the previous call.
try {
$result = $apiInstance->deleteInvalidSync($sync_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CommonDatasetApi->deleteInvalidSync: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| sync_id | int | The ID of the invalid synchronization, retrievable from the previous call. |
object
AccountTokenAuth
deleteInvalidSyncs(): objectDelete Invalid Syncs
Use this request to delete all invalid common dataset synchronization configurations at once.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: AccountTokenAuth (use the right token for your request)
$config = SeaTable\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_TOKEN');
$apiInstance = new SeaTable\Client\SysAdmin\CommonDatasetApi(
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->deleteInvalidSyncs();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CommonDatasetApi->deleteInvalidSyncs: ', $e->getMessage(), PHP_EOL;
}This endpoint does not need any parameter.
object
AccountTokenAuth
listCommonDataset($page, $per_page): objectList Common Dataset
List all the common datasets in the current system. In the response, you can see * The name of the common datasets, * The source base's name, * The creator's name, and * The time of the creation.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: AccountTokenAuth (use the right token for your request)
$config = SeaTable\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_TOKEN');
$apiInstance = new SeaTable\Client\SysAdmin\CommonDatasetApi(
new GuzzleHttp\Client(),
$config
);
$page = 1; // int | The page number you want to start showing the entries. If no value is provided, 1 will be used.
$per_page = 25; // int | The number of results that should be returned. If no value is provided, 25 results will be returned.
try {
$result = $apiInstance->listCommonDataset($page, $per_page);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CommonDatasetApi->listCommonDataset: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| page | int | The page number you want to start showing the entries. If no value is provided, 1 will be used. | [optional] |
| per_page | int | The number of results that should be returned. If no value is provided, 25 results will be returned. | [optional] |
object
AccountTokenAuth
listCommonDatasetSyncs($page, $per_page): objectList Common Dataset Syncs
Use this request to explicitly list off the periodically synchronized common datasets in the system.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: AccountTokenAuth (use the right token for your request)
$config = SeaTable\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_TOKEN');
$apiInstance = new SeaTable\Client\SysAdmin\CommonDatasetApi(
new GuzzleHttp\Client(),
$config
);
$page = 1; // int | The page number you want to start showing the entries. If no value is provided, 1 will be used.
$per_page = 25; // int | The number of results that should be returned. If no value is provided, 25 results will be returned.
try {
$result = $apiInstance->listCommonDatasetSyncs($page, $per_page);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CommonDatasetApi->listCommonDatasetSyncs: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| page | int | The page number you want to start showing the entries. If no value is provided, 1 will be used. | [optional] |
| per_page | int | The number of results that should be returned. If no value is provided, 25 results will be returned. | [optional] |
object
AccountTokenAuth
listInvalidSyncs($page, $per_page): objectList Invalid Syncs
In some cases, a common dataset synchronization configuration becomes invalid. Such cases happen when, for example, the source or destination tables are deleted. Use this request to list off all the invalid common dataset synchronization configurations in the system.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: AccountTokenAuth (use the right token for your request)
$config = SeaTable\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_TOKEN');
$apiInstance = new SeaTable\Client\SysAdmin\CommonDatasetApi(
new GuzzleHttp\Client(),
$config
);
$page = 1; // int | The page number you want to start showing the entries. If no value is provided, 1 will be used.
$per_page = 25; // int | The number of results that should be returned. If no value is provided, 25 results will be returned.
try {
$result = $apiInstance->listInvalidSyncs($page, $per_page);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CommonDatasetApi->listInvalidSyncs: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| page | int | The page number you want to start showing the entries. If no value is provided, 1 will be used. | [optional] |
| per_page | int | The number of results that should be returned. If no value is provided, 25 results will be returned. | [optional] |
object
AccountTokenAuth