この文章は Salesforce 機械翻訳システムを使用して翻訳されました。詳細はこちらをご参照ください。
英語に切り替える

Experience Cloud Sites List

コンテキストユーザが使用できるすべての Experience Cloud サイトのリストを取得します。Experience Cloud サイトを作成します。
リソース
1/connect/communities/
使用可能なバージョン
28.0
Chatter が必要かどうか
いいえ
HTTP メソッド
GET、POST

POST は、バージョン 46.0 以降で使用できます。

GET の要求パラメータ
パラメータ名 説明 必須か省略可能 使用可能なバージョン
status String 指定された状況のサイトのみを返します。有効な値は、次のとおりです。
  • Live
  • Inactive
  • UnderConstruction

「環境を管理」権限を持つユーザのみが、Inactive 状況のサイトを表示できます。

省略可能 28.0
GET のレスポンスボディ
Community Page
POST のリクエストボディ
ルート XML タグ
<community>
JSON の例
1{
2   "name":"The Capricorn Cafe",
3   "urlPathPrefix":"capricorncafe",
4   "templateName":"Customer Service",
5   "description":"Coffee and coffee products for the most discerning tastes."
6}
プロパティ
名前 説明 必須か省略可能 使用可能なバージョン
description String サイトの説明。 省略可能 46.0
name String サイトの名前。 必須 46.0
templateName String サイトのエクスペリエンスビルダーテンプレートの名前。

使用可能なテンプレートとその名前のリストを取得するには、Communities Templates リソースを使用します。

必須 46.0
urlPathPrefix String サイトの URL プレフィックス。たとえば、サイト URL が SitesSubdomainName.force.com/customers の場合、customersUrlPathPrefix になります。 すでにあるサイトに urlPathPrefix がない場合は必須 46.0
POST のレスポンスボディ
Community Create