Datasets API - Get Metadata - RequestedParts

The documentation for the dataset-get-metadata endpoint here indicates that the "requestedParts" parameter can be used to specify which parts of the metadata are needed in the response. However, the documentation does not indicate list of accepted values. The sample request below also indicates a different param named "part". Can someone confirm the accepted list of values for this parameter?
I'm looking to retrieve both columns metadata and beast-mode calculation field metadata with this call.
Best Answer
-
For that endpoint, I've always used the parameter
includeAllDetails=true
, instead of the parts that documentation mentions. However, that endpoint doesn't return columns or Beast Modes. For columns, use this endpoint:api/query/v1/datasources/<dataset_id>/schema/indexed?includeHidden=true
. For Beast Modes, use this endpoint:api/query/v1/functions/search
as a POST request with the following body:{
"name": "",
"filters": [
{
"field": "dataset",
"idList": [
"<dataset_id>"
]
},
{
"field": "notvariable"
}
],
"sort": {
"field": "name",
"ascending": true
},
"limit": 5000,
"offset": 0
}Was this comment helpful? Click Agree or Like below.
Did this comment solve your problem? Accept it as the solution!0
Answers
-
For that endpoint, I've always used the parameter
includeAllDetails=true
, instead of the parts that documentation mentions. However, that endpoint doesn't return columns or Beast Modes. For columns, use this endpoint:api/query/v1/datasources/<dataset_id>/schema/indexed?includeHidden=true
. For Beast Modes, use this endpoint:api/query/v1/functions/search
as a POST request with the following body:{
"name": "",
"filters": [
{
"field": "dataset",
"idList": [
"<dataset_id>"
]
},
{
"field": "notvariable"
}
],
"sort": {
"field": "name",
"ascending": true
},
"limit": 5000,
"offset": 0
}Was this comment helpful? Click Agree or Like below.
Did this comment solve your problem? Accept it as the solution!0
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Connect
- 1.3K Connectors
- 309 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 663 Datasets
- 119 SQL DataFlows
- 2.3K Magic ETL
- 823 Beast Mode
- Visualize
- 2.6K Charting
- 86 App Studio
- 46 Variables
- Automate
- 193 Apps
- 483 APIs & Domo Developer
- 86 Workflows
- 23 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 4 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 117 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 143 Governance & Security
- 11 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 116 Community Announcements
- 5K Archive