superset icon indicating copy to clipboard operation
superset copied to clipboard

New endpoint for Slice without redirect

Open mistercrunch opened this issue 9 years ago • 1 comments

In an effort to get rid of long URLs with endoded JSON, create a new endpoint @ /superset/slice/<slice_id>/. Might need to refactor out what is common between /superset/explore and this new endpoint.

Should support overriding of slices formData in the form URLEndode(/superset/slice/<slice_id>/?form_data={"foo": "bar"})

mistercrunch avatar Jun 01 '17 18:06 mistercrunch

This would be very helpful. Will you be able to override just one element of the form_data or will you need to send the whole json. for example: http://localhost:8088/superset/slice/2/?form_data={"filters": [{"col":"job_start_time", "op":">=", "val":"2017-08-01"}, {"col":"job_start_time", "op":"<=", "val":"2017-10-30"}]}&standalone=true This would only override the filters.

jxb45 avatar Sep 11 '17 16:09 jxb45