Version 4.0.24.10
Get the default color collection
Use this to retrieve the default Color Collection.
Set the default color collection with ColorCollection
Request
GET
/color_collections/default
Datatype
Description
Request
Response
200: ColorCollection
Datatype
Description
(object)
id
lock
Unique Id
label
Label of color collection
categoricalPalettes
Expand DiscretePalette definition...
id
lock
Unique identity string
label
Label for palette
type
Type of palette
colors
sequentialPalettes
Expand ContinuousPalette definition...
id
lock
Unique identity string
label
Label for palette
type
Type of palette
stops
Expand ColorStop definition...
color
CSS color string
offset
Offset in continuous palette (0 to 100)
divergingPalettes
Expand ContinuousPalette definition...
id
lock
Unique identity string
label
Label for palette
type
Type of palette
stops
Expand ColorStop definition...
color
CSS color string
offset
Offset in continuous palette (0 to 100)
400: Bad Request
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
404: Not Found
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
429: Too Many Requests
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
Examples
Kotlin
https://github.com/looker-open-source/sdk-codegen/blob/main/kotlin/src/test/TestSmoke.kt |
https://github.com/looker-open-source/sdk-codegen/blob/main/kotlin/src/test/TestSmoke.kt |
TypeScript
https://github.com/looker-open-source/sdk-codegen/blob/main/packages/sdk-node/test/methods.spec.ts |
https://github.com/looker-open-source/sdk-codegen/blob/main/packages/sdk-node/test/methods.spec.ts |
Python
https://github.com/looker-open-source/sdk-codegen/blob/main/python/tests/integration/test_methods.py |
Swift