Hey y'all. Has anyone else noticed that

Hey y'all. Has anyone else noticed that, when using the REST API V2's metadata search endpoint, it only returns information about liveboards, even when you specify a different object type (e.g. LOGICAL_TABLE)? Note that I have set the record_size=-1 and record_offset=0 per the API docs.
1 Reply
Sandeep
Sandeep7mo ago
Hello @Joe K : Could you please confirm the request payload and confirm the release version where you are experiencing this issue. This can happen only when the request payload is incorrect, if you can try the same via Develop -> Rest Playground v2.0 -> Metadata -> Metadata Search API By default if no type is specified it fetches the Liveboards Sample CURL Command: curl -X POST \ --url 'https://hostname/api/rest/2.0/metadata/search' \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer xxxxx' \ --data-raw '{ "dependent_object_version": "V1", "include_auto_created_objects": false, "include_dependent_objects": false, "dependent_objects_record_size": 50, "include_details": false, "include_headers": true, "include_hidden_objects": false, "include_incomplete_objects": false, "include_visualization_headers": false, "record_offset": 0, "record_size": 10, "include_stats": false, "metadata": [ { "type": "LOGICAL_TABLE" } ] }'

Did you find this page helpful?