publish
publish ¶
Domo Everywhere publish routes (/api/publish/v2).
A package so every publish route lives under one import path. This
__init__ re-exports the public names of each module; callers import
from crew_dcs.routes.publish and never from the submodules.
Modules:
| Name | Description |
|---|---|
publications |
Publication CRUD, search, refresh, status and history |
content |
Publication content and page reads, associations |
subscriptions |
Subscriptions, invites, shares, subscriber domains |
exceptions |
Publish error classes |
GET_PublishContent_Error ¶
GET_PublishContent_Error(
res: ResponseGetData, message: str | None = None
)
Bases: GET_Publish_Error
Raised when a publication-content GET returns a non-2xx response.
Source code in src/crew_dcs/routes/publish/exceptions.py
23 24 | |
GET_PublishStatus_Error ¶
GET_PublishStatus_Error(
res: ResponseGetData, message: str | None = None
)
Bases: GET_Publish_Error
Raised when a publication status GET request returns a non-success response.
Source code in src/crew_dcs/routes/publish/exceptions.py
23 24 | |
GET_PublishSubscriptions_Error ¶
GET_PublishSubscriptions_Error(
res: ResponseGetData, message: str | None = None
)
Bases: GET_Publish_Error
Raised when a publish subscription GET request returns a non-success response.
Source code in src/crew_dcs/routes/publish/exceptions.py
23 24 | |
accept_invite_by_id
async
¶
accept_invite_by_id(
auth: DomoAuth,
subscription_id: str,
*,
context: RouteContext | None = None,
**context_kwargs,
) -> ResponseGetData
this takes get_subscription_invites_list into account and accepts - not instant
Endpoint
POST /publish/v2/subscription/{}
Called by
Source code in src/crew_dcs/routes/publish/subscriptions.py
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 | |
accept_invite_by_id_v2
async
¶
accept_invite_by_id_v2(
auth: DomoAuth,
publication_id: str,
owner_id: str,
*,
context: RouteContext | None = None,
**context_kwargs,
) -> ResponseGetData
this takes get_subscription_invites_list into account and accepts - not instant
Endpoint
POST /publish/v2/subscriptions/v2
Source code in src/crew_dcs/routes/publish/subscriptions.py
257 258 259 260 261 262 263 264 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 | |
add_subscriber_domain
async
¶
add_subscriber_domain(
auth: DomoAuth,
domain: str,
*,
context: RouteContext | None = None,
**context_kwargs,
) -> ResponseGetData
adds subscriber domain to the list
Endpoint
PUT /publish/v2/proxy_user/domain/{}
Source code in src/crew_dcs/routes/publish/subscriptions.py
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 218 219 220 221 222 223 | |
count_subscription_invites
async
¶
count_subscription_invites(
auth: DomoAuth,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Count subscription invites (Postman: Count Invites).
GET /api/publish/v2/subscriptions/invites/counts
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
auth
|
DomoAuth
|
Authenticated Domo session. |
required |
return_raw
|
bool
|
If True, return the response without raising on failure. |
False
|
context
|
RouteContext | None
|
Optional pre-built route context. |
None
|
**context_kwargs
|
Any
|
Extra context overrides consumed by |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The API response. |
Raises:
| Type | Description |
|---|---|
GET_PublishSubscriptions_Error
|
If the response is not successful and |
Endpoint
GET /publish/v2/subscriptions/invites/counts
Called by
Source code in src/crew_dcs/routes/publish/subscriptions.py
558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 | |
count_subscription_summaries
async
¶
count_subscription_summaries(
auth: DomoAuth,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Count subscription summaries (Postman: Count Summaries).
GET /api/publish/v2/subscriptions/summaries/counts
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
auth
|
DomoAuth
|
Authenticated Domo session. |
required |
return_raw
|
bool
|
If True, return the response without raising on failure. |
False
|
context
|
RouteContext | None
|
Optional pre-built route context. |
None
|
**context_kwargs
|
Any
|
Extra context overrides consumed by |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The API response. |
Raises:
| Type | Description |
|---|---|
GET_PublishSubscriptions_Error
|
If the response is not successful and |
Endpoint
GET /publish/v2/subscriptions/summaries/counts
Called by
Source code in src/crew_dcs/routes/publish/subscriptions.py
820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 | |
create_publish_job
async
¶
create_publish_job(
auth: DomoAuth,
body: dict,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs,
) -> ResponseGetData
Endpoint
POST /publish/v2/publication
Called by
Source code in src/crew_dcs/routes/publish/publications.py
167 168 169 170 171 172 173 174 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 | |
get_all_publications_status
async
¶
get_all_publications_status(
auth: DomoAuth,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Get the status of all publications (Postman: Get All Publication Status).
GET /api/publish/v2/publications/status/all
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
auth
|
DomoAuth
|
Authenticated Domo session. |
required |
return_raw
|
bool
|
If True, return the response without raising on failure. |
False
|
context
|
RouteContext | None
|
Optional pre-built route context. |
None
|
**context_kwargs
|
Any
|
Extra context overrides consumed by |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The API response. |
Raises:
| Type | Description |
|---|---|
GET_PublishStatus_Error
|
If the response is not successful and |
Endpoint
GET /publish/v2/publications/status/all
Called by
Source code in src/crew_dcs/routes/publish/publications.py
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 445 446 447 448 449 450 451 452 453 454 455 | |
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
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 | |
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
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 | |
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
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 | |
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
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 | |
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
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 | |
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
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 | |
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
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 | |
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
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 | |
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
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 | |
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
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 | |
get_publication_app_collections
async
¶
get_publication_app_collections(
auth: DomoAuth,
publication_id: str,
timeout: int = 10,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Get Domo App Collections (GET .../contents/{publicationId}/card/app/collections).
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
|
Return the response even when it is not a success. |
False
|
context
|
RouteContext | None
|
Optional route context. |
None
|
**context_kwargs
|
Any
|
Extra context settings (for example |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The response from Domo. |
Raises:
| Type | Description |
|---|---|
GET_PublishContent_Error
|
If the response is not a success and
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 | |
get_publication_app_templates
async
¶
get_publication_app_templates(
auth: DomoAuth,
publication_id: str,
timeout: int = 10,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Get Domo App Template (GET .../contents/{publicationId}/card/app/templates).
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
|
Return the response even when it is not a success. |
False
|
context
|
RouteContext | None
|
Optional route context. |
None
|
**context_kwargs
|
Any
|
Extra context settings (for example |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The response from Domo. |
Raises:
| Type | Description |
|---|---|
GET_PublishContent_Error
|
If the response is not a success and
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 | |
get_publication_beastmode_templates
async
¶
get_publication_beastmode_templates(
auth: DomoAuth,
publication_id: str,
data_source_id: str,
timeout: int = 10,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Get Beast Mode Template (GET .../contents/{publicationId}/datasources/{dataSourceId}/beastmodes/templates).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
auth
|
DomoAuth
|
Authenticated Domo session. |
required |
publication_id
|
str
|
ID of the publication. |
required |
data_source_id
|
str
|
ID of the data source. |
required |
timeout
|
int
|
Request timeout in seconds. |
10
|
return_raw
|
bool
|
Return the response even when it is not a success. |
False
|
context
|
RouteContext | None
|
Optional route context. |
None
|
**context_kwargs
|
Any
|
Extra context settings (for example |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The response from Domo. |
Raises:
| Type | Description |
|---|---|
GET_PublishContent_Error
|
If the response is not a success and
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 | |
get_publication_by_id
async
¶
get_publication_by_id(
auth: DomoAuth,
publication_id: str,
timeout=10,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs,
) -> ResponseGetData
Endpoint
GET /publish/v2/publication/{}
Called by
Source code in src/crew_dcs/routes/publish/publications.py
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 128 129 130 131 132 133 134 135 | |
get_publication_card_calc_dspub_map
async
¶
get_publication_card_calc_dspub_map(
auth: DomoAuth,
publication_id: str,
timeout: int = 10,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Get Card Calc Ds Pub Map (GET .../contents/{publicationId}/card/calc-dspub-map).
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
|
Return the response even when it is not a success. |
False
|
context
|
RouteContext | None
|
Optional route context. |
None
|
**context_kwargs
|
Any
|
Extra context settings (for example |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The response from Domo. |
Raises:
| Type | Description |
|---|---|
GET_PublishContent_Error
|
If the response is not a success and
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 | |
get_publication_card_union
async
¶
get_publication_card_union(
auth: DomoAuth,
publication_id: str,
timeout: int = 10,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Get Card Union V2 (GET .../contents/{publicationId}/card).
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
|
Return the response even when it is not a success. |
False
|
context
|
RouteContext | None
|
Optional route context. |
None
|
**context_kwargs
|
Any
|
Extra context settings (for example |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The response from Domo. |
Raises:
| Type | Description |
|---|---|
GET_PublishContent_Error
|
If the response is not a success and
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
get_publication_card_union_v2
async
¶
get_publication_card_union_v2(
auth: DomoAuth,
publication_id: str,
timeout: int = 10,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Get Card Union V2 (v2 path) (GET .../contents/{publicationId}/card/v2).
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
|
Return the response even when it is not a success. |
False
|
context
|
RouteContext | None
|
Optional route context. |
None
|
**context_kwargs
|
Any
|
Extra context settings (for example |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The response from Domo. |
Raises:
| Type | Description |
|---|---|
GET_PublishContent_Error
|
If the response is not a success and
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 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 | |
get_publication_chart_color_palettes
async
¶
get_publication_chart_color_palettes(
auth: DomoAuth,
publication_id: str,
timeout: int = 10,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Get Chart Color Palette (GET .../contents/{publicationId}/chart-color-palettes).
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
|
Return the response even when it is not a success. |
False
|
context
|
RouteContext | None
|
Optional route context. |
None
|
**context_kwargs
|
Any
|
Extra context settings (for example |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The response from Domo. |
Raises:
| Type | Description |
|---|---|
GET_PublishContent_Error
|
If the response is not a success and
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 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 | |
get_publication_custom_map
async
¶
get_publication_custom_map(
auth: DomoAuth,
publication_id: str,
custom_map_name: str,
timeout: int = 10,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Get Custom Map (GET .../contents/{publicationId}/custom-maps/{customMapName}).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
auth
|
DomoAuth
|
Authenticated Domo session. |
required |
publication_id
|
str
|
ID of the publication. |
required |
custom_map_name
|
str
|
Name of the custom map. |
required |
timeout
|
int
|
Request timeout in seconds. |
10
|
return_raw
|
bool
|
Return the response even when it is not a success. |
False
|
context
|
RouteContext | None
|
Optional route context. |
None
|
**context_kwargs
|
Any
|
Extra context settings (for example |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The response from Domo. |
Raises:
| Type | Description |
|---|---|
GET_PublishContent_Error
|
If the response is not a success and
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 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 | |
get_publication_custom_roles
async
¶
get_publication_custom_roles(
auth: DomoAuth,
publication_id: str,
timeout: int = 10,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Get Custom Role (GET .../contents/{publicationId}/custom-roles).
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
|
Return the response even when it is not a success. |
False
|
context
|
RouteContext | None
|
Optional route context. |
None
|
**context_kwargs
|
Any
|
Extra context settings (for example |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The response from Domo. |
Raises:
| Type | Description |
|---|---|
GET_PublishContent_Error
|
If the response is not a success and
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 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 | |
get_publication_datasource
async
¶
get_publication_datasource(
auth: DomoAuth,
publication_id: str,
timeout: int = 10,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Get Publication Data Source Info (GET .../contents/{publicationId}/datasource).
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
|
Return the response even when it is not a success. |
False
|
context
|
RouteContext | None
|
Optional route context. |
None
|
**context_kwargs
|
Any
|
Extra context settings (for example |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The response from Domo. |
Raises:
| Type | Description |
|---|---|
GET_PublishContent_Error
|
If the response is not a success and
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 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 | |
get_publication_doc_preview_file
async
¶
get_publication_doc_preview_file(
auth: DomoAuth,
publication_id: str,
data_file_id: str,
revision_id: str,
image_type: str,
timeout: int = 10,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Get Doc Card Preview File (GET .../contents/{publicationId}/card/doc-previews/{dataFileId}/{revisionId}/{imageType}).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
auth
|
DomoAuth
|
Authenticated Domo session. |
required |
publication_id
|
str
|
ID of the publication. |
required |
data_file_id
|
str
|
Data file ID of the document. |
required |
revision_id
|
str
|
Revision ID of the document. |
required |
image_type
|
str
|
Preview image type. |
required |
timeout
|
int
|
Request timeout in seconds. |
10
|
return_raw
|
bool
|
Return the response even when it is not a success. |
False
|
context
|
RouteContext | None
|
Optional route context. |
None
|
**context_kwargs
|
Any
|
Extra context settings (for example |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The response from Domo. |
Raises:
| Type | Description |
|---|---|
GET_PublishContent_Error
|
If the response is not a success and
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 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 | |
get_publication_doc_preview_metadata
async
¶
get_publication_doc_preview_metadata(
auth: DomoAuth,
publication_id: str,
data_file_id: str,
revision_id: str,
timeout: int = 10,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Get Doc Card Preview Metadata (GET .../contents/{publicationId}/card/doc-previews/{dataFileId}/{revisionId}/metadata).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
auth
|
DomoAuth
|
Authenticated Domo session. |
required |
publication_id
|
str
|
ID of the publication. |
required |
data_file_id
|
str
|
Data file ID of the document. |
required |
revision_id
|
str
|
Revision ID of the document. |
required |
timeout
|
int
|
Request timeout in seconds. |
10
|
return_raw
|
bool
|
Return the response even when it is not a success. |
False
|
context
|
RouteContext | None
|
Optional route context. |
None
|
**context_kwargs
|
Any
|
Extra context settings (for example |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The response from Domo. |
Raises:
| Type | Description |
|---|---|
GET_PublishContent_Error
|
If the response is not a success and
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 | |
get_publication_history
async
¶
get_publication_history(
auth: DomoAuth,
publication_id: str,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Get the history of one publication (Postman: Get Publication History).
GET /api/publish/v2/publications/{publication_id}/history
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
auth
|
DomoAuth
|
Authenticated Domo session. |
required |
publication_id
|
str
|
Publication ID. |
required |
return_raw
|
bool
|
If True, return the response without raising on failure. |
False
|
context
|
RouteContext | None
|
Optional pre-built route context. |
None
|
**context_kwargs
|
Any
|
Extra context overrides consumed by |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The API response. |
Raises:
| Type | Description |
|---|---|
GET_PublishStatus_Error
|
If the response is not successful and |
Endpoint
GET /publish/v2/publications/{}/history
Called by
Source code in src/crew_dcs/routes/publish/publications.py
558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 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 | |
get_publication_orchestration_entity
async
¶
get_publication_orchestration_entity(
auth: DomoAuth,
publication_id: str,
entity_type: str,
timeout: int = 10,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Get Orchestration Entity (GET .../contents/{publicationId}/content-orchestration/entity/{entityType}).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
auth
|
DomoAuth
|
Authenticated Domo session. |
required |
publication_id
|
str
|
ID of the publication. |
required |
entity_type
|
str
|
Orchestration entity type. |
required |
timeout
|
int
|
Request timeout in seconds. |
10
|
return_raw
|
bool
|
Return the response even when it is not a success. |
False
|
context
|
RouteContext | None
|
Optional route context. |
None
|
**context_kwargs
|
Any
|
Extra context settings (for example |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The response from Domo. |
Raises:
| Type | Description |
|---|---|
GET_PublishContent_Error
|
If the response is not a success and
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 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 | |
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
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 | |
get_publication_shared_beastmode_map
async
¶
get_publication_shared_beastmode_map(
auth: DomoAuth,
publication_id: str,
timeout: int = 10,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Get Data Source Shared Beast Mode Map (GET .../contents/{publicationId}/datasource/shared-beastmode-map).
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
|
Return the response even when it is not a success. |
False
|
context
|
RouteContext | None
|
Optional route context. |
None
|
**context_kwargs
|
Any
|
Extra context settings (for example |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The response from Domo. |
Raises:
| Type | Description |
|---|---|
GET_PublishContent_Error
|
If the response is not a success and
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 | |
get_publication_status
async
¶
get_publication_status(
auth: DomoAuth,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Get the status of the publications (Postman: Get Publication Status).
GET /api/publish/v2/publication/status
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
auth
|
DomoAuth
|
Authenticated Domo session. |
required |
return_raw
|
bool
|
If True, return the response without raising on failure. |
False
|
context
|
RouteContext | None
|
Optional pre-built route context. |
None
|
**context_kwargs
|
Any
|
Extra context overrides consumed by |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The API response. |
Raises:
| Type | Description |
|---|---|
GET_PublishStatus_Error
|
If the response is not successful and |
Endpoint
GET /publish/v2/publication/status
Called by
Source code in src/crew_dcs/routes/publish/publications.py
309 310 311 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 355 | |
get_publication_status_by_id
async
¶
get_publication_status_by_id(
auth: DomoAuth,
pub_id: str,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Get the status of one publication (Postman: Get Publication Status By Id).
GET /api/publish/v2/publications/status/{pub_id}
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
auth
|
DomoAuth
|
Authenticated Domo session. |
required |
pub_id
|
str
|
Publication ID. |
required |
return_raw
|
bool
|
If True, return the response without raising on failure. |
False
|
context
|
RouteContext | None
|
Optional pre-built route context. |
None
|
**context_kwargs
|
Any
|
Extra context overrides consumed by |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The API response. |
Raises:
| Type | Description |
|---|---|
GET_PublishStatus_Error
|
If the response is not successful and |
Endpoint
GET /publish/v2/publications/status/{}
Called by
Source code in src/crew_dcs/routes/publish/publications.py
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 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 | |
get_publication_summary_counts
async
¶
get_publication_summary_counts(
auth: DomoAuth,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Get publication summary counts (Postman: Get Publication Summary Counts).
GET /api/publish/v2/publications/summaries/counts
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
auth
|
DomoAuth
|
Authenticated Domo session. |
required |
return_raw
|
bool
|
If True, return the response without raising on failure. |
False
|
context
|
RouteContext | None
|
Optional pre-built route context. |
None
|
**context_kwargs
|
Any
|
Extra context overrides consumed by |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The API response. |
Raises:
| Type | Description |
|---|---|
GET_PublishStatus_Error
|
If the response is not successful and |
Endpoint
GET /publish/v2/publications/summaries/counts
Called by
Source code in src/crew_dcs/routes/publish/publications.py
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 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 | |
get_publications_status
async
¶
get_publications_status(
auth: DomoAuth,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Get publications status (Postman: Get Status).
GET /api/publish/v2/publications/status
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
auth
|
DomoAuth
|
Authenticated Domo session. |
required |
return_raw
|
bool
|
If True, return the response without raising on failure. |
False
|
context
|
RouteContext | None
|
Optional pre-built route context. |
None
|
**context_kwargs
|
Any
|
Extra context overrides consumed by |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The API response. |
Raises:
| Type | Description |
|---|---|
GET_PublishStatus_Error
|
If the response is not successful and |
Endpoint
GET /publish/v2/publications/status
Called by
Source code in src/crew_dcs/routes/publish/publications.py
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 400 401 402 403 404 | |
get_publish_subscriptions
async
¶
get_publish_subscriptions(
auth: DomoAuth,
publish_id: str,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs,
) -> ResponseGetData
retrieves a summary of existing subscriptions
Endpoint
GET /publish/v2/publications/summaries/{}/subscriptions
Source code in src/crew_dcs/routes/publish/publications.py
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 263 264 265 266 267 268 269 270 271 | |
get_subscriber_content_details
async
¶
get_subscriber_content_details(
auth: DomoAuth,
publication_id,
subscriber_instance: str,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs,
)
Endpoint
GET /publish/v2/associations/{}/subscribers/{}
Called by
DomoPublication.get_content_detailsDomoSubscription.get_content_detailsPublishResolver.get_subscription_for_entity
Source code in src/crew_dcs/routes/publish/content.py
1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 | |
get_subscriber_domains
async
¶
get_subscriber_domains(
auth: DomoAuth,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs,
) -> ResponseGetData
retrieves a list of subsriber domains
Endpoint
GET /publish/v2/proxy_user
Source code in src/crew_dcs/routes/publish/subscriptions.py
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 | |
get_subscription_by_id
async
¶
get_subscription_by_id(
auth: DomoAuth,
subscription_id: str,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs,
) -> ResponseGetData
Retrieves a subscription by its ID
Endpoint
GET /publish/v2/subscription/{}
Called by
Source code in src/crew_dcs/routes/publish/subscriptions.py
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
get_subscription_invitations
async
¶
get_subscription_invitations(
auth: DomoAuth,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs,
) -> ResponseGetData
retrieves a list of subscription invitations
Endpoint
GET /publish/v2/subscription/invites
Called by
Source code in src/crew_dcs/routes/publish/subscriptions.py
124 125 126 127 128 129 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 | |
get_subscription_invite_counts
async
¶
get_subscription_invite_counts(
auth: DomoAuth,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Count subscription invites (Postman: Get Subscription Invites Counts).
GET /api/publish/v2/subscription/invites/counts
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
auth
|
DomoAuth
|
Authenticated Domo session. |
required |
return_raw
|
bool
|
If True, return the response without raising on failure. |
False
|
context
|
RouteContext | None
|
Optional pre-built route context. |
None
|
**context_kwargs
|
Any
|
Extra context overrides consumed by |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The API response. |
Raises:
| Type | Description |
|---|---|
GET_PublishSubscriptions_Error
|
If the response is not successful and |
Endpoint
GET /publish/v2/subscription/invites/counts
Called by
Source code in src/crew_dcs/routes/publish/subscriptions.py
300 301 302 303 304 305 306 307 308 309 310 311 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 | |
get_subscription_share
async
¶
get_subscription_share(
auth: DomoAuth,
subscription_id: str,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Get the share of a subscription (Postman: Get Subscription Share).
GET /api/publish/v2/subscriptions/{subscription_id}/share
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
auth
|
DomoAuth
|
Authenticated Domo session. |
required |
subscription_id
|
str
|
Subscription ID. |
required |
return_raw
|
bool
|
If True, return the response without raising on failure. |
False
|
context
|
RouteContext | None
|
Optional pre-built route context. |
None
|
**context_kwargs
|
Any
|
Extra context overrides consumed by |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The API response. |
Raises:
| Type | Description |
|---|---|
GET_PublishSubscriptions_Error
|
If the response is not successful and |
Endpoint
GET /publish/v2/subscriptions/{}/share
Called by
Source code in src/crew_dcs/routes/publish/subscriptions.py
920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 | |
get_subscription_share_groups
async
¶
get_subscription_share_groups(
auth: DomoAuth,
subscription_id: str,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Get the groups a subscription is shared with (Postman: Get Subscription Share Groups).
GET /api/publish/v2/subscriptions/share/groups/{subscription_id}
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
auth
|
DomoAuth
|
Authenticated Domo session. |
required |
subscription_id
|
str
|
Subscription ID. |
required |
return_raw
|
bool
|
If True, return the response without raising on failure. |
False
|
context
|
RouteContext | None
|
Optional pre-built route context. |
None
|
**context_kwargs
|
Any
|
Extra context overrides consumed by |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The API response. |
Raises:
| Type | Description |
|---|---|
GET_PublishSubscriptions_Error
|
If the response is not successful and |
Endpoint
GET /publish/v2/subscriptions/share/groups/{}
Called by
Source code in src/crew_dcs/routes/publish/subscriptions.py
656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 | |
get_subscription_status
async
¶
get_subscription_status(
auth: DomoAuth,
package_publication_id: str,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Get the status of a subscription to a package publication (Postman: Get Subscription Status).
GET /api/publish/v2/subscriptions/status/{package_publication_id}
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
auth
|
DomoAuth
|
Authenticated Domo session. |
required |
package_publication_id
|
str
|
Package publication ID. |
required |
return_raw
|
bool
|
If True, return the response without raising on failure. |
False
|
context
|
RouteContext | None
|
Optional pre-built route context. |
None
|
**context_kwargs
|
Any
|
Extra context overrides consumed by |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The API response. |
Raises:
| Type | Description |
|---|---|
GET_PublishSubscriptions_Error
|
If the response is not successful and |
Endpoint
GET /publish/v2/subscriptions/status/{}
Called by
Source code in src/crew_dcs/routes/publish/subscriptions.py
707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 | |
get_subscription_summaries
async
¶
get_subscription_summaries(
auth: DomoAuth,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs,
) -> ResponseGetData
retrieves a summary of existing subscriptions
Endpoint
GET /publish/v2/subscription/summaries
Called by
Source code in src/crew_dcs/routes/publish/subscriptions.py
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 | |
get_subscription_summaries_by_pub_id
async
¶
get_subscription_summaries_by_pub_id(
auth: DomoAuth,
pub_id: str,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Get subscription summaries for one publication (Postman: Get Subscription Summaries).
GET /api/publish/v2/subscriptions/summaries/{pub_id}
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
auth
|
DomoAuth
|
Authenticated Domo session. |
required |
pub_id
|
str
|
Publication ID. |
required |
return_raw
|
bool
|
If True, return the response without raising on failure. |
False
|
context
|
RouteContext | None
|
Optional pre-built route context. |
None
|
**context_kwargs
|
Any
|
Extra context overrides consumed by |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The API response. |
Raises:
| Type | Description |
|---|---|
GET_PublishSubscriptions_Error
|
If the response is not successful and |
Endpoint
GET /publish/v2/subscriptions/summaries/{}
Called by
Source code in src/crew_dcs/routes/publish/subscriptions.py
869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 | |
get_subscription_summary_counts
async
¶
get_subscription_summary_counts(
auth: DomoAuth,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Count subscription summaries (Postman: Search Summaries Count).
GET /api/publish/v2/subscription/summaries/counts
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
auth
|
DomoAuth
|
Authenticated Domo session. |
required |
return_raw
|
bool
|
If True, return the response without raising on failure. |
False
|
context
|
RouteContext | None
|
Optional pre-built route context. |
None
|
**context_kwargs
|
Any
|
Extra context overrides consumed by |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The API response. |
Raises:
| Type | Description |
|---|---|
GET_PublishSubscriptions_Error
|
If the response is not successful and |
Endpoint
GET /publish/v2/subscription/summaries/counts
Called by
Source code in src/crew_dcs/routes/publish/subscriptions.py
349 350 351 352 353 354 355 356 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 | |
get_subscription_with_share
async
¶
get_subscription_with_share(
auth: DomoAuth,
subscription_id: str,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
Get a subscription together with its share (Postman: Get Subscription With Share).
GET /api/publish/v2/subscription/{subscription_id}/share
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
auth
|
DomoAuth
|
Authenticated Domo session. |
required |
subscription_id
|
str
|
Subscription ID. |
required |
return_raw
|
bool
|
If True, return the response without raising on failure. |
False
|
context
|
RouteContext | None
|
Optional pre-built route context. |
None
|
**context_kwargs
|
Any
|
Extra context overrides consumed by |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The API response. |
Raises:
| Type | Description |
|---|---|
GET_PublishSubscriptions_Error
|
If the response is not successful and |
Endpoint
GET /publish/v2/subscription/{}/share
Called by
Source code in src/crew_dcs/routes/publish/subscriptions.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 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 | |
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
|
Called by
Source code in src/crew_dcs/routes/publish/content.py
1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 | |
list_all_subscriptions
async
¶
list_all_subscriptions(
auth: DomoAuth,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
List all subscriptions (Postman: List Subscriptions).
GET /api/publish/v2/subscriptions/all
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
auth
|
DomoAuth
|
Authenticated Domo session. |
required |
return_raw
|
bool
|
If True, return the response without raising on failure. |
False
|
context
|
RouteContext | None
|
Optional pre-built route context. |
None
|
**context_kwargs
|
Any
|
Extra context overrides consumed by |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The API response. |
Raises:
| Type | Description |
|---|---|
GET_PublishSubscriptions_Error
|
If the response is not successful and |
Endpoint
GET /publish/v2/subscriptions/all
Called by
Source code in src/crew_dcs/routes/publish/subscriptions.py
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 490 491 492 493 494 495 | |
list_public_subscription_invites
async
¶
list_public_subscription_invites(
auth: DomoAuth,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
List public subscription invites (Postman: Get Public Invites).
GET /api/publish/v2/subscriptions/invites/public
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
auth
|
DomoAuth
|
Authenticated Domo session. |
required |
return_raw
|
bool
|
If True, return the response without raising on failure. |
False
|
context
|
RouteContext | None
|
Optional pre-built route context. |
None
|
**context_kwargs
|
Any
|
Extra context overrides consumed by |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The API response. |
Raises:
| Type | Description |
|---|---|
GET_PublishSubscriptions_Error
|
If the response is not successful and |
Endpoint
GET /publish/v2/subscriptions/invites/public
Called by
Source code in src/crew_dcs/routes/publish/subscriptions.py
607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 | |
list_subscription_invites
async
¶
list_subscription_invites(
auth: DomoAuth,
limit: int | None = None,
offset: int | None = None,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
List subscription invites (Postman: List Invites).
GET /api/publish/v2/subscriptions/invites
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
auth
|
DomoAuth
|
Authenticated Domo session. |
required |
limit
|
int | None
|
Optional page size, sent as the |
None
|
offset
|
int | None
|
Optional |
None
|
return_raw
|
bool
|
If True, return the response without raising on failure. |
False
|
context
|
RouteContext | None
|
Optional pre-built route context. |
None
|
**context_kwargs
|
Any
|
Extra context overrides consumed by |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The API response. |
Raises:
| Type | Description |
|---|---|
GET_PublishSubscriptions_Error
|
If the response is not successful and |
Endpoint
GET /publish/v2/subscriptions/invites
Called by
Source code in src/crew_dcs/routes/publish/subscriptions.py
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 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 | |
list_subscription_summaries
async
¶
list_subscription_summaries(
auth: DomoAuth,
limit: int | None = None,
offset: int | None = None,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs: Any,
) -> ResponseGetData
List subscription summaries (Postman: List Summaries).
GET /api/publish/v2/subscriptions/summaries
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
auth
|
DomoAuth
|
Authenticated Domo session. |
required |
limit
|
int | None
|
Optional page size, sent as the |
None
|
offset
|
int | None
|
Optional |
None
|
return_raw
|
bool
|
If True, return the response without raising on failure. |
False
|
context
|
RouteContext | None
|
Optional pre-built route context. |
None
|
**context_kwargs
|
Any
|
Extra context overrides consumed by |
{}
|
Returns:
| Type | Description |
|---|---|
ResponseGetData
|
The API response. |
Raises:
| Type | Description |
|---|---|
GET_PublishSubscriptions_Error
|
If the response is not successful and |
Endpoint
GET /publish/v2/subscriptions/summaries
Called by
Source code in src/crew_dcs/routes/publish/subscriptions.py
758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 | |
refresh_publish_jobs
async
¶
refresh_publish_jobs(
auth: DomoAuth,
publish_ids: list,
*,
context: RouteContext | None = None,
**context_kwargs,
) -> ResponseGetData
Refreshing list of publish jobs. Typically "instance" = publisher instance
Endpoint
PUT /publish/v2/publication/refresh
Source code in src/crew_dcs/routes/publish/publications.py
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 | |
search_publications
async
¶
search_publications(
auth: DomoAuth,
search_term: str | None = None,
limit: int = 100,
offset: int = 0,
debug_loop: bool = False,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs,
) -> ResponseGetData
Endpoint
GET /publish/v2/publication/summaries
Called by
Source code in src/crew_dcs/routes/publish/publications.py
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | |
update_publish_job
async
¶
update_publish_job(
auth: DomoAuth,
publication_id: str,
body: dict,
return_raw: bool = False,
*,
context: RouteContext | None = None,
**context_kwargs,
) -> ResponseGetData
Endpoint
PUT /publish/v2/publication/{}
Called by
Source code in src/crew_dcs/routes/publish/publications.py
203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 | |