All URIs are relative to https://ethosce.looker.com:19999/api/3.1
Method | HTTP request | Description |
---|---|---|
allSpaces | GET /spaces | Get All Spaces |
createSpace | POST /spaces | Create Space |
deleteSpace | DELETE /spaces/{space_id} | Delete Space |
searchSpaces | GET /spaces/search | Search Spaces |
space | GET /spaces/{space_id} | Get Space |
spaceAncestors | GET /spaces/{space_id}/ancestors | Get Space Ancestors |
spaceChildren | GET /spaces/{space_id}/children | Get Space Children |
spaceChildrenSearch | GET /spaces/{space_id}/children/search | Search Space Children |
spaceDashboards | GET /spaces/{space_id}/dashboards | Get Space Dashboards |
spaceLooks | GET /spaces/{space_id}/looks | Get Space Looks |
spaceParent | GET /spaces/{space_id}/parent | Get Space Parent |
updateSpace | PATCH /spaces/{space_id} | Update Space |
\Looker\Model\SpaceBase[] allSpaces($fields)
Get All Spaces
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Looker\Api\SpaceApi(
// 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.
try {
$result = $apiInstance->allSpaces($fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SpaceApi->allSpaces: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
fields | string | Requested fields. | [optional] |
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\Space createSpace($body)
Create Space
Create a space with specified information. Caller must have permission to edit the parent space and to create spaces, otherwise the request returns 404 Not Found.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Looker\Api\SpaceApi(
// 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 \Looker\Model\Space(); // \Looker\Model\Space | Space
try {
$result = $apiInstance->createSpace($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SpaceApi->createSpace: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \Looker\Model\Space | Space | [optional] |
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 deleteSpace($space_id)
Delete Space
Delete the space with a specific id including any children spaces. DANGER this will delete all looks and dashboards in the space.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Looker\Api\SpaceApi(
// 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()
);
$space_id = "space_id_example"; // string | Id of space
try {
$result = $apiInstance->deleteSpace($space_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SpaceApi->deleteSpace: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
space_id | string | Id of space |
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]
\Looker\Model\Space[] searchSpaces($fields, $page, $per_page, $limit, $offset, $sorts, $name, $id, $parent_id, $creator_id)
Search Spaces
Search for spaces by creator id, parent id, name, etc
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Looker\Api\SpaceApi(
// 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.
$page = 789; // int | Requested page.
$per_page = 789; // int | Results per page.
$limit = 789; // int | Number of results to return. (used with offset and takes priority over page and per_page)
$offset = 789; // int | Number of results to skip before returning any. (used with limit and takes priority over page and per_page)
$sorts = "sorts_example"; // string | Fields to sort by.
$name = "name_example"; // string | Match Space title.
$id = 789; // int | Match Space id
$parent_id = "parent_id_example"; // string | Filter on a children of a particular space.
$creator_id = "creator_id_example"; // string | Filter on dashboards created by a particular user.
try {
$result = $apiInstance->searchSpaces($fields, $page, $per_page, $limit, $offset, $sorts, $name, $id, $parent_id, $creator_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SpaceApi->searchSpaces: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
fields | string | Requested fields. | [optional] |
page | int | Requested page. | [optional] |
per_page | int | Results per page. | [optional] |
limit | int | Number of results to return. (used with offset and takes priority over page and per_page) | [optional] |
offset | int | Number of results to skip before returning any. (used with limit and takes priority over page and per_page) | [optional] |
sorts | string | Fields to sort by. | [optional] |
name | string | Match Space title. | [optional] |
id | int | Match Space id | [optional] |
parent_id | string | Filter on a children of a particular space. | [optional] |
creator_id | string | Filter on dashboards created by a particular user. | [optional] |
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\Space space($space_id, $fields)
Get Space
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Looker\Api\SpaceApi(
// 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()
);
$space_id = "space_id_example"; // string | Id of space
$fields = "fields_example"; // string | Requested fields.
try {
$result = $apiInstance->space($space_id, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SpaceApi->space: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
space_id | string | Id of space | |
fields | string | Requested fields. | [optional] |
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\Space[] spaceAncestors($space_id, $fields)
Get Space Ancestors
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Looker\Api\SpaceApi(
// 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()
);
$space_id = "space_id_example"; // string | Id of space
$fields = "fields_example"; // string | Requested fields.
try {
$result = $apiInstance->spaceAncestors($space_id, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SpaceApi->spaceAncestors: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
space_id | string | Id of space | |
fields | string | Requested fields. | [optional] |
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\Space[] spaceChildren($space_id, $fields, $page, $per_page, $sorts)
Get Space Children
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Looker\Api\SpaceApi(
// 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()
);
$space_id = "space_id_example"; // string | Id of space
$fields = "fields_example"; // string | Requested fields.
$page = 789; // int | Requested page.
$per_page = 789; // int | Results per page.
$sorts = "sorts_example"; // string | Fields to sort by.
try {
$result = $apiInstance->spaceChildren($space_id, $fields, $page, $per_page, $sorts);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SpaceApi->spaceChildren: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
space_id | string | Id of space | |
fields | string | Requested fields. | [optional] |
page | int | Requested page. | [optional] |
per_page | int | Results per page. | [optional] |
sorts | string | Fields to sort by. | [optional] |
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\Space[] spaceChildrenSearch($space_id, $fields, $sorts, $name)
Search Space Children
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Looker\Api\SpaceApi(
// 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()
);
$space_id = "space_id_example"; // string | Id of space
$fields = "fields_example"; // string | Requested fields.
$sorts = "sorts_example"; // string | Fields to sort by.
$name = "name_example"; // string | Match Space name.
try {
$result = $apiInstance->spaceChildrenSearch($space_id, $fields, $sorts, $name);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SpaceApi->spaceChildrenSearch: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
space_id | string | Id of space | |
fields | string | Requested fields. | [optional] |
sorts | string | Fields to sort by. | [optional] |
name | string | Match Space name. | [optional] |
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\Dashboard[] spaceDashboards($space_id, $fields)
Get Space Dashboards
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Looker\Api\SpaceApi(
// 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()
);
$space_id = "space_id_example"; // string | Id of space
$fields = "fields_example"; // string | Requested fields.
try {
$result = $apiInstance->spaceDashboards($space_id, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SpaceApi->spaceDashboards: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
space_id | string | Id of space | |
fields | string | Requested fields. | [optional] |
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\LookWithQuery[] spaceLooks($space_id, $fields)
Get Space Looks
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Looker\Api\SpaceApi(
// 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()
);
$space_id = "space_id_example"; // string | Id of space
$fields = "fields_example"; // string | Requested fields.
try {
$result = $apiInstance->spaceLooks($space_id, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SpaceApi->spaceLooks: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
space_id | string | Id of space | |
fields | string | Requested fields. | [optional] |
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\Space spaceParent($space_id, $fields)
Get Space Parent
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Looker\Api\SpaceApi(
// 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()
);
$space_id = "space_id_example"; // string | Id of space
$fields = "fields_example"; // string | Requested fields.
try {
$result = $apiInstance->spaceParent($space_id, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SpaceApi->spaceParent: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
space_id | string | Id of space | |
fields | string | Requested fields. | [optional] |
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\Space updateSpace($space_id, $body)
Update Space
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Looker\Api\SpaceApi(
// 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()
);
$space_id = "space_id_example"; // string | Id of space
$body = new \Looker\Model\Space(); // \Looker\Model\Space | Space
try {
$result = $apiInstance->updateSpace($space_id, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SpaceApi->updateSpace: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
space_id | string | Id of space | |
body | \Looker\Model\Space | Space |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]