All URIs are relative to https://localhost:20000/api/3.1
Method | HTTP request | Description |
---|---|---|
allLookmlModels | GET /lookml_models | Get All LookML Models |
createLookmlModel | POST /lookml_models | Create LookML Model |
deleteLookmlModel | DELETE /lookml_models/{lookml_model_name} | Delete LookML Model |
lookmlModel | GET /lookml_models/{lookml_model_name} | Get LookML Model |
lookmlModelExplore | GET /lookml_models/{lookml_model_name}/explores/{explore_name} | Get LookML Model Explore |
updateLookmlModel | PATCH /lookml_models/{lookml_model_name} | Update LookML Model |
\Swagger\Client\Model\LookmlModel[] allLookmlModels($fields, $limit, $offset)
Get All LookML Models
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\LookmlModelApi(
// 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()
);
$fields = "fields_example"; // string | Requested fields.
$limit = 789; // int | Number of results to return. (can be used with offset)
$offset = 789; // int | Number of results to skip before returning any. (Defaults to 0 if not set when limit is used)
try {
$result = $apiInstance->allLookmlModels($fields, $limit, $offset);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LookmlModelApi->allLookmlModels: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
fields | string | Requested fields. | [optional] |
limit | int | Number of results to return. (can be used with offset) | [optional] |
offset | int | Number of results to skip before returning any. (Defaults to 0 if not set when limit is used) | [optional] |
\Swagger\Client\Model\LookmlModel[]
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\LookmlModel createLookmlModel($body)
Create LookML Model
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\LookmlModelApi(
// 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()
);
$body = new \Swagger\Client\Model\LookmlModel(); // \Swagger\Client\Model\LookmlModel | LookML Model
try {
$result = $apiInstance->createLookmlModel($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LookmlModelApi->createLookmlModel: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \Swagger\Client\Model\LookmlModel | LookML Model |
\Swagger\Client\Model\LookmlModel
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string deleteLookmlModel($lookml_model_name)
Delete LookML Model
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\LookmlModelApi(
// 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()
);
$lookml_model_name = "lookml_model_name_example"; // string | Name of lookml model.
try {
$result = $apiInstance->deleteLookmlModel($lookml_model_name);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LookmlModelApi->deleteLookmlModel: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
lookml_model_name | string | Name of lookml model. |
string
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\LookmlModel lookmlModel($lookml_model_name, $fields)
Get LookML Model
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\LookmlModelApi(
// 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()
);
$lookml_model_name = "lookml_model_name_example"; // string | Name of lookml model.
$fields = "fields_example"; // string | Requested fields.
try {
$result = $apiInstance->lookmlModel($lookml_model_name, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LookmlModelApi->lookmlModel: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
lookml_model_name | string | Name of lookml model. | |
fields | string | Requested fields. | [optional] |
\Swagger\Client\Model\LookmlModel
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\LookmlModelExplore lookmlModelExplore($lookml_model_name, $explore_name, $fields)
Get LookML Model Explore
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\LookmlModelApi(
// 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()
);
$lookml_model_name = "lookml_model_name_example"; // string | Name of lookml model.
$explore_name = "explore_name_example"; // string | Name of explore.
$fields = "fields_example"; // string | Requested fields.
try {
$result = $apiInstance->lookmlModelExplore($lookml_model_name, $explore_name, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LookmlModelApi->lookmlModelExplore: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
lookml_model_name | string | Name of lookml model. | |
explore_name | string | Name of explore. | |
fields | string | Requested fields. | [optional] |
\Swagger\Client\Model\LookmlModelExplore
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\LookmlModel updateLookmlModel($lookml_model_name, $body)
Update LookML Model
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\LookmlModelApi(
// 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()
);
$lookml_model_name = "lookml_model_name_example"; // string | Name of lookml model.
$body = new \Swagger\Client\Model\LookmlModel(); // \Swagger\Client\Model\LookmlModel | LookML Model
try {
$result = $apiInstance->updateLookmlModel($lookml_model_name, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LookmlModelApi->updateLookmlModel: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
lookml_model_name | string | Name of lookml model. | |
body | \Swagger\Client\Model\LookmlModel | LookML Model |
\Swagger\Client\Model\LookmlModel
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]