Skip to content

card_gaps

card_gaps

create_kpi_card async

create_kpi_card(
    auth: DomoAuth,
    dataset_id: str,
    card_title: str,
    *,
    chart_type: str = "single-value",
    value_column: str | None = None,
    aggregation: str = "sum",
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Create a KPI card backed by a dataset.

Convenience wrapper around PUT /content/v3/cards/kpi that builds the card body from a dataset id, title, chart type, and value column.

Calls route

Source code in src/crew_dcs/routes/card_gaps.py
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
async def create_kpi_card(
    auth: DomoAuth,
    dataset_id: str,
    card_title: str,
    *,
    chart_type: str = "single-value",
    value_column: str | None = None,
    aggregation: str = "sum",
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    """Create a KPI card backed by a dataset.

    Convenience wrapper around PUT /content/v3/cards/kpi that builds the card
    body from a dataset id, title, chart type, and value column.
    """
    body = generate_kpi_card_body(
        dataset_id=dataset_id,
        card_title=card_title,
        chart_type=chart_type,
        value_column=value_column,
        aggregation=aggregation,
    )
    return await put_content_cards_kpi(
        auth=auth, body=body, context=context, **context_kwargs
    )

delete_bulk_badge_type_id async

delete_bulk_badge_type_id(
    auth: DomoAuth,
    type: str,
    id: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • DELETE /content/v1/share/bulk/badge/{}/{}

Called by

Source code in src/crew_dcs/routes/card_gaps.py
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
async def delete_bulk_badge_type_id(
    auth: DomoAuth,
    type: str,
    id: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/content/v1/share/bulk/badge/{type}/{id}"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="DELETE",
        context=context,
    )
    if not res.is_success:
        raise RouteError(
            message="DELETE /content/v1/share/bulk/badge/{type}/{id} failed", res=res
        )
    return res

delete_content_cards_bulk async

delete_content_cards_bulk(
    auth: DomoAuth,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • DELETE /content/v1/cards/bulk

Called by

Source code in src/crew_dcs/routes/card_gaps.py
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
async def delete_content_cards_bulk(
    auth: DomoAuth,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/content/v1/cards/bulk"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="DELETE",
        context=context,
    )
    if not res.is_success:
        raise RouteError(message="DELETE /content/v1/cards/bulk failed", res=res)
    return res
delete_content_cards_id_link(
    auth: DomoAuth,
    id: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • DELETE /content/v1/cards/{}/link

Called by

Source code in src/crew_dcs/routes/card_gaps.py
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
async def delete_content_cards_id_link(
    auth: DomoAuth,
    id: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/content/v1/cards/{id}/link"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="DELETE",
        context=context,
    )
    if not res.is_success:
        raise RouteError(message="DELETE /content/v1/cards/{id}/link failed", res=res)
    return res

delete_drillpath_drillnumber_drillview_drillpathid async

delete_drillpath_drillnumber_drillview_drillpathid(
    auth: DomoAuth,
    cardId: str,
    drillNumber: str,
    drillPathId: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • DELETE /kpis/{}/drillPath/{}/drillView/{}

Called by

Source code in src/crew_dcs/routes/card_gaps.py
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
async def delete_drillpath_drillnumber_drillview_drillpathid(
    auth: DomoAuth,
    cardId: str,
    drillNumber: str,
    drillPathId: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/kpis/{cardId}/drillPath/{drillNumber}/drillView/{drillPathId}"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="DELETE",
        context=context,
    )
    if not res.is_success:
        raise RouteError(
            message="DELETE /kpis/{cardId}/drillPath/{drillNumber}/drillView/{drillPathId} failed",
            res=res,
        )
    return res

generate_kpi_card_body

generate_kpi_card_body(
    dataset_id: str,
    card_title: str,
    chart_type: str = "single-value",
    value_column: str | None = None,
    aggregation: str = "sum",
) -> dict[str, Any]

Generate the payload for PUT /content/v3/cards/kpi.

Builds a minimal single-metric KPI card definition backed by dataset_id.

Source code in src/crew_dcs/routes/card_gaps.py
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
def generate_kpi_card_body(
    dataset_id: str,
    card_title: str,
    chart_type: str = "single-value",
    value_column: str | None = None,
    aggregation: str = "sum",
) -> dict[str, Any]:
    """Generate the payload for PUT /content/v3/cards/kpi.

    Builds a minimal single-metric KPI card definition backed by `dataset_id`.
    """
    return {
        "title": card_title,
        "chartType": chart_type,
        "dataSource": {"dataSourceId": dataset_id},
        "columns": (
            [{"column": value_column, "aggregation": aggregation}]
            if value_column
            else []
        ),
    }

get_access_users_id_cards async

get_access_users_id_cards(
    auth: DomoAuth,
    id: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • GET /content/v1/access/users/{}/cards

Called by

Source code in src/crew_dcs/routes/card_gaps.py
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
async def get_access_users_id_cards(
    auth: DomoAuth,
    id: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = (
        f"https://{auth.domo_instance}.domo.com/api/content/v1/access/users/{id}/cards"
    )
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="GET",
        context=context,
    )
    if not res.is_success:
        raise RouteError(
            message="GET /content/v1/access/users/{id}/cards failed", res=res
        )
    return res

get_cards async

get_cards(
    auth: DomoAuth,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • GET /v1/cards

Called by

Source code in src/crew_dcs/routes/card_gaps.py
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
async def get_cards(
    auth: DomoAuth,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/v1/cards"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="GET",
        context=context,
    )
    if not res.is_success:
        raise RouteError(message="GET /v1/cards failed", res=res)
    return res

get_cards_cardurn async

get_cards_cardurn(
    auth: DomoAuth,
    cardUrn: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • GET /v1/cards/{}

Called by

Source code in src/crew_dcs/routes/card_gaps.py
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
async def get_cards_cardurn(
    auth: DomoAuth,
    cardUrn: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/v1/cards/{cardUrn}"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="GET",
        context=context,
    )
    if not res.is_success:
        raise RouteError(message="GET /v1/cards/{cardUrn} failed", res=res)
    return res

get_cards_chart_cardurn async

get_cards_chart_cardurn(
    auth: DomoAuth,
    cardUrn: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • GET /v1/cards/chart/{}

Called by

Source code in src/crew_dcs/routes/card_gaps.py
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
async def get_cards_chart_cardurn(
    auth: DomoAuth,
    cardUrn: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/v1/cards/chart/{cardUrn}"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="GET",
        context=context,
    )
    if not res.is_success:
        raise RouteError(message="GET /v1/cards/chart/{cardUrn} failed", res=res)
    return res

get_cards_chart_cardurn_drillpath async

get_cards_chart_cardurn_drillpath(
    auth: DomoAuth,
    cardUrn: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • GET /v1/cards/chart/{}/drillpath

Called by

Source code in src/crew_dcs/routes/card_gaps.py
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
async def get_cards_chart_cardurn_drillpath(
    auth: DomoAuth,
    cardUrn: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = (
        f"https://{auth.domo_instance}.domo.com/api/v1/cards/chart/{cardUrn}/drillpath"
    )
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="GET",
        context=context,
    )
    if not res.is_success:
        raise RouteError(
            message="GET /v1/cards/chart/{cardUrn}/drillpath failed", res=res
        )
    return res

get_cards_kpi_charttype_options async

get_cards_kpi_charttype_options(
    auth: DomoAuth,
    chartType: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • GET /content/v1/cards/kpi/{}/options

Called by

Source code in src/crew_dcs/routes/card_gaps.py
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
async def get_cards_kpi_charttype_options(
    auth: DomoAuth,
    chartType: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/content/v1/cards/kpi/{chartType}/options"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="GET",
        context=context,
    )
    if not res.is_success:
        raise RouteError(
            message="GET /content/v1/cards/kpi/{chartType}/options failed", res=res
        )
    return res

get_content_cards async

get_content_cards(
    auth: DomoAuth,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • GET /content/v1/cards

Called by

Source code in src/crew_dcs/routes/card_gaps.py
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
async def get_content_cards(
    auth: DomoAuth,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/content/v1/cards"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="GET",
        context=context,
    )
    if not res.is_success:
        raise RouteError(message="GET /content/v1/cards failed", res=res)
    return res

get_content_cards_formulausage async

get_content_cards_formulausage(
    auth: DomoAuth,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • GET /content/v2/cards/formulausage

Called by

Source code in src/crew_dcs/routes/card_gaps.py
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
async def get_content_cards_formulausage(
    auth: DomoAuth,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/content/v2/cards/formulausage"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="GET",
        context=context,
    )
    if not res.is_success:
        raise RouteError(message="GET /content/v2/cards/formulausage failed", res=res)
    return res

get_content_cards_id_details async

get_content_cards_id_details(
    auth: DomoAuth,
    id: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • GET /content/v1/cards/{}/details

Called by

Source code in src/crew_dcs/routes/card_gaps.py
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
async def get_content_cards_id_details(
    auth: DomoAuth,
    id: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/content/v1/cards/{id}/details"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="GET",
        context=context,
    )
    if not res.is_success:
        raise RouteError(message="GET /content/v1/cards/{id}/details failed", res=res)
    return res
get_content_cards_id_link(
    auth: DomoAuth,
    id: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • GET /content/v1/cards/{}/link

Called by

Source code in src/crew_dcs/routes/card_gaps.py
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
async def get_content_cards_id_link(
    auth: DomoAuth,
    id: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/content/v1/cards/{id}/link"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="GET",
        context=context,
    )
    if not res.is_success:
        raise RouteError(message="GET /content/v1/cards/{id}/link failed", res=res)
    return res

get_content_cards_kpi_palette async

get_content_cards_kpi_palette(
    auth: DomoAuth,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • GET /content/v1/cards/kpi/palette

Called by

Source code in src/crew_dcs/routes/card_gaps.py
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
async def get_content_cards_kpi_palette(
    auth: DomoAuth,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/content/v1/cards/kpi/palette"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="GET",
        context=context,
    )
    if not res.is_success:
        raise RouteError(message="GET /content/v1/cards/kpi/palette failed", res=res)
    return res

get_content_cards_minmaxdates async

get_content_cards_minmaxdates(
    auth: DomoAuth,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • GET /content/v1/cards/minmaxdates

Called by

Source code in src/crew_dcs/routes/card_gaps.py
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
async def get_content_cards_minmaxdates(
    auth: DomoAuth,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/content/v1/cards/minmaxdates"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="GET",
        context=context,
    )
    if not res.is_success:
        raise RouteError(message="GET /content/v1/cards/minmaxdates failed", res=res)
    return res

get_content_cards_notebook_id async

get_content_cards_notebook_id(
    auth: DomoAuth,
    id: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • GET /content/v1/cards/notebook/{}

Called by

Source code in src/crew_dcs/routes/card_gaps.py
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
async def get_content_cards_notebook_id(
    auth: DomoAuth,
    id: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/content/v1/cards/notebook/{id}"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="GET",
        context=context,
    )
    if not res.is_success:
        raise RouteError(message="GET /content/v1/cards/notebook/{id} failed", res=res)
    return res

get_content_datasources_id_cards async

get_content_datasources_id_cards(
    auth: DomoAuth,
    id: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • GET /content/v1/datasources/{}/cards

Called by

Source code in src/crew_dcs/routes/card_gaps.py
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
async def get_content_datasources_id_cards(
    auth: DomoAuth,
    id: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/content/v1/datasources/{id}/cards"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="GET",
        context=context,
    )
    if not res.is_success:
        raise RouteError(
            message="GET /content/v1/datasources/{id}/cards failed", res=res
        )
    return res

get_kpi_cardid_comparemove_datasetid async

get_kpi_cardid_comparemove_datasetid(
    auth: DomoAuth,
    cardId: str,
    datasetId: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • GET /content/v1/cards/kpi/{}/comparemove/{}

Called by

Source code in src/crew_dcs/routes/card_gaps.py
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
async def get_kpi_cardid_comparemove_datasetid(
    auth: DomoAuth,
    cardId: str,
    datasetId: str,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/content/v1/cards/kpi/{cardId}/comparemove/{datasetId}"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="GET",
        context=context,
    )
    if not res.is_success:
        raise RouteError(
            message="GET /content/v1/cards/kpi/{cardId}/comparemove/{datasetId} failed",
            res=res,
        )
    return res

post_apps_instances_instanceid_cards async

post_apps_instances_instanceid_cards(
    auth: DomoAuth,
    instanceId: str,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • POST /apps/v1/instances/{}/cards

Called by

Source code in src/crew_dcs/routes/card_gaps.py
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
async def post_apps_instances_instanceid_cards(
    auth: DomoAuth,
    instanceId: str,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/apps/v1/instances/{instanceId}/cards"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="POST",
        body=body or {},
        context=context,
    )
    if not res.is_success:
        raise RouteError(
            message="POST /apps/v1/instances/{instanceId}/cards failed", res=res
        )
    return res

post_bulk_badge_type_id async

post_bulk_badge_type_id(
    auth: DomoAuth,
    type: str,
    id: str,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • POST /content/v1/share/bulk/badge/{}/{}

Called by

Source code in src/crew_dcs/routes/card_gaps.py
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
async def post_bulk_badge_type_id(
    auth: DomoAuth,
    type: str,
    id: str,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/content/v1/share/bulk/badge/{type}/{id}"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="POST",
        body=body or {},
        context=context,
    )
    if not res.is_success:
        raise RouteError(
            message="POST /content/v1/share/bulk/badge/{type}/{id} failed", res=res
        )
    return res

post_cards_chart async

post_cards_chart(
    auth: DomoAuth,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • POST /v1/cards/chart

Called by

Source code in src/crew_dcs/routes/card_gaps.py
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
async def post_cards_chart(
    auth: DomoAuth,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/v1/cards/chart"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="POST",
        body=body or {},
        context=context,
    )
    if not res.is_success:
        raise RouteError(message="POST /v1/cards/chart failed", res=res)
    return res

post_cards_chart_cardurn_drill async

post_cards_chart_cardurn_drill(
    auth: DomoAuth,
    cardUrn: str,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • POST /v1/cards/chart/{}/drill

Called by

Source code in src/crew_dcs/routes/card_gaps.py
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
async def post_cards_chart_cardurn_drill(
    auth: DomoAuth,
    cardUrn: str,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/v1/cards/chart/{cardUrn}/drill"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="POST",
        body=body or {},
        context=context,
    )
    if not res.is_success:
        raise RouteError(message="POST /v1/cards/chart/{cardUrn}/drill failed", res=res)
    return res

post_cards_embed_auth async

post_cards_embed_auth(
    auth: DomoAuth,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • POST /v1/cards/embed/auth

Called by

Source code in src/crew_dcs/routes/card_gaps.py
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
async def post_cards_embed_auth(
    auth: DomoAuth,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/v1/cards/embed/auth"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="POST",
        body=body or {},
        context=context,
    )
    if not res.is_success:
        raise RouteError(message="POST /v1/cards/embed/auth failed", res=res)
    return res

post_content_badges_cardid_problems async

post_content_badges_cardid_problems(
    auth: DomoAuth,
    cardId: str,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • POST /content/v1/badges/{}/problems

Called by

Source code in src/crew_dcs/routes/card_gaps.py
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
async def post_content_badges_cardid_problems(
    auth: DomoAuth,
    cardId: str,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = (
        f"https://{auth.domo_instance}.domo.com/api/content/v1/badges/{cardId}/problems"
    )
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="POST",
        body=body or {},
        context=context,
    )
    if not res.is_success:
        raise RouteError(
            message="POST /content/v1/badges/{cardId}/problems failed", res=res
        )
    return res

post_content_cards_adminsummary async

post_content_cards_adminsummary(
    auth: DomoAuth,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • POST /content/v2/cards/adminsummary

Called by

Source code in src/crew_dcs/routes/card_gaps.py
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
async def post_content_cards_adminsummary(
    auth: DomoAuth,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/content/v2/cards/adminsummary"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="POST",
        body=body or {},
        context=context,
    )
    if not res.is_success:
        raise RouteError(message="POST /content/v2/cards/adminsummary failed", res=res)
    return res
post_content_cards_id_link(
    auth: DomoAuth,
    id: str,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • POST /content/v1/cards/{}/link

Called by

Source code in src/crew_dcs/routes/card_gaps.py
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
async def post_content_cards_id_link(
    auth: DomoAuth,
    id: str,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/content/v1/cards/{id}/link"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="POST",
        body=body or {},
        context=context,
    )
    if not res.is_success:
        raise RouteError(message="POST /content/v1/cards/{id}/link failed", res=res)
    return res

post_kpis_id_history async

post_kpis_id_history(
    auth: DomoAuth,
    id: str,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • POST /kpis/{}/history

Called by

Source code in src/crew_dcs/routes/card_gaps.py
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
async def post_kpis_id_history(
    auth: DomoAuth,
    id: str,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/kpis/{id}/history"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="POST",
        body=body or {},
        context=context,
    )
    if not res.is_success:
        raise RouteError(message="POST /kpis/{id}/history failed", res=res)
    return res

post_kpis_id_remove async

post_kpis_id_remove(
    auth: DomoAuth,
    id: str,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • POST /kpis/{}/remove

Called by

Source code in src/crew_dcs/routes/card_gaps.py
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
async def post_kpis_id_remove(
    auth: DomoAuth,
    id: str,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/kpis/{id}/remove"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="POST",
        body=body or {},
        context=context,
    )
    if not res.is_success:
        raise RouteError(message="POST /kpis/{id}/remove failed", res=res)
    return res

put_analytics_views_cards_counts async

put_analytics_views_cards_counts(
    auth: DomoAuth,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • PUT /content/v1/analytics/views/cards/counts

Called by

Source code in src/crew_dcs/routes/card_gaps.py
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
async def put_analytics_views_cards_counts(
    auth: DomoAuth,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/content/v1/analytics/views/cards/counts"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="PUT",
        body=body or {},
        context=context,
    )
    if not res.is_success:
        raise RouteError(
            message="PUT /content/v1/analytics/views/cards/counts failed", res=res
        )
    return res

put_analytics_views_cards_increment async

put_analytics_views_cards_increment(
    auth: DomoAuth,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • PUT /content/v1/analytics/views/cards/increment

Called by

Source code in src/crew_dcs/routes/card_gaps.py
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
async def put_analytics_views_cards_increment(
    auth: DomoAuth,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/content/v1/analytics/views/cards/increment"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="PUT",
        body=body or {},
        context=context,
    )
    if not res.is_success:
        raise RouteError(
            message="PUT /content/v1/analytics/views/cards/increment failed", res=res
        )
    return res

put_cardid_problems_problemid_states async

put_cardid_problems_problemid_states(
    auth: DomoAuth,
    cardId: str,
    problemId: str,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • PUT /content/v1/badges/{}/problems/{}/states

Called by

Source code in src/crew_dcs/routes/card_gaps.py
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
async def put_cardid_problems_problemid_states(
    auth: DomoAuth,
    cardId: str,
    problemId: str,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/content/v1/badges/{cardId}/problems/{problemId}/states"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="PUT",
        body=body or {},
        context=context,
    )
    if not res.is_success:
        raise RouteError(
            message="PUT /content/v1/badges/{cardId}/problems/{problemId}/states failed",
            res=res,
        )
    return res

put_cards_cardid_datasource_newdatasetid async

put_cards_cardid_datasource_newdatasetid(
    auth: DomoAuth,
    cardId: str,
    newDatasetId: str,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • PUT /content/v1/cards/{}/datasource/{}

Called by

Source code in src/crew_dcs/routes/card_gaps.py
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
async def put_cards_cardid_datasource_newdatasetid(
    auth: DomoAuth,
    cardId: str,
    newDatasetId: str,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/content/v1/cards/{cardId}/datasource/{newDatasetId}"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="PUT",
        body=body or {},
        context=context,
    )
    if not res.is_success:
        raise RouteError(
            message="PUT /content/v1/cards/{cardId}/datasource/{newDatasetId} failed",
            res=res,
        )
    return res

put_cards_chart_cardurn async

put_cards_chart_cardurn(
    auth: DomoAuth,
    cardUrn: str,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • PUT /v1/cards/chart/{}

Called by

Source code in src/crew_dcs/routes/card_gaps.py
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
async def put_cards_chart_cardurn(
    auth: DomoAuth,
    cardUrn: str,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/v1/cards/chart/{cardUrn}"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="PUT",
        body=body or {},
        context=context,
    )
    if not res.is_success:
        raise RouteError(message="PUT /v1/cards/chart/{cardUrn} failed", res=res)
    return res

put_cards_kpi_id_render async

put_cards_kpi_id_render(
    auth: DomoAuth,
    id: str,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • PUT /content/v1/cards/kpi/{}/render

Called by

Source code in src/crew_dcs/routes/card_gaps.py
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
async def put_cards_kpi_id_render(
    auth: DomoAuth,
    id: str,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/content/v1/cards/kpi/{id}/render"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="PUT",
        body=body or {},
        context=context,
    )
    if not res.is_success:
        raise RouteError(
            message="PUT /content/v1/cards/kpi/{id}/render failed", res=res
        )
    return res

put_content_cards_bulk_pages async

put_content_cards_bulk_pages(
    auth: DomoAuth,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • PUT /content/v1/cards/bulk/pages

Called by

Source code in src/crew_dcs/routes/card_gaps.py
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
async def put_content_cards_bulk_pages(
    auth: DomoAuth,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/content/v1/cards/bulk/pages"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="PUT",
        body=body or {},
        context=context,
    )
    if not res.is_success:
        raise RouteError(message="PUT /content/v1/cards/bulk/pages failed", res=res)
    return res

put_content_cards_kpi async

put_content_cards_kpi(
    auth: DomoAuth,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • PUT /content/v3/cards/kpi

Called by

Source code in src/crew_dcs/routes/card_gaps.py
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
async def put_content_cards_kpi(
    auth: DomoAuth,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/content/v3/cards/kpi"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="PUT",
        body=body or {},
        context=context,
    )
    if not res.is_success:
        raise RouteError(message="PUT /content/v3/cards/kpi failed", res=res)
    return res

put_content_cards_kpi_definition async

put_content_cards_kpi_definition(
    auth: DomoAuth,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • PUT /content/v3/cards/kpi/definition

Called by

Source code in src/crew_dcs/routes/card_gaps.py
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
async def put_content_cards_kpi_definition(
    auth: DomoAuth,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/content/v3/cards/kpi/definition"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="PUT",
        body=body or {},
        context=context,
    )
    if not res.is_success:
        raise RouteError(message="PUT /content/v3/cards/kpi/definition failed", res=res)
    return res

put_content_cards_kpi_id async

put_content_cards_kpi_id(
    auth: DomoAuth,
    id: str,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> ResponseGetData

Endpoint

  • PUT /content/v3/cards/kpi/{}

Called by

Source code in src/crew_dcs/routes/card_gaps.py
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
async def put_content_cards_kpi_id(
    auth: DomoAuth,
    id: str,
    body: dict[str, Any] | list[Any] | None = None,
    *,
    context: RouteContext | None = None,
    **context_kwargs,
) -> rgd.ResponseGetData:
    context = RouteContext.build_context(context=context, **context_kwargs)
    url = f"https://{auth.domo_instance}.domo.com/api/content/v3/cards/kpi/{id}"
    res = await gd.get_data(
        auth=auth,
        url=url,
        method="PUT",
        body=body or {},
        context=context,
    )
    if not res.is_success:
        raise RouteError(message="PUT /content/v3/cards/kpi/{id} failed", res=res)
    return res

See also

Official Domo docs

Domo Knowledge Base categories

  • Visualize Data (cards, pages, dashboards, Beast Modes, chart types)