All URIs are relative to https://ethosce.looker.com:19999/api/3.1
Method | HTTP request | Description |
---|---|---|
allDatagroups | GET /datagroups | Get All Datagroups |
datagroup | GET /datagroups/{datagroup_id} | Get Datagroup |
updateDatagroup | PATCH /datagroups/{datagroup_id} | Update Datagroup |
\Looker\Model\Datagroup[] allDatagroups()
Get All Datagroups
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Looker\Api\DatagroupApi(
// 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()
);
try {
$result = $apiInstance->allDatagroups();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DatagroupApi->allDatagroups: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Looker\Model\Datagroup datagroup($datagroup_id)
Get Datagroup
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Looker\Api\DatagroupApi(
// 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()
);
$datagroup_id = "datagroup_id_example"; // string | ID of datagroup.
try {
$result = $apiInstance->datagroup($datagroup_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DatagroupApi->datagroup: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
datagroup_id | string | ID of datagroup. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Looker\Model\Datagroup updateDatagroup($datagroup_id, $body)
Update Datagroup
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Looker\Api\DatagroupApi(
// 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()
);
$datagroup_id = "datagroup_id_example"; // string | ID of datagroup.
$body = new \Looker\Model\Datagroup(); // \Looker\Model\Datagroup | Datagroup
try {
$result = $apiInstance->updateDatagroup($datagroup_id, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DatagroupApi->updateDatagroup: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
datagroup_id | string | ID of datagroup. | |
body | \Looker\Model\Datagroup | Datagroup |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]