salesforce-analytics-dashboard-create-api-expects-flat-json

POST /analytics/dashboards expects a flat JSON metadata object directly in the request body. Wrapping the payload under a dashboardMetadata key causes a 400 error. The API is underdocumented on this; the correct pattern is to pass the metadata dict directly via conn.restful(‘analytics/dashboards’, method=‘POST’, json=metadata).