All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
create_entity_color_palettes | POST /api/v1/entities/colorPalettes | Post Color Pallettes |
create_entity_themes | POST /api/v1/entities/themes | Post Theming |
delete_entity_color_palettes | DELETE /api/v1/entities/colorPalettes/{id} | Delete a Color Pallette |
delete_entity_themes | DELETE /api/v1/entities/themes/{id} | Delete Theming |
get_all_entities_color_palettes | GET /api/v1/entities/colorPalettes | Get all Color Pallettes |
get_all_entities_themes | GET /api/v1/entities/themes | Get all Theming entities |
get_entity_color_palettes | GET /api/v1/entities/colorPalettes/{id} | Get Color Pallette |
get_entity_themes | GET /api/v1/entities/themes/{id} | Get Theming |
patch_entity_color_palettes | PATCH /api/v1/entities/colorPalettes/{id} | Patch Color Pallette |
patch_entity_themes | PATCH /api/v1/entities/themes/{id} | Patch Theming |
update_entity_color_palettes | PUT /api/v1/entities/colorPalettes/{id} | Put Color Pallette |
update_entity_themes | PUT /api/v1/entities/themes/{id} | Put Theming |
JsonApiColorPaletteOutDocument create_entity_color_palettes(json_api_color_palette_in_document)
Post Color Pallettes
import time
import gooddata_api_client
from gooddata_api_client.api import appearance_api
from gooddata_api_client.model.json_api_color_palette_in_document import JsonApiColorPaletteInDocument
from gooddata_api_client.model.json_api_color_palette_out_document import JsonApiColorPaletteOutDocument
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = gooddata_api_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with gooddata_api_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = appearance_api.AppearanceApi(api_client)
json_api_color_palette_in_document = JsonApiColorPaletteInDocument(
data=JsonApiColorPaletteIn(
attributes=JsonApiColorPaletteInAttributes(
content={},
name="name_example",
),
id="id1",
type="colorPalette",
),
) # JsonApiColorPaletteInDocument |
# example passing only required values which don't have defaults set
try:
# Post Color Pallettes
api_response = api_instance.create_entity_color_palettes(json_api_color_palette_in_document)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling AppearanceApi->create_entity_color_palettes: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
json_api_color_palette_in_document | JsonApiColorPaletteInDocument |
JsonApiColorPaletteOutDocument
No authorization required
- Content-Type: application/vnd.gooddata.api+json
- Accept: application/vnd.gooddata.api+json
Status code | Description | Response headers |
---|---|---|
201 | Request successfully processed | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JsonApiThemeOutDocument create_entity_themes(json_api_theme_in_document)
Post Theming
import time
import gooddata_api_client
from gooddata_api_client.api import appearance_api
from gooddata_api_client.model.json_api_theme_in_document import JsonApiThemeInDocument
from gooddata_api_client.model.json_api_theme_out_document import JsonApiThemeOutDocument
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = gooddata_api_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with gooddata_api_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = appearance_api.AppearanceApi(api_client)
json_api_theme_in_document = JsonApiThemeInDocument(
data=JsonApiThemeIn(
attributes=JsonApiColorPaletteInAttributes(
content={},
name="name_example",
),
id="id1",
type="theme",
),
) # JsonApiThemeInDocument |
# example passing only required values which don't have defaults set
try:
# Post Theming
api_response = api_instance.create_entity_themes(json_api_theme_in_document)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling AppearanceApi->create_entity_themes: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
json_api_theme_in_document | JsonApiThemeInDocument |
No authorization required
- Content-Type: application/vnd.gooddata.api+json
- Accept: application/vnd.gooddata.api+json
Status code | Description | Response headers |
---|---|---|
201 | Request successfully processed | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_entity_color_palettes(id)
Delete a Color Pallette
import time
import gooddata_api_client
from gooddata_api_client.api import appearance_api
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = gooddata_api_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with gooddata_api_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = appearance_api.AppearanceApi(api_client)
id = "/6bUUGjjNSwg0_bs" # str |
filter = "filter=name==someString;content==JsonNodeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional)
# example passing only required values which don't have defaults set
try:
# Delete a Color Pallette
api_instance.delete_entity_color_palettes(id)
except gooddata_api_client.ApiException as e:
print("Exception when calling AppearanceApi->delete_entity_color_palettes: %s\n" % e)
# example passing only required values which don't have defaults set
# and optional values
try:
# Delete a Color Pallette
api_instance.delete_entity_color_palettes(id, filter=filter)
except gooddata_api_client.ApiException as e:
print("Exception when calling AppearanceApi->delete_entity_color_palettes: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | ||
filter | str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | Successfully deleted | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_entity_themes(id)
Delete Theming
import time
import gooddata_api_client
from gooddata_api_client.api import appearance_api
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = gooddata_api_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with gooddata_api_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = appearance_api.AppearanceApi(api_client)
id = "/6bUUGjjNSwg0_bs" # str |
filter = "filter=name==someString;content==JsonNodeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional)
# example passing only required values which don't have defaults set
try:
# Delete Theming
api_instance.delete_entity_themes(id)
except gooddata_api_client.ApiException as e:
print("Exception when calling AppearanceApi->delete_entity_themes: %s\n" % e)
# example passing only required values which don't have defaults set
# and optional values
try:
# Delete Theming
api_instance.delete_entity_themes(id, filter=filter)
except gooddata_api_client.ApiException as e:
print("Exception when calling AppearanceApi->delete_entity_themes: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | ||
filter | str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | Successfully deleted | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JsonApiColorPaletteOutList get_all_entities_color_palettes()
Get all Color Pallettes
import time
import gooddata_api_client
from gooddata_api_client.api import appearance_api
from gooddata_api_client.model.json_api_color_palette_out_list import JsonApiColorPaletteOutList
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = gooddata_api_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with gooddata_api_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = appearance_api.AppearanceApi(api_client)
filter = "filter=name==someString;content==JsonNodeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional)
page = 0 # int | Zero-based page index (0..N) (optional) if omitted the server will use the default value of 0
size = 20 # int | The size of the page to be returned (optional) if omitted the server will use the default value of 20
sort = [
"sort_example",
] # [str] | Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional)
meta_include = [
"metaInclude=page,all",
] # [str] | Include Meta objects. (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
# Get all Color Pallettes
api_response = api_instance.get_all_entities_color_palettes(filter=filter, page=page, size=size, sort=sort, meta_include=meta_include)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling AppearanceApi->get_all_entities_color_palettes: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
filter | str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] |
page | int | Zero-based page index (0..N) | [optional] if omitted the server will use the default value of 0 |
size | int | The size of the page to be returned | [optional] if omitted the server will use the default value of 20 |
sort | [str] | Sorting criteria in the format: property,(asc | desc). Default sort order is ascending. Multiple sort criteria are supported. |
meta_include | [str] | Include Meta objects. | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/vnd.gooddata.api+json
Status code | Description | Response headers |
---|---|---|
200 | Request successfully processed | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JsonApiThemeOutList get_all_entities_themes()
Get all Theming entities
import time
import gooddata_api_client
from gooddata_api_client.api import appearance_api
from gooddata_api_client.model.json_api_theme_out_list import JsonApiThemeOutList
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = gooddata_api_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with gooddata_api_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = appearance_api.AppearanceApi(api_client)
filter = "filter=name==someString;content==JsonNodeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional)
page = 0 # int | Zero-based page index (0..N) (optional) if omitted the server will use the default value of 0
size = 20 # int | The size of the page to be returned (optional) if omitted the server will use the default value of 20
sort = [
"sort_example",
] # [str] | Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional)
meta_include = [
"metaInclude=page,all",
] # [str] | Include Meta objects. (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
# Get all Theming entities
api_response = api_instance.get_all_entities_themes(filter=filter, page=page, size=size, sort=sort, meta_include=meta_include)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling AppearanceApi->get_all_entities_themes: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
filter | str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] |
page | int | Zero-based page index (0..N) | [optional] if omitted the server will use the default value of 0 |
size | int | The size of the page to be returned | [optional] if omitted the server will use the default value of 20 |
sort | [str] | Sorting criteria in the format: property,(asc | desc). Default sort order is ascending. Multiple sort criteria are supported. |
meta_include | [str] | Include Meta objects. | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/vnd.gooddata.api+json
Status code | Description | Response headers |
---|---|---|
200 | Request successfully processed | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JsonApiColorPaletteOutDocument get_entity_color_palettes(id)
Get Color Pallette
import time
import gooddata_api_client
from gooddata_api_client.api import appearance_api
from gooddata_api_client.model.json_api_color_palette_out_document import JsonApiColorPaletteOutDocument
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = gooddata_api_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with gooddata_api_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = appearance_api.AppearanceApi(api_client)
id = "/6bUUGjjNSwg0_bs" # str |
filter = "filter=name==someString;content==JsonNodeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional)
# example passing only required values which don't have defaults set
try:
# Get Color Pallette
api_response = api_instance.get_entity_color_palettes(id)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling AppearanceApi->get_entity_color_palettes: %s\n" % e)
# example passing only required values which don't have defaults set
# and optional values
try:
# Get Color Pallette
api_response = api_instance.get_entity_color_palettes(id, filter=filter)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling AppearanceApi->get_entity_color_palettes: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | ||
filter | str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] |
JsonApiColorPaletteOutDocument
No authorization required
- Content-Type: Not defined
- Accept: application/vnd.gooddata.api+json
Status code | Description | Response headers |
---|---|---|
200 | Request successfully processed | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JsonApiThemeOutDocument get_entity_themes(id)
Get Theming
import time
import gooddata_api_client
from gooddata_api_client.api import appearance_api
from gooddata_api_client.model.json_api_theme_out_document import JsonApiThemeOutDocument
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = gooddata_api_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with gooddata_api_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = appearance_api.AppearanceApi(api_client)
id = "/6bUUGjjNSwg0_bs" # str |
filter = "filter=name==someString;content==JsonNodeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional)
# example passing only required values which don't have defaults set
try:
# Get Theming
api_response = api_instance.get_entity_themes(id)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling AppearanceApi->get_entity_themes: %s\n" % e)
# example passing only required values which don't have defaults set
# and optional values
try:
# Get Theming
api_response = api_instance.get_entity_themes(id, filter=filter)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling AppearanceApi->get_entity_themes: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | ||
filter | str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/vnd.gooddata.api+json
Status code | Description | Response headers |
---|---|---|
200 | Request successfully processed | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JsonApiColorPaletteOutDocument patch_entity_color_palettes(id, json_api_color_palette_patch_document)
Patch Color Pallette
import time
import gooddata_api_client
from gooddata_api_client.api import appearance_api
from gooddata_api_client.model.json_api_color_palette_patch_document import JsonApiColorPalettePatchDocument
from gooddata_api_client.model.json_api_color_palette_out_document import JsonApiColorPaletteOutDocument
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = gooddata_api_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with gooddata_api_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = appearance_api.AppearanceApi(api_client)
id = "/6bUUGjjNSwg0_bs" # str |
json_api_color_palette_patch_document = JsonApiColorPalettePatchDocument(
data=JsonApiColorPalettePatch(
attributes=JsonApiColorPalettePatchAttributes(
content={},
name="name_example",
),
id="id1",
type="colorPalette",
),
) # JsonApiColorPalettePatchDocument |
filter = "filter=name==someString;content==JsonNodeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional)
# example passing only required values which don't have defaults set
try:
# Patch Color Pallette
api_response = api_instance.patch_entity_color_palettes(id, json_api_color_palette_patch_document)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling AppearanceApi->patch_entity_color_palettes: %s\n" % e)
# example passing only required values which don't have defaults set
# and optional values
try:
# Patch Color Pallette
api_response = api_instance.patch_entity_color_palettes(id, json_api_color_palette_patch_document, filter=filter)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling AppearanceApi->patch_entity_color_palettes: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | ||
json_api_color_palette_patch_document | JsonApiColorPalettePatchDocument | ||
filter | str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] |
JsonApiColorPaletteOutDocument
No authorization required
- Content-Type: application/vnd.gooddata.api+json
- Accept: application/vnd.gooddata.api+json
Status code | Description | Response headers |
---|---|---|
200 | Request successfully processed | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JsonApiThemeOutDocument patch_entity_themes(id, json_api_theme_patch_document)
Patch Theming
import time
import gooddata_api_client
from gooddata_api_client.api import appearance_api
from gooddata_api_client.model.json_api_theme_patch_document import JsonApiThemePatchDocument
from gooddata_api_client.model.json_api_theme_out_document import JsonApiThemeOutDocument
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = gooddata_api_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with gooddata_api_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = appearance_api.AppearanceApi(api_client)
id = "/6bUUGjjNSwg0_bs" # str |
json_api_theme_patch_document = JsonApiThemePatchDocument(
data=JsonApiThemePatch(
attributes=JsonApiColorPalettePatchAttributes(
content={},
name="name_example",
),
id="id1",
type="theme",
),
) # JsonApiThemePatchDocument |
filter = "filter=name==someString;content==JsonNodeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional)
# example passing only required values which don't have defaults set
try:
# Patch Theming
api_response = api_instance.patch_entity_themes(id, json_api_theme_patch_document)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling AppearanceApi->patch_entity_themes: %s\n" % e)
# example passing only required values which don't have defaults set
# and optional values
try:
# Patch Theming
api_response = api_instance.patch_entity_themes(id, json_api_theme_patch_document, filter=filter)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling AppearanceApi->patch_entity_themes: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | ||
json_api_theme_patch_document | JsonApiThemePatchDocument | ||
filter | str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] |
No authorization required
- Content-Type: application/vnd.gooddata.api+json
- Accept: application/vnd.gooddata.api+json
Status code | Description | Response headers |
---|---|---|
200 | Request successfully processed | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JsonApiColorPaletteOutDocument update_entity_color_palettes(id, json_api_color_palette_in_document)
Put Color Pallette
import time
import gooddata_api_client
from gooddata_api_client.api import appearance_api
from gooddata_api_client.model.json_api_color_palette_in_document import JsonApiColorPaletteInDocument
from gooddata_api_client.model.json_api_color_palette_out_document import JsonApiColorPaletteOutDocument
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = gooddata_api_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with gooddata_api_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = appearance_api.AppearanceApi(api_client)
id = "/6bUUGjjNSwg0_bs" # str |
json_api_color_palette_in_document = JsonApiColorPaletteInDocument(
data=JsonApiColorPaletteIn(
attributes=JsonApiColorPaletteInAttributes(
content={},
name="name_example",
),
id="id1",
type="colorPalette",
),
) # JsonApiColorPaletteInDocument |
filter = "filter=name==someString;content==JsonNodeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional)
# example passing only required values which don't have defaults set
try:
# Put Color Pallette
api_response = api_instance.update_entity_color_palettes(id, json_api_color_palette_in_document)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling AppearanceApi->update_entity_color_palettes: %s\n" % e)
# example passing only required values which don't have defaults set
# and optional values
try:
# Put Color Pallette
api_response = api_instance.update_entity_color_palettes(id, json_api_color_palette_in_document, filter=filter)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling AppearanceApi->update_entity_color_palettes: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | ||
json_api_color_palette_in_document | JsonApiColorPaletteInDocument | ||
filter | str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] |
JsonApiColorPaletteOutDocument
No authorization required
- Content-Type: application/vnd.gooddata.api+json
- Accept: application/vnd.gooddata.api+json
Status code | Description | Response headers |
---|---|---|
200 | Request successfully processed | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JsonApiThemeOutDocument update_entity_themes(id, json_api_theme_in_document)
Put Theming
import time
import gooddata_api_client
from gooddata_api_client.api import appearance_api
from gooddata_api_client.model.json_api_theme_in_document import JsonApiThemeInDocument
from gooddata_api_client.model.json_api_theme_out_document import JsonApiThemeOutDocument
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = gooddata_api_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with gooddata_api_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = appearance_api.AppearanceApi(api_client)
id = "/6bUUGjjNSwg0_bs" # str |
json_api_theme_in_document = JsonApiThemeInDocument(
data=JsonApiThemeIn(
attributes=JsonApiColorPaletteInAttributes(
content={},
name="name_example",
),
id="id1",
type="theme",
),
) # JsonApiThemeInDocument |
filter = "filter=name==someString;content==JsonNodeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional)
# example passing only required values which don't have defaults set
try:
# Put Theming
api_response = api_instance.update_entity_themes(id, json_api_theme_in_document)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling AppearanceApi->update_entity_themes: %s\n" % e)
# example passing only required values which don't have defaults set
# and optional values
try:
# Put Theming
api_response = api_instance.update_entity_themes(id, json_api_theme_in_document, filter=filter)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling AppearanceApi->update_entity_themes: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | ||
json_api_theme_in_document | JsonApiThemeInDocument | ||
filter | str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] |
No authorization required
- Content-Type: application/vnd.gooddata.api+json
- Accept: application/vnd.gooddata.api+json
Status code | Description | Response headers |
---|---|---|
200 | Request successfully processed | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]