Skip to content
Snippets Groups Projects
Unverified Commit 288f2b5d authored by Kyle Doherty's avatar Kyle Doherty
Browse files

clean up requests to use optional params

parent e40b9cbc
No related branches found
No related tags found
No related merge requests found
......@@ -134,8 +134,8 @@ export const MetabaseApi = {
export const XRayApi = {
// X-Rays
field_fingerprint: GET("api/fingerprint/field/:fieldId/:max_query_cost/:max_computation_cost"),
table_fingerprint: GET("api/fingerprint/table/:tableId/:max_query_cost/:max_computation_cost"),
field_fingerprint: GET("api/fingerprint/field/:fieldId"),
table_fingerprint: GET("api/fingerprint/table/:tableId"),
segment_fingerprint: GET("api/fingerprint/segment/:segmentId"),
card_fingerprint: GET("api/fingerprint/card/:cardId"),
......
......@@ -44,7 +44,7 @@
max_computation_cost)})
f/prettify))
(api/defendpoint GET "/table/:id/:max_query_cost/:max_computation_cost"
(api/defendpoint GET "/table/:id"
"Get fingerprint for a `Tield` with ID."
[id max_query_cost max_computation_cost]
{max_query_cost MaxQueryCost
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment