pages
pages channel
Get channel details by channel ID
Usage
bash
pega pages channel <channelID> [flags]Source endpoint: GET /channels/{channelID} — view command source
Arguments
| Argument | Required | Description |
|---|---|---|
channelID | Yes | Channel ID |
Flags
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--format | option | No | json | Output format (json, compact, yaml, table) |
--fields | option | No | Comma-separated top-level fields to include in output | |
--dry-run | boolean | No | Print HTTP request details and exit without executing | |
--quiet | boolean | No | Suppress all stderr progress/warning output | |
--verbose | boolean | No | Emit full HTTP request/response details to stderr | |
--no-cache | boolean | No | Bypass token file cache; perform fresh OAuth exchange | |
--profile | option | No | default | Named config profile |
Examples
sh
pega pages channel MyChannelpages dashboard
Get page details for displaying a Dashboard
Usage
bash
pega pages dashboard <dashboardID> [flags]Source endpoint: GET /dashboard/{dashboardID} — view command source
Arguments
| Argument | Required | Description |
|---|---|---|
dashboardID | Yes | Dashboard ID |
Flags
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--format | option | No | json | Output format (json, compact, yaml, table) |
--fields | option | No | Comma-separated top-level fields to include in output | |
--dry-run | boolean | No | Print HTTP request details and exit without executing | |
--quiet | boolean | No | Suppress all stderr progress/warning output | |
--verbose | boolean | No | Emit full HTTP request/response details to stderr | |
--no-cache | boolean | No | Bypass token file cache; perform fresh OAuth exchange | |
--profile | option | No | default | Named config profile |
Examples
sh
pega pages dashboard MyDashboardpages get
Get page details by page ID
Usage
bash
pega pages get <pageID> [flags]Source endpoint: GET /pages/{pageID} — view command source
Arguments
| Argument | Required | Description |
|---|---|---|
pageID | Yes | Page ID |
Flags
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--format | option | No | json | Output format (json, compact, yaml, table) |
--fields | option | No | Comma-separated top-level fields to include in output | |
--dry-run | boolean | No | Print HTTP request details and exit without executing | |
--quiet | boolean | No | Suppress all stderr progress/warning output | |
--verbose | boolean | No | Emit full HTTP request/response details to stderr | |
--no-cache | boolean | No | Bypass token file cache; perform fresh OAuth exchange | |
--profile | option | No | default | Named config profile |
--page-class | option | No | Class in which the page lives (→ ?pageClass=) |
Examples
sh
pega pages get MyPagesh
pega pages get MyPage --page-class CW-Workpages get-with-context
Get page details with a data context (POST /pages/{pageID})
Usage
bash
pega pages get-with-context <pageID> [flags]Source endpoint: POST /pages/{pageID} — view command source
Arguments
| Argument | Required | Description |
|---|---|---|
pageID | Yes | Page ID |
Flags
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--format | option | No | json | Output format (json, compact, yaml, table) |
--fields | option | No | Comma-separated top-level fields to include in output | |
--dry-run | boolean | No | Print HTTP request details and exit without executing | |
--quiet | boolean | No | Suppress all stderr progress/warning output | |
--verbose | boolean | No | Emit full HTTP request/response details to stderr | |
--no-cache | boolean | No | Bypass token file cache; perform fresh OAuth exchange | |
--profile | option | No | default | Named config profile |
--data-context | option | Yes | Data context string → request body |
Examples
sh
pega pages get-with-context MyPage --data-context "ContextValue"pages insight
Get page details for displaying an Insight
Usage
bash
pega pages insight <insightID> [flags]Source endpoint: GET /insight/{insightID} — view command source
Arguments
| Argument | Required | Description |
|---|---|---|
insightID | Yes | Insight ID |
Flags
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--format | option | No | json | Output format (json, compact, yaml, table) |
--fields | option | No | Comma-separated top-level fields to include in output | |
--dry-run | boolean | No | Print HTTP request details and exit without executing | |
--quiet | boolean | No | Suppress all stderr progress/warning output | |
--verbose | boolean | No | Emit full HTTP request/response details to stderr | |
--no-cache | boolean | No | Bypass token file cache; perform fresh OAuth exchange | |
--profile | option | No | default | Named config profile |
Examples
sh
pega pages insight MyInsightpages localization
Get locale bundle by locale name
Usage
bash
pega pages localization <locale> [flags]Source endpoint: GET /localizations/{locale} — view command source
Arguments
| Argument | Required | Description |
|---|---|---|
locale | Yes | Locale bundle name (e.g. en_US) |
Flags
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--format | option | No | json | Output format (json, compact, yaml, table) |
--fields | option | No | Comma-separated top-level fields to include in output | |
--dry-run | boolean | No | Print HTTP request details and exit without executing | |
--quiet | boolean | No | Suppress all stderr progress/warning output | |
--verbose | boolean | No | Emit full HTTP request/response details to stderr | |
--no-cache | boolean | No | Bypass token file cache; perform fresh OAuth exchange | |
--profile | option | No | default | Named config profile |
Examples
sh
pega pages localization en_USpages portal
Get portal details by portal ID
Usage
bash
pega pages portal <portalID> [flags]Source endpoint: GET /portals/{portalID} — view command source
Arguments
| Argument | Required | Description |
|---|---|---|
portalID | Yes | Portal ID |
Flags
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--format | option | No | json | Output format (json, compact, yaml, table) |
--fields | option | No | Comma-separated top-level fields to include in output | |
--dry-run | boolean | No | Print HTTP request details and exit without executing | |
--quiet | boolean | No | Suppress all stderr progress/warning output | |
--verbose | boolean | No | Emit full HTTP request/response details to stderr | |
--no-cache | boolean | No | Bypass token file cache; perform fresh OAuth exchange | |
--profile | option | No | default | Named config profile |
Examples
sh
pega pages portal MyPortal