cube icon indicating copy to clipboard operation
cube copied to clipboard

Get cube metadata with data_source field

Open pramodka-revefi opened this issue 1 year ago • 2 comments

Problem

We use cubeJS with multiple data_sources and I'm trying to get a list of all the defined cubes (names) and their data_sources. The /v1/meta API exposes the metadata of cubes but doesn't include the data_source field.

I've tried the /v1/meta?extended API as well

Is there another way to get this information? If not would this be the right API to add this information to?

pramodka-revefi avatar Aug 22 '24 22:08 pramodka-revefi

@paveltiunov @MikeNitsenko I see that data_sources used to be a part of this API but was removed in this PR: https://github.com/cube-js/cube/pull/5785. There's no explanation on the PR, can you help me understand why it was removed?

pramodka-revefi avatar Aug 22 '24 22:08 pramodka-revefi

Hi @pramodka-revefi 👋

Could you please explain your use case?

I'm trying to get a list of all the defined cubes (names) and their data_sources.

What do you need this information for? How would you like to use it?

igorlukanin avatar Aug 23 '24 10:08 igorlukanin

Closing due to inactivity. Please feel free to reopen.

igorlukanin avatar Nov 12 '24 10:11 igorlukanin