Martin Andres Ares
02/13/2023, 9:47 AMdef post_request(_url_, _data_):
response = <http://requests.post|requests.post>(
_url_,
_data_=_data_,
_headers_={'Authorization': 'Bearer ' + auth_token,
'Content-type': 'application/json'}, _timeout_=30
)
result = post_request(
HOST_URL + '/api/v1/actions/workspaces/' + WORKSPACE_ID + '/export/visual',
_data_={
"dashboardId": DASHBOARD_ID,
"fileName": "export_test_01",
"metadata": {}
}
)
It's returning No API path found that matches request. Just in case some1 is wondering, token is good as I'm able to retrieve from endpoint '/api/v1/entities/workspaces' the workspaces, but when trying to perform the post above it's not working. I'm not exposing the variables used for obvious reasons.Moises Morales
02/13/2023, 11:29 AMJakub Vajda
02/13/2023, 11:32 AMvisual
command in API won't be available in CN-CE. We can expect it in some production versions soon but since you are on CN it is not reachable there.Martin Andres Ares
02/13/2023, 11:41 AMJakub Vajda
02/13/2023, 11:50 AMMartin Andres Ares
02/13/2023, 12:13 PMJakub Vajda
02/13/2023, 12:47 PMMartin Andres Ares
02/13/2023, 12:50 PM