SeaTable\Client\ActivitiesLogsApi¶
All URIs are relative to https://cloud.seatable.io, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
getBaseActivities() | GET /api/v2.1/dtable-activities/ | Get Base Activities |
getBaseActivityDetails() | GET /api/v2.1/dtable-activities/detail | Get Base Activity Details |
getBaseActivities()
¶
Get Base Activities
List the user's base activities in the past week.
Example¶
<?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\User\ActivitiesLogsApi(
new GuzzleHttp\Client(),
$config
);
$page = 1; // int
$per_page = 2; // int
$to_tz = +08:00; // string
try {
$result = $apiInstance->getBaseActivities($page, $per_page, $to_tz);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ActivitiesLogsApi->getBaseActivities: ', $e->getMessage(), PHP_EOL;
}
Parameters¶
Name | Type | Description | Notes |
---|---|---|---|
page | int | [optional] | |
per_page | int | [optional] | |
to_tz | string | [optional] |
Return type¶
object
Authorization¶
AccountTokenAuth
getBaseActivityDetails()
¶
Get Base Activity Details
List all activities of one specific base.
Example¶
<?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\User\ActivitiesLogsApi(
new GuzzleHttp\Client(),
$config
);
$dtable_uuid = 5c264e76-0e5a-448a-9f34-580b551364ca; // string | The unique identifier of a base. Sometimes also called dtable_uuid.
$op_date = 2023-05-25T10:06:39+08:00; // string
$page = 1; // int
$per_page = 2; // int
try {
$result = $apiInstance->getBaseActivityDetails($dtable_uuid, $op_date, $page, $per_page);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ActivitiesLogsApi->getBaseActivityDetails: ', $e->getMessage(), PHP_EOL;
}
Parameters¶
Name | Type | Description | Notes |
---|---|---|---|
dtable_uuid | string | The unique identifier of a base. Sometimes also called dtable_uuid. | |
op_date | string | ||
page | int | [optional] | |
per_page | int | [optional] |
Return type¶
object
Authorization¶
AccountTokenAuth