All URIs are relative to https://cloud.seatable.io, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| deleteBaseExternalLink() | DELETE /api/v2.1/admin/external-links/{external_link_token}/ | Delete Base External Link |
| deleteViewExternalLink() | DELETE /api/v2.1/admin/view-external-links/{view_external_link_token}/ | Delete View External Link |
| listBaseExternalLinks() | GET /api/v2.1/admin/dtable/{base_id}/external-links/ | List Base External Links |
| listExternalLinks() | GET /api/v2.1/admin/external-links/ | List External Links |
| listViewExternalLinks() | GET /api/v2.1/admin/view-external-links/ | List View External Links |
deleteBaseExternalLink($external_link_token): objectDelete Base External Link
A base external link can be deleted by its 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\SharingLinksApi(
new GuzzleHttp\Client(),
$config
);
$external_link_token = fleischkaesebroetchen; // string | The token of the external link.
try {
$result = $apiInstance->deleteBaseExternalLink($external_link_token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SharingLinksApi->deleteBaseExternalLink: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| external_link_token | string | The token of the external link. |
object
AccountTokenAuth
deleteViewExternalLink($view_external_link_token): objectDelete View External Link
Delete a view external link with its 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\SharingLinksApi(
new GuzzleHttp\Client(),
$config
);
$view_external_link_token = 1f0447eab4df4343ab6d; // string | The token of the view external link.
try {
$result = $apiInstance->deleteViewExternalLink($view_external_link_token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SharingLinksApi->deleteViewExternalLink: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| view_external_link_token | string | The token of the view external link. |
object
AccountTokenAuth
listBaseExternalLinks($base_id): objectList Base External Links
List all the external links and view external links of a base. For this request, you'll need the base's base_id, which is to be distinguished from the base's base_uuid. You can retrieve a base's base_id with the API request e.g. List User's Bases.
<?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\SharingLinksApi(
new GuzzleHttp\Client(),
$config
);
$base_id = 123; // string | The id of the base. This is not the base_uuid.
try {
$result = $apiInstance->listBaseExternalLinks($base_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SharingLinksApi->listBaseExternalLinks: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| base_id | string | The id of the base. This is not the base_uuid. |
object
AccountTokenAuth
listExternalLinks($page, $per_page): objectList External Links
List all the base external links generated in the system. In the returned objects, you can see the creator of the links, and how many times these links have been viewed.
<?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\SharingLinksApi(
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->listExternalLinks($page, $per_page);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SharingLinksApi->listExternalLinks: ', $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
listViewExternalLinks(): objectList View External Links
Use this request to list all the view external links generated in the current 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\SharingLinksApi(
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->listViewExternalLinks();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SharingLinksApi->listViewExternalLinks: ', $e->getMessage(), PHP_EOL;
}This endpoint does not need any parameter.
object
AccountTokenAuth