All URIs are relative to https://cloud.seatable.io, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| deleteDataCollectionForms() | DELETE /api/v2.1/admin/collection-tables/{collection_table_token}/ | Delete Data Collection Forms |
| deleteForm() | DELETE /api/v2.1/admin/forms/{form_token}/ | Delete Form |
| listDataCollectionForms() | GET /api/v2.1/admin/collection-tables/ | List Data Collection Forms |
| listForms() | GET /api/v2.1/admin/forms/ | List Forms |
deleteDataCollectionForms($collection_table_token): objectDelete Data Collection Forms
Delete a data collection table with its token. The token can be retrieved with the call List Data Collection Tables, or from the table's URL as its suffix.
<?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\FormsApi(
new GuzzleHttp\Client(),
$config
);
$collection_table_token = 12345678-d378-4c12-8d7a-6da0fb48ee83; // string | The token of the collection table.
try {
$result = $apiInstance->deleteDataCollectionForms($collection_table_token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FormsApi->deleteDataCollectionForms: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| collection_table_token | string | The token of the collection table. |
object
AccountTokenAuth
deleteForm($form_token): objectDelete Form
Delete a form with its token. Get a form's token with the call List Forms.
<?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\FormsApi(
new GuzzleHttp\Client(),
$config
);
$form_token = 12345678-d378-4c12-8d7a-6da0fb48ee83; // string | The token of the form.
try {
$result = $apiInstance->deleteForm($form_token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FormsApi->deleteForm: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| form_token | string | The token of the form. |
object
AccountTokenAuth
listDataCollectionForms(): objectList Data Collection Forms
List all the data collection forms generated 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\FormsApi(
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->listDataCollectionForms();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FormsApi->listDataCollectionForms: ', $e->getMessage(), PHP_EOL;
}This endpoint does not need any parameter.
object
AccountTokenAuth
listForms(): objectList Forms
List all the forms in the current system. The returned id value is the ID of the form, and the token is the form's token.
<?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\FormsApi(
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->listForms();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FormsApi->listForms: ', $e->getMessage(), PHP_EOL;
}This endpoint does not need any parameter.
object
AccountTokenAuth