All URIs are relative to https://insight.symphonyrm.com:19999/api/3.0
Method | HTTP request | Description |
---|---|---|
all_lookml_models | GET /lookml_models | Get All LookML Models |
create_lookml_model | POST /lookml_models | Create LookML Model |
delete_lookml_model | DELETE /lookml_models/{lookml_model_name} | Delete LookML Model |
lookml_model | GET /lookml_models/{lookml_model_name} | Get LookML Model |
lookml_model_explore | GET /lookml_models/{lookml_model_name}/explores/{explore_name} | Get LookML Model Explore |
update_lookml_model | PATCH /lookml_models/{lookml_model_name} | Update LookML Model |
list[LookmlModel] all_lookml_models(fields=fields)
Get All LookML Models
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.LookmlModelApi()
fields = 'fields_example' # str | Requested fields. (optional)
try:
# Get All LookML Models
api_response = api_instance.all_lookml_models(fields=fields)
pprint(api_response)
except ApiException as e:
print("Exception when calling LookmlModelApi->all_lookml_models: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
fields | str | 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]
LookmlModel create_lookml_model(body=body)
Create LookML Model
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.LookmlModelApi()
body = swagger_client.LookmlModel() # LookmlModel | LookML Model (optional)
try:
# Create LookML Model
api_response = api_instance.create_lookml_model(body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling LookmlModelApi->create_lookml_model: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | LookmlModel | LookML Model | [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]
str delete_lookml_model(lookml_model_name)
Delete LookML Model
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.LookmlModelApi()
lookml_model_name = 'lookml_model_name_example' # str | Name of lookml model.
try:
# Delete LookML Model
api_response = api_instance.delete_lookml_model(lookml_model_name)
pprint(api_response)
except ApiException as e:
print("Exception when calling LookmlModelApi->delete_lookml_model: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
lookml_model_name | str | Name of lookml model. |
str
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LookmlModel lookml_model(lookml_model_name, fields=fields)
Get LookML Model
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.LookmlModelApi()
lookml_model_name = 'lookml_model_name_example' # str | Name of lookml model.
fields = 'fields_example' # str | Requested fields. (optional)
try:
# Get LookML Model
api_response = api_instance.lookml_model(lookml_model_name, fields=fields)
pprint(api_response)
except ApiException as e:
print("Exception when calling LookmlModelApi->lookml_model: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
lookml_model_name | str | Name of lookml model. | |
fields | str | 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]
LookmlModelExplore lookml_model_explore(lookml_model_name, explore_name, fields=fields)
Get LookML Model Explore
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.LookmlModelApi()
lookml_model_name = 'lookml_model_name_example' # str | Name of lookml model.
explore_name = 'explore_name_example' # str | Name of explore.
fields = 'fields_example' # str | Requested fields. (optional)
try:
# Get LookML Model Explore
api_response = api_instance.lookml_model_explore(lookml_model_name, explore_name, fields=fields)
pprint(api_response)
except ApiException as e:
print("Exception when calling LookmlModelApi->lookml_model_explore: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
lookml_model_name | str | Name of lookml model. | |
explore_name | str | Name of explore. | |
fields | str | 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]
LookmlModel update_lookml_model(lookml_model_name, body)
Update LookML Model
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.LookmlModelApi()
lookml_model_name = 'lookml_model_name_example' # str | Name of lookml model.
body = swagger_client.LookmlModel() # LookmlModel | LookML Model
try:
# Update LookML Model
api_response = api_instance.update_lookml_model(lookml_model_name, body)
pprint(api_response)
except ApiException as e:
print("Exception when calling LookmlModelApi->update_lookml_model: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
lookml_model_name | str | Name of lookml model. | |
body | LookmlModel | LookML Model |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]