Skip to content

publish_content_pages

publish_content_pages

Read-only (GET) Domo Everywhere routes for publication content and pages.

Sibling of :mod:crew_dcs.routes.publish. Shapes come from the Postman "Domo Everywhere" collection (Associations and Publication Content folders); none of these endpoints take query parameters there, and their response bodies are passed through untouched. Response semantics are not asserted here: no integration proof exists yet for what these endpoints return.

get_email_configs async

get_email_configs(
    auth: DomoAuth,
    publication_id: str,
    timeout: int = 10,
    return_raw: bool = False,
    *,
    context: RouteContext | None = None,
    **context_kwargs: Any
) -> ResponseGetData

Get the email configuration of a publication.

Calls GET /publish/v2/publications/contents/{publicationId}/email-configs (Postman: "Get Email Config").

Parameters:

Name Type Description Default
auth DomoAuth

Authenticated Domo session.

required
publication_id str

ID of the publication.

required
timeout int

Request timeout in seconds.

10
return_raw bool

When True, return the response even if it failed.

False
context RouteContext | None

Optional route context.

None
**context_kwargs Any

Extra context overrides.

{}

Returns:

Type Description
ResponseGetData

The response from Domo.

Raises:

Type Description
GET_Publish_Error

If the response is not successful and return_raw is False.

Source code in src/crew_dcs/routes/publish_content_pages.py
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
@gd.route_function
@log_call(
    level_name="route",
    config=LogDecoratorConfig(
        entity_extractor=DomoEntityExtractor(),
        result_processor=DomoEntityResultProcessor(),
    ),
)
async def get_email_configs(
    auth: DomoAuth,
    publication_id: str,
    timeout: int = 10,
    return_raw: bool = False,
    *,
    context: RouteContext | None = None,
    **context_kwargs: Any,
) -> rgd.ResponseGetData:
    """Get the email configuration of a publication.

    Calls ``GET /publish/v2/publications/contents/{publicationId}/email-configs`` (Postman: "Get Email Config").

    Args:
        auth: Authenticated Domo session.
        publication_id: ID of the publication.
        timeout: Request timeout in seconds.
        return_raw: When True, return the response even if it failed.
        context: Optional route context.
        **context_kwargs: Extra context overrides.

    Returns:
        The response from Domo.

    Raises:
        GET_Publish_Error: If the response is not successful and
            ``return_raw`` is False.
    """
    return await _get_publish_content(
        auth,
        f"/api/publish/v2/publications/contents/{publication_id}/email-configs",
        return_raw=return_raw,
        timeout=timeout,
        context=context,
    )

get_embed_content async

get_embed_content(
    auth: DomoAuth,
    publication_id: str,
    timeout: int = 10,
    return_raw: bool = False,
    *,
    context: RouteContext | None = None,
    **context_kwargs: Any
) -> ResponseGetData

Get the embed content details of a publication.

Calls GET /publish/v2/publications/contents/{publicationId}/embed-content (Postman: "Get Embed Content Details").

Parameters:

Name Type Description Default
auth DomoAuth

Authenticated Domo session.

required
publication_id str

ID of the publication.

required
timeout int

Request timeout in seconds.

10
return_raw bool

When True, return the response even if it failed.

False
context RouteContext | None

Optional route context.

None
**context_kwargs Any

Extra context overrides.

{}

Returns:

Type Description
ResponseGetData

The response from Domo.

Raises:

Type Description
GET_Publish_Error

If the response is not successful and return_raw is False.

Source code in src/crew_dcs/routes/publish_content_pages.py
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
@gd.route_function
@log_call(
    level_name="route",
    config=LogDecoratorConfig(
        entity_extractor=DomoEntityExtractor(),
        result_processor=DomoEntityResultProcessor(),
    ),
)
async def get_embed_content(
    auth: DomoAuth,
    publication_id: str,
    timeout: int = 10,
    return_raw: bool = False,
    *,
    context: RouteContext | None = None,
    **context_kwargs: Any,
) -> rgd.ResponseGetData:
    """Get the embed content details of a publication.

    Calls ``GET /publish/v2/publications/contents/{publicationId}/embed-content`` (Postman: "Get Embed Content Details").

    Args:
        auth: Authenticated Domo session.
        publication_id: ID of the publication.
        timeout: Request timeout in seconds.
        return_raw: When True, return the response even if it failed.
        context: Optional route context.
        **context_kwargs: Extra context overrides.

    Returns:
        The response from Domo.

    Raises:
        GET_Publish_Error: If the response is not successful and
            ``return_raw`` is False.
    """
    return await _get_publish_content(
        auth,
        f"/api/publish/v2/publications/contents/{publication_id}/embed-content",
        return_raw=return_raw,
        timeout=timeout,
        context=context,
    )

get_file async

get_file(
    auth: DomoAuth,
    publication_id: str,
    data_file_id: str,
    timeout: int = 10,
    return_raw: bool = False,
    *,
    context: RouteContext | None = None,
    **context_kwargs: Any
) -> ResponseGetData

Get a data file of a publication.

Calls GET /publish/v2/publications/contents/{publicationId}/file/{dataFileId} (Postman: "Get File").

Parameters:

Name Type Description Default
auth DomoAuth

Authenticated Domo session.

required
publication_id str

ID of the publication.

required
data_file_id str

ID of the data file.

required
timeout int

Request timeout in seconds.

10
return_raw bool

When True, return the response even if it failed.

False
context RouteContext | None

Optional route context.

None
**context_kwargs Any

Extra context overrides.

{}

Returns:

Type Description
ResponseGetData

The response from Domo.

Raises:

Type Description
GET_Publish_Error

If the response is not successful and return_raw is False.

Source code in src/crew_dcs/routes/publish_content_pages.py
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
@gd.route_function
@log_call(
    level_name="route",
    config=LogDecoratorConfig(
        entity_extractor=DomoEntityExtractor(),
        result_processor=DomoEntityResultProcessor(),
    ),
)
async def get_file(
    auth: DomoAuth,
    publication_id: str,
    data_file_id: str,
    timeout: int = 10,
    return_raw: bool = False,
    *,
    context: RouteContext | None = None,
    **context_kwargs: Any,
) -> rgd.ResponseGetData:
    """Get a data file of a publication.

    Calls ``GET /publish/v2/publications/contents/{publicationId}/file/{dataFileId}`` (Postman: "Get File").

    Args:
        auth: Authenticated Domo session.
        publication_id: ID of the publication.
        data_file_id: ID of the data file.
        timeout: Request timeout in seconds.
        return_raw: When True, return the response even if it failed.
        context: Optional route context.
        **context_kwargs: Extra context overrides.

    Returns:
        The response from Domo.

    Raises:
        GET_Publish_Error: If the response is not successful and
            ``return_raw`` is False.
    """
    return await _get_publish_content(
        auth,
        f"/api/publish/v2/publications/contents/{publication_id}/file/{data_file_id}",
        return_raw=return_raw,
        timeout=timeout,
        context=context,
    )

get_file_details async

get_file_details(
    auth: DomoAuth,
    publication_id: str,
    timeout: int = 10,
    return_raw: bool = False,
    *,
    context: RouteContext | None = None,
    **context_kwargs: Any
) -> ResponseGetData

Get the file details of a publication.

Calls GET /publish/v2/publications/contents/{publicationId}/file/details (Postman: "Get File Details").

Parameters:

Name Type Description Default
auth DomoAuth

Authenticated Domo session.

required
publication_id str

ID of the publication.

required
timeout int

Request timeout in seconds.

10
return_raw bool

When True, return the response even if it failed.

False
context RouteContext | None

Optional route context.

None
**context_kwargs Any

Extra context overrides.

{}

Returns:

Type Description
ResponseGetData

The response from Domo.

Raises:

Type Description
GET_Publish_Error

If the response is not successful and return_raw is False.

Source code in src/crew_dcs/routes/publish_content_pages.py
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
@gd.route_function
@log_call(
    level_name="route",
    config=LogDecoratorConfig(
        entity_extractor=DomoEntityExtractor(),
        result_processor=DomoEntityResultProcessor(),
    ),
)
async def get_file_details(
    auth: DomoAuth,
    publication_id: str,
    timeout: int = 10,
    return_raw: bool = False,
    *,
    context: RouteContext | None = None,
    **context_kwargs: Any,
) -> rgd.ResponseGetData:
    """Get the file details of a publication.

    Calls ``GET /publish/v2/publications/contents/{publicationId}/file/details`` (Postman: "Get File Details").

    Args:
        auth: Authenticated Domo session.
        publication_id: ID of the publication.
        timeout: Request timeout in seconds.
        return_raw: When True, return the response even if it failed.
        context: Optional route context.
        **context_kwargs: Extra context overrides.

    Returns:
        The response from Domo.

    Raises:
        GET_Publish_Error: If the response is not successful and
            ``return_raw`` is False.
    """
    return await _get_publish_content(
        auth,
        f"/api/publish/v2/publications/contents/{publication_id}/file/details",
        return_raw=return_raw,
        timeout=timeout,
        context=context,
    )

get_filter_view async

get_filter_view(
    auth: DomoAuth,
    publication_id: str,
    timeout: int = 10,
    return_raw: bool = False,
    *,
    context: RouteContext | None = None,
    **context_kwargs: Any
) -> ResponseGetData

Get the filter view of a publication.

Calls GET /publish/v2/publications/contents/{publicationId}/filter-view (Postman: "Get Publication Filter View").

Parameters:

Name Type Description Default
auth DomoAuth

Authenticated Domo session.

required
publication_id str

ID of the publication.

required
timeout int

Request timeout in seconds.

10
return_raw bool

When True, return the response even if it failed.

False
context RouteContext | None

Optional route context.

None
**context_kwargs Any

Extra context overrides.

{}

Returns:

Type Description
ResponseGetData

The response from Domo.

Raises:

Type Description
GET_Publish_Error

If the response is not successful and return_raw is False.

Source code in src/crew_dcs/routes/publish_content_pages.py
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
@gd.route_function
@log_call(
    level_name="route",
    config=LogDecoratorConfig(
        entity_extractor=DomoEntityExtractor(),
        result_processor=DomoEntityResultProcessor(),
    ),
)
async def get_filter_view(
    auth: DomoAuth,
    publication_id: str,
    timeout: int = 10,
    return_raw: bool = False,
    *,
    context: RouteContext | None = None,
    **context_kwargs: Any,
) -> rgd.ResponseGetData:
    """Get the filter view of a publication.

    Calls ``GET /publish/v2/publications/contents/{publicationId}/filter-view`` (Postman: "Get Publication Filter View").

    Args:
        auth: Authenticated Domo session.
        publication_id: ID of the publication.
        timeout: Request timeout in seconds.
        return_raw: When True, return the response even if it failed.
        context: Optional route context.
        **context_kwargs: Extra context overrides.

    Returns:
        The response from Domo.

    Raises:
        GET_Publish_Error: If the response is not successful and
            ``return_raw`` is False.
    """
    return await _get_publish_content(
        auth,
        f"/api/publish/v2/publications/contents/{publication_id}/filter-view",
        return_raw=return_raw,
        timeout=timeout,
        context=context,
    )

get_form_definition async

get_form_definition(
    auth: DomoAuth,
    publication_id: str,
    timeout: int = 10,
    return_raw: bool = False,
    *,
    context: RouteContext | None = None,
    **context_kwargs: Any
) -> ResponseGetData

Get the form definition of a publication.

Calls GET /publish/v2/publications/contents/{publicationId}/form (Postman: "Get Form Definition").

Parameters:

Name Type Description Default
auth DomoAuth

Authenticated Domo session.

required
publication_id str

ID of the publication.

required
timeout int

Request timeout in seconds.

10
return_raw bool

When True, return the response even if it failed.

False
context RouteContext | None

Optional route context.

None
**context_kwargs Any

Extra context overrides.

{}

Returns:

Type Description
ResponseGetData

The response from Domo.

Raises:

Type Description
GET_Publish_Error

If the response is not successful and return_raw is False.

Source code in src/crew_dcs/routes/publish_content_pages.py
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
@gd.route_function
@log_call(
    level_name="route",
    config=LogDecoratorConfig(
        entity_extractor=DomoEntityExtractor(),
        result_processor=DomoEntityResultProcessor(),
    ),
)
async def get_form_definition(
    auth: DomoAuth,
    publication_id: str,
    timeout: int = 10,
    return_raw: bool = False,
    *,
    context: RouteContext | None = None,
    **context_kwargs: Any,
) -> rgd.ResponseGetData:
    """Get the form definition of a publication.

    Calls ``GET /publish/v2/publications/contents/{publicationId}/form`` (Postman: "Get Form Definition").

    Args:
        auth: Authenticated Domo session.
        publication_id: ID of the publication.
        timeout: Request timeout in seconds.
        return_raw: When True, return the response even if it failed.
        context: Optional route context.
        **context_kwargs: Extra context overrides.

    Returns:
        The response from Domo.

    Raises:
        GET_Publish_Error: If the response is not successful and
            ``return_raw`` is False.
    """
    return await _get_publish_content(
        auth,
        f"/api/publish/v2/publications/contents/{publication_id}/form",
        return_raw=return_raw,
        timeout=timeout,
        context=context,
    )

get_org_templates async

get_org_templates(
    auth: DomoAuth,
    publication_id: str,
    timeout: int = 10,
    return_raw: bool = False,
    *,
    context: RouteContext | None = None,
    **context_kwargs: Any
) -> ResponseGetData

Get the org templates of a publication.

Calls GET /publish/v2/publications/contents/{publicationId}/org-templates (Postman: "Get Org Template").

Parameters:

Name Type Description Default
auth DomoAuth

Authenticated Domo session.

required
publication_id str

ID of the publication.

required
timeout int

Request timeout in seconds.

10
return_raw bool

When True, return the response even if it failed.

False
context RouteContext | None

Optional route context.

None
**context_kwargs Any

Extra context overrides.

{}

Returns:

Type Description
ResponseGetData

The response from Domo.

Raises:

Type Description
GET_Publish_Error

If the response is not successful and return_raw is False.

Source code in src/crew_dcs/routes/publish_content_pages.py
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
@gd.route_function
@log_call(
    level_name="route",
    config=LogDecoratorConfig(
        entity_extractor=DomoEntityExtractor(),
        result_processor=DomoEntityResultProcessor(),
    ),
)
async def get_org_templates(
    auth: DomoAuth,
    publication_id: str,
    timeout: int = 10,
    return_raw: bool = False,
    *,
    context: RouteContext | None = None,
    **context_kwargs: Any,
) -> rgd.ResponseGetData:
    """Get the org templates of a publication.

    Calls ``GET /publish/v2/publications/contents/{publicationId}/org-templates`` (Postman: "Get Org Template").

    Args:
        auth: Authenticated Domo session.
        publication_id: ID of the publication.
        timeout: Request timeout in seconds.
        return_raw: When True, return the response even if it failed.
        context: Optional route context.
        **context_kwargs: Extra context overrides.

    Returns:
        The response from Domo.

    Raises:
        GET_Publish_Error: If the response is not successful and
            ``return_raw`` is False.
    """
    return await _get_publish_content(
        auth,
        f"/api/publish/v2/publications/contents/{publication_id}/org-templates",
        return_raw=return_raw,
        timeout=timeout,
        context=context,
    )

get_page_associations async

get_page_associations(
    auth: DomoAuth,
    timeout: int = 10,
    return_raw: bool = False,
    *,
    context: RouteContext | None = None,
    **context_kwargs: Any
) -> ResponseGetData

Get the page associations for the publisher.

Calls GET /publish/v2/associations/pages (Postman: "Get Page Associations For Publisher").

Parameters:

Name Type Description Default
auth DomoAuth

Authenticated Domo session.

required
timeout int

Request timeout in seconds.

10
return_raw bool

When True, return the response even if it failed.

False
context RouteContext | None

Optional route context.

None
**context_kwargs Any

Extra context overrides.

{}

Returns:

Type Description
ResponseGetData

The response from Domo.

Raises:

Type Description
GET_Publish_Error

If the response is not successful and return_raw is False.

Source code in src/crew_dcs/routes/publish_content_pages.py
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
@gd.route_function
@log_call(
    level_name="route",
    config=LogDecoratorConfig(
        entity_extractor=DomoEntityExtractor(),
        result_processor=DomoEntityResultProcessor(),
    ),
)
async def get_page_associations(
    auth: DomoAuth,
    timeout: int = 10,
    return_raw: bool = False,
    *,
    context: RouteContext | None = None,
    **context_kwargs: Any,
) -> rgd.ResponseGetData:
    """Get the page associations for the publisher.

    Calls ``GET /publish/v2/associations/pages`` (Postman: "Get Page Associations For Publisher").

    Args:
        auth: Authenticated Domo session.
        timeout: Request timeout in seconds.
        return_raw: When True, return the response even if it failed.
        context: Optional route context.
        **context_kwargs: Extra context overrides.

    Returns:
        The response from Domo.

    Raises:
        GET_Publish_Error: If the response is not successful and
            ``return_raw`` is False.
    """
    return await _get_publish_content(
        auth,
        "/api/publish/v2/associations/pages",
        return_raw=return_raw,
        timeout=timeout,
        context=context,
    )

get_page_embed async

get_page_embed(
    auth: DomoAuth,
    publication_id: str,
    timeout: int = 10,
    return_raw: bool = False,
    *,
    context: RouteContext | None = None,
    **context_kwargs: Any
) -> ResponseGetData

Get the page embed details of a publication.

Calls GET /publish/v2/publications/contents/{publicationId}/page-embed (Postman: "Get Page Embed Details").

Parameters:

Name Type Description Default
auth DomoAuth

Authenticated Domo session.

required
publication_id str

ID of the publication.

required
timeout int

Request timeout in seconds.

10
return_raw bool

When True, return the response even if it failed.

False
context RouteContext | None

Optional route context.

None
**context_kwargs Any

Extra context overrides.

{}

Returns:

Type Description
ResponseGetData

The response from Domo.

Raises:

Type Description
GET_Publish_Error

If the response is not successful and return_raw is False.

Source code in src/crew_dcs/routes/publish_content_pages.py
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
@gd.route_function
@log_call(
    level_name="route",
    config=LogDecoratorConfig(
        entity_extractor=DomoEntityExtractor(),
        result_processor=DomoEntityResultProcessor(),
    ),
)
async def get_page_embed(
    auth: DomoAuth,
    publication_id: str,
    timeout: int = 10,
    return_raw: bool = False,
    *,
    context: RouteContext | None = None,
    **context_kwargs: Any,
) -> rgd.ResponseGetData:
    """Get the page embed details of a publication.

    Calls ``GET /publish/v2/publications/contents/{publicationId}/page-embed`` (Postman: "Get Page Embed Details").

    Args:
        auth: Authenticated Domo session.
        publication_id: ID of the publication.
        timeout: Request timeout in seconds.
        return_raw: When True, return the response even if it failed.
        context: Optional route context.
        **context_kwargs: Extra context overrides.

    Returns:
        The response from Domo.

    Raises:
        GET_Publish_Error: If the response is not successful and
            ``return_raw`` is False.
    """
    return await _get_publish_content(
        auth,
        f"/api/publish/v2/publications/contents/{publication_id}/page-embed",
        return_raw=return_raw,
        timeout=timeout,
        context=context,
    )

get_page_navigations async

get_page_navigations(
    auth: DomoAuth,
    publication_id: str,
    timeout: int = 10,
    return_raw: bool = False,
    *,
    context: RouteContext | None = None,
    **context_kwargs: Any
) -> ResponseGetData

Get the page navigations of a publication.

Calls GET /publish/v2/publications/contents/{publicationId}/pages/navigations (Postman: "Get Page Navigations").

Parameters:

Name Type Description Default
auth DomoAuth

Authenticated Domo session.

required
publication_id str

ID of the publication.

required
timeout int

Request timeout in seconds.

10
return_raw bool

When True, return the response even if it failed.

False
context RouteContext | None

Optional route context.

None
**context_kwargs Any

Extra context overrides.

{}

Returns:

Type Description
ResponseGetData

The response from Domo.

Raises:

Type Description
GET_Publish_Error

If the response is not successful and return_raw is False.

Source code in src/crew_dcs/routes/publish_content_pages.py
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
@gd.route_function
@log_call(
    level_name="route",
    config=LogDecoratorConfig(
        entity_extractor=DomoEntityExtractor(),
        result_processor=DomoEntityResultProcessor(),
    ),
)
async def get_page_navigations(
    auth: DomoAuth,
    publication_id: str,
    timeout: int = 10,
    return_raw: bool = False,
    *,
    context: RouteContext | None = None,
    **context_kwargs: Any,
) -> rgd.ResponseGetData:
    """Get the page navigations of a publication.

    Calls ``GET /publish/v2/publications/contents/{publicationId}/pages/navigations`` (Postman: "Get Page Navigations").

    Args:
        auth: Authenticated Domo session.
        publication_id: ID of the publication.
        timeout: Request timeout in seconds.
        return_raw: When True, return the response even if it failed.
        context: Optional route context.
        **context_kwargs: Extra context overrides.

    Returns:
        The response from Domo.

    Raises:
        GET_Publish_Error: If the response is not successful and
            ``return_raw`` is False.
    """
    return await _get_publish_content(
        auth,
        f"/api/publish/v2/publications/contents/{publication_id}/pages/navigations",
        return_raw=return_raw,
        timeout=timeout,
        context=context,
    )

get_publication_page async

get_publication_page(
    auth: DomoAuth,
    publication_id: str,
    timeout: int = 10,
    return_raw: bool = False,
    *,
    context: RouteContext | None = None,
    **context_kwargs: Any
) -> ResponseGetData

Get the page (with layout) of a publication.

Calls GET /publish/v2/publications/contents/{publicationId}/page (Postman: "Get Publication Page With Layout").

Parameters:

Name Type Description Default
auth DomoAuth

Authenticated Domo session.

required
publication_id str

ID of the publication.

required
timeout int

Request timeout in seconds.

10
return_raw bool

When True, return the response even if it failed.

False
context RouteContext | None

Optional route context.

None
**context_kwargs Any

Extra context overrides.

{}

Returns:

Type Description
ResponseGetData

The response from Domo.

Raises:

Type Description
GET_Publish_Error

If the response is not successful and return_raw is False.

Source code in src/crew_dcs/routes/publish_content_pages.py
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
@gd.route_function
@log_call(
    level_name="route",
    config=LogDecoratorConfig(
        entity_extractor=DomoEntityExtractor(),
        result_processor=DomoEntityResultProcessor(),
    ),
)
async def get_publication_page(
    auth: DomoAuth,
    publication_id: str,
    timeout: int = 10,
    return_raw: bool = False,
    *,
    context: RouteContext | None = None,
    **context_kwargs: Any,
) -> rgd.ResponseGetData:
    """Get the page (with layout) of a publication.

    Calls ``GET /publish/v2/publications/contents/{publicationId}/page`` (Postman: "Get Publication Page With Layout").

    Args:
        auth: Authenticated Domo session.
        publication_id: ID of the publication.
        timeout: Request timeout in seconds.
        return_raw: When True, return the response even if it failed.
        context: Optional route context.
        **context_kwargs: Extra context overrides.

    Returns:
        The response from Domo.

    Raises:
        GET_Publish_Error: If the response is not successful and
            ``return_raw`` is False.
    """
    return await _get_publish_content(
        auth,
        f"/api/publish/v2/publications/contents/{publication_id}/page",
        return_raw=return_raw,
        timeout=timeout,
        context=context,
    )

get_variable_definition async

get_variable_definition(
    auth: DomoAuth,
    publication_id: str,
    content_type: str,
    content_id: str,
    timeout: int = 10,
    return_raw: bool = False,
    *,
    context: RouteContext | None = None,
    **context_kwargs: Any
) -> ResponseGetData

Get the variable definition of a piece of publication content.

Calls GET /publish/v2/publications/contents/{publicationId}/variables/{contentType}/{contentId} (Postman: "Get Variable Definition").

Parameters:

Name Type Description Default
auth DomoAuth

Authenticated Domo session.

required
publication_id str

ID of the publication.

required
content_type str

Type of the content (path segment).

required
content_id str

ID of the content.

required
timeout int

Request timeout in seconds.

10
return_raw bool

When True, return the response even if it failed.

False
context RouteContext | None

Optional route context.

None
**context_kwargs Any

Extra context overrides.

{}

Returns:

Type Description
ResponseGetData

The response from Domo.

Raises:

Type Description
GET_Publish_Error

If the response is not successful and return_raw is False.

Source code in src/crew_dcs/routes/publish_content_pages.py
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
@gd.route_function
@log_call(
    level_name="route",
    config=LogDecoratorConfig(
        entity_extractor=DomoEntityExtractor(),
        result_processor=DomoEntityResultProcessor(),
    ),
)
async def get_variable_definition(
    auth: DomoAuth,
    publication_id: str,
    content_type: str,
    content_id: str,
    timeout: int = 10,
    return_raw: bool = False,
    *,
    context: RouteContext | None = None,
    **context_kwargs: Any,
) -> rgd.ResponseGetData:
    """Get the variable definition of a piece of publication content.

    Calls ``GET /publish/v2/publications/contents/{publicationId}/variables/{contentType}/{contentId}`` (Postman: "Get Variable Definition").

    Args:
        auth: Authenticated Domo session.
        publication_id: ID of the publication.
        content_type: Type of the content (path segment).
        content_id: ID of the content.
        timeout: Request timeout in seconds.
        return_raw: When True, return the response even if it failed.
        context: Optional route context.
        **context_kwargs: Extra context overrides.

    Returns:
        The response from Domo.

    Raises:
        GET_Publish_Error: If the response is not successful and
            ``return_raw`` is False.
    """
    return await _get_publish_content(
        auth,
        f"/api/publish/v2/publications/contents/{publication_id}/variables/{content_type}/{content_id}",
        return_raw=return_raw,
        timeout=timeout,
        context=context,
    )