Skip to content

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

ArgumentRequiredDescription
channelIDYesChannel ID

Flags

FlagTypeRequiredDefaultDescription
--formatoptionNojsonOutput format (json, compact, yaml, table)
--fieldsoptionNoComma-separated top-level fields to include in output
--dry-runbooleanNoPrint HTTP request details and exit without executing
--quietbooleanNoSuppress all stderr progress/warning output
--verbosebooleanNoEmit full HTTP request/response details to stderr
--no-cachebooleanNoBypass token file cache; perform fresh OAuth exchange
--profileoptionNodefaultNamed config profile

Examples

sh
pega pages channel MyChannel

pages dashboard

Get page details for displaying a Dashboard

Usage

bash
pega pages dashboard <dashboardID> [flags]

Source endpoint: GET /dashboard/{dashboardID}view command source

Arguments

ArgumentRequiredDescription
dashboardIDYesDashboard ID

Flags

FlagTypeRequiredDefaultDescription
--formatoptionNojsonOutput format (json, compact, yaml, table)
--fieldsoptionNoComma-separated top-level fields to include in output
--dry-runbooleanNoPrint HTTP request details and exit without executing
--quietbooleanNoSuppress all stderr progress/warning output
--verbosebooleanNoEmit full HTTP request/response details to stderr
--no-cachebooleanNoBypass token file cache; perform fresh OAuth exchange
--profileoptionNodefaultNamed config profile

Examples

sh
pega pages dashboard MyDashboard

pages get

Get page details by page ID

Usage

bash
pega pages get <pageID> [flags]

Source endpoint: GET /pages/{pageID}view command source

Arguments

ArgumentRequiredDescription
pageIDYesPage ID

Flags

FlagTypeRequiredDefaultDescription
--formatoptionNojsonOutput format (json, compact, yaml, table)
--fieldsoptionNoComma-separated top-level fields to include in output
--dry-runbooleanNoPrint HTTP request details and exit without executing
--quietbooleanNoSuppress all stderr progress/warning output
--verbosebooleanNoEmit full HTTP request/response details to stderr
--no-cachebooleanNoBypass token file cache; perform fresh OAuth exchange
--profileoptionNodefaultNamed config profile
--page-classoptionNoClass in which the page lives (→ ?pageClass=)

Examples

sh
pega pages get MyPage
sh
pega pages get MyPage --page-class CW-Work

pages 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

ArgumentRequiredDescription
pageIDYesPage ID

Flags

FlagTypeRequiredDefaultDescription
--formatoptionNojsonOutput format (json, compact, yaml, table)
--fieldsoptionNoComma-separated top-level fields to include in output
--dry-runbooleanNoPrint HTTP request details and exit without executing
--quietbooleanNoSuppress all stderr progress/warning output
--verbosebooleanNoEmit full HTTP request/response details to stderr
--no-cachebooleanNoBypass token file cache; perform fresh OAuth exchange
--profileoptionNodefaultNamed config profile
--data-contextoptionYesData 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

ArgumentRequiredDescription
insightIDYesInsight ID

Flags

FlagTypeRequiredDefaultDescription
--formatoptionNojsonOutput format (json, compact, yaml, table)
--fieldsoptionNoComma-separated top-level fields to include in output
--dry-runbooleanNoPrint HTTP request details and exit without executing
--quietbooleanNoSuppress all stderr progress/warning output
--verbosebooleanNoEmit full HTTP request/response details to stderr
--no-cachebooleanNoBypass token file cache; perform fresh OAuth exchange
--profileoptionNodefaultNamed config profile

Examples

sh
pega pages insight MyInsight

pages localization

Get locale bundle by locale name

Usage

bash
pega pages localization <locale> [flags]

Source endpoint: GET /localizations/{locale}view command source

Arguments

ArgumentRequiredDescription
localeYesLocale bundle name (e.g. en_US)

Flags

FlagTypeRequiredDefaultDescription
--formatoptionNojsonOutput format (json, compact, yaml, table)
--fieldsoptionNoComma-separated top-level fields to include in output
--dry-runbooleanNoPrint HTTP request details and exit without executing
--quietbooleanNoSuppress all stderr progress/warning output
--verbosebooleanNoEmit full HTTP request/response details to stderr
--no-cachebooleanNoBypass token file cache; perform fresh OAuth exchange
--profileoptionNodefaultNamed config profile

Examples

sh
pega pages localization en_US

pages portal

Get portal details by portal ID

Usage

bash
pega pages portal <portalID> [flags]

Source endpoint: GET /portals/{portalID}view command source

Arguments

ArgumentRequiredDescription
portalIDYesPortal ID

Flags

FlagTypeRequiredDefaultDescription
--formatoptionNojsonOutput format (json, compact, yaml, table)
--fieldsoptionNoComma-separated top-level fields to include in output
--dry-runbooleanNoPrint HTTP request details and exit without executing
--quietbooleanNoSuppress all stderr progress/warning output
--verbosebooleanNoEmit full HTTP request/response details to stderr
--no-cachebooleanNoBypass token file cache; perform fresh OAuth exchange
--profileoptionNodefaultNamed config profile

Examples

sh
pega pages portal MyPortal