Newer Version Available
ManagedContent クラス
名前空間
ManagedContent メソッド
createManagedContent(ManagedContentInputParam)
API バージョン
60.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.ManagedContentDocument createManagedContent(ConnectApi.ManagedContentDocumentInput ManagedContentInputParam)
パラメーター
- ManagedContentInputParam
- 型: ConnectApi.ManagedContentDocumentInput
- 管理コンテンツを作成するための情報を含む onnectApi.ManagedContentDocumentInput 入力クラス。
createManagedContentWithMedia(ManagedContentInputParam, contentData)
API バージョン
60.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.ManagedContentDocument createManagedContentWithMedia(ConnectApi.ManagedContentDocumentInput ManagedContentInputParam, ConnectApi.BinaryInput contentData)
パラメーター
- ManagedContentInputParam
- 型: ConnectApi.ManagedContentDocumentInput
- 管理コンテンツを作成するための情報を含む onnectApi.ManagedContentDocumentInput 入力クラス。
- contentData
- 型: ConnectApi.BinaryInput
- 管理コンテンツのコンテンツデータの新しいバイナリファイル。
deleteManagedContentVariant(variantId)
API バージョン
60.0
Chatter が必要かどうか
いいえ
署名
public static Void deleteManagedContentVariant(String variantId)
パラメーター
- variantId
- 型: String
- 削除するバリエーションの ID。
戻り値
型: Void
getAllContent(channelId, pageParam, pageSize, language, managedContentType, includeMetadata, startDate, endDate)
API バージョン
48.0
ゲストユーザーが使用可能
48.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.ManagedContentVersionCollection getAllContent(String channelId, Integer pageParam, Integer pageSize, String language, String managedContentType, Boolean includeMetadata, String startDate, String endDate)
パラメーター
- channelId
- 型: String
- チャネルの ID。
- pageParam
- 型: Integer
- 返すページの数。0 から開始します。null または 0 を渡すと、最初のページが返されます。
- pageSize
- 型: Integer
- ページあたりの項目数を指定します。有効な値は 1 ~ 250 です。パフォーマンス上の理由から、1 ページあたりの項目数は 25 個以下にすることをお勧めします。null を渡すと、デフォルトサイズの 25 に設定されます。
- language
- 型: String
- en_US などの管理コンテンツの言語ロケール。要求された翻訳が提供されていない場合、言語のデフォルトはコンテキストユーザーの言語に設定されます。コンテキストユーザーの言語が提供されていない場合、言語のデフォルトはコンテンツタイプの元の言語に設定されます。
- managedContentType
- 型: String
- cms_document や cms_image などのコンテンツタイプの API 参照名。
- includeMetadata
- 型: Boolean
- 応答にメタデータを含めるか (true)、否か (false) を指定します。デフォルト値は false です。
- startDate
- 型: String
- ISO 8601 形式で開始日を公開します (例: 2011-02-25T18:24:31.000Z)。
- endDate
- 型: String
- ISO 8601 形式で終了日を公開します (例: 2011-02-25T18:24:31.000Z)。
getAllContent(channelId, pageParam, pageSize, language, managedContentType, includeMetadata, startDate, endDate, showAbsoluteUrl)
API バージョン
50.0
ゲストユーザーが使用可能
50.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.ManagedContentVersionCollection getAllContent(String channelId, Integer pageParam, Integer pageSize, String language, String managedContentType, Boolean includeMetadata, String startDate, String endDate, Boolean showAbsoluteUrl)
パラメーター
- channelId
- 型: String
- チャネルの ID。
- pageParam
- 型: Integer
- 返すページの数。0 から開始します。null または 0 を渡すと、最初のページが返されます。
- pageSize
- 型: Integer
- ページあたりの項目数を指定します。有効な値は 1 ~ 250 です。パフォーマンス上の理由から、1 ページあたりの項目数は 25 個以下にすることをお勧めします。null を渡すと、デフォルトサイズの 25 に設定されます。
- language
- 型: String
- en_US などの管理コンテンツの言語ロケール。要求された翻訳が提供されていない場合、言語のデフォルトはコンテキストユーザーの言語に設定されます。コンテキストユーザーの言語が提供されていない場合、言語のデフォルトはコンテンツタイプの元の言語に設定されます。
- managedContentType
- 型: String
- cms_document や cms_image などのコンテンツタイプの API 参照名。
- includeMetadata
- 型: Boolean
- 応答にメタデータを含めるか (true)、否か (false) を指定します。デフォルト値は false です。
- startDate
- 型: String
- ISO 8601 形式で開始日を公開します (例: 2011-02-25T18:24:31.000Z)。
- endDate
- 型: String
- ISO 8601 形式で終了日を公開します (例: 2011-02-25T18:24:31.000Z)。
- showAbsoluteUrl
- 型: Boolean
- 出力クラスで絶対 URL を表示するか (true)、否か (false) を示します。デフォルト値は false です。
getAllDeliveryChannels(pageParam, pageSize)
API バージョン
48.0
ゲストユーザーが使用可能
48.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.ManagedContentChannelCollection getAllDeliveryChannels(Integer pageParam, Integer pageSize)
パラメーター
getAllManagedContent(communityId, pageParam, pageSize, language, managedContentType)
API バージョン
47.0
ゲストユーザーが使用可能
47.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.ManagedContentVersionCollection getAllManagedContent(String communityId, Integer pageParam, Integer pageSize, String language, String managedContentType)
パラメーター
- communityId
- 型: String
- Experience Cloud サイトの ID。
- pageParam
- 型: Integer
- 返すページの数。0 から開始します。null または 0 を渡すと、最初のページが返されます。
- pageSize
- 型: Integer
- ページあたりの項目数を指定します。有効な値は 1 ~ 250 です。パフォーマンス上の理由から、1 ページあたりの項目数は 25 個以下にすることをお勧めします。null を渡すと、デフォルトサイズの 25 に設���されます。
- language
- 型: String
- en_US などの管理コンテンツの言語ロケール。要求された翻訳が提供されていない場合、言語のデフォルトはコンテキストユーザーの言語に設定されます。コンテキストユーザーの言語が提供されていない場合、言語のデフォルトはコンテンツタイプの元の言語に設定されます。
- managedContentType
- 型: String
- cms_document や cms_image などのコンテンツタイプの API 参照名。
getAllManagedContent(communityId, pageParam, pageSize, language, managedContentType, showAbsoluteUrl)
API バージョン
50.0
ゲストユーザーが使用可能
50.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.ManagedContentVersionCollection getAllManagedContent(String communityId, Integer pageParam, Integer pageSize, String language, String managedContentType, Boolean showAbsoluteUrl)
パラメーター
- communityId
- 型: String
- Experience Cloud サイトの ID。
- pageParam
- 型: Integer
- 返すページの数。0 から開始します。null または 0 を渡すと、最初のページが返されます。
- pageSize
- 型: Integer
- ページあたりの項目数を指定します。有効な値は 1 ~ 250 です。パフォーマンス上の理由から、1 ページあたりの項目数は 25 個以下にすることをお勧めします。null を渡すと、デフォルトサイズの 25 に設定されます。
- language
- 型: String
- en_US などの管理コンテンツの言語ロケール。要求された翻訳が提供されていない場合、言語のデフォルトはコンテキストユーザーの言語に設定されます。コンテキストユーザーの言語が提供されていない場合、言語のデフォルトはコンテンツタイプの元の言語に設定されます。
- managedContentType
- 型: String
- cms_document や cms_image などのコンテンツタイプの API 参照名。
- showAbsoluteUrl
- 型: Boolean
- 出力クラスで絶対 URL を表示するか (true)、否か (false) を示します。デフォルト値は false です。
getContentByContentKeys(channelId, contentKeys, pageParam, pageSize, language, managedContentType, includeMetadata, startDate, endDate, showAbsoluteUrl)
API バージョン
51.0
ゲストユーザーが使用可能
51.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.ManagedContentVersionCollection getContentByContentKeys(String channelId, List<String> contentKeys, Integer pageParam, Integer pageSize, String language, String managedContentType, Boolean includeMetadata, String startDate, String endDate, Boolean showAbsoluteUrl)
パラメーター
- channelId
- 型: String
- チャネルの ID。
- contentKeys
- 型: List<String>
- 管理コンテンツの最大 50 個のコンテンツキーのリスト。コンテンツキーは MCA4CCV5QS2BAB5H7YRCRPTCWGZQ などのユニバーサル一意識別子 (UUID) です。
- pageParam
- 型: Integer
- 返すページの数。0 から開始します。null または 0 を渡すと、最初のページが返されます。
- pageSize
- 型: Integer
- ページあたりの項目数を指定します。有効な値は 1 ~ 250 です。パフォーマンス上の理由から、1 ページあたりの項目数は 25 個以下にすることをお勧めします。null を渡すと、デフォルトサイズの 25 に設定されます。
- language
- 型: String
- en_US などの管理コンテンツの言語ロケール。要求された翻訳が提供されていない場合、言語のデフォルトはコンテキストユーザーの言語に設定されます。コンテキストユーザーの言語が提供されていない場合、言語のデフォルトはコンテンツタイプの元の言語に設定されます。
- managedContentType
- 型: String
- cms_document や cms_image などのコンテンツタイプの API 参照名。
- includeMetadata
- 型: Boolean
- 応答にメタデータを含めるか (true)、否か (false) を指定します。デフォルト値は false です。
- startDate
- 型: String
- ISO 8601 形式で開始日を公開します (例: 2011-02-25T18:24:31.000Z)。
- endDate
- 型: String
- ISO 8601 形式で終了日を公開します (例: 2011-02-25T18:24:31.000Z)。
- showAbsoluteUrl
- 型: Boolean
- 出力クラスで絶対 URL を表示するか (true)、否か (false) を示します。デフォルト値は false です。
getContentByIds(channelId, managedContentIds, pageParam, pageSize, language, managedContentType, includeMetadata, startDate, endDate)
API バージョン
48.0
ゲストユーザーが使用可能
48.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.ManagedContentVersionCollection getContentByIds(String channelId, List<String> managedContentIds, Integer pageParam, Integer pageSize, String language, String managedContentType, Boolean includeMetadata, String startDate, String endDate)
パラメーター
- channelId
- 型: String
- チャネルの ID。
- managedContentIds
- 型: List<String>
- 管理コンテンツ ID のカンマ区切りリスト。HTTP/2 クライアントは最大 200 の ID をサポートします。HTTP/1.1 クライアントはサポートしません。
- pageParam
- 型: Integer
- 返すページの数。0 から開始します。null または 0 を渡すと、最初のページが返されます。
- pageSize
- 型: Integer
- ページあたりの項目数を指定します。有効な値は 1 ~ 250 です。パフォーマンス上の理由から、1 ページあたりの項目数は 25 個以下にすることをお勧めします。null を渡すと、デフォルトサイズの 25 に設定されます。
- language
- 型: String
- en_US などの管理コンテンツの言語ロケール。要求された翻訳が提供されていない場合、言語のデフォルトはコンテキストユーザーの言語に設定されます。コンテキストユーザーの言語が提供されていない場合、言語のデフォルトはコンテンツタイプの元の言語に設定されます。
- managedContentType
- 型: String
- cms_document や cms_image などのコンテンツタイプの API 参照名。
- includeMetadata
- 型: Boolean
- 応答にメタデータを含めるか (true)、否か (false) を指定します。デフォルト値は false です。
- startDate
- 型: String
- ISO 8601 形式で開始日を公開します (例: 2011-02-25T18:24:31.000Z)。
- endDate
- 型: String
- ISO 8601 形式で終了日を公開します (例: 2011-02-25T18:24:31.000Z)。
getContentByIds(channelId, managedContentIds, pageParam, pageSize, language, managedContentType, includeMetadata, startDate, endDate, showAbsoluteUrl)
API バージョン
50.0
ゲストユーザーが使用可能
50.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.ManagedContentVersionCollection getContentByIds(String channelId, List<String> managedContentIds, Integer pageParam, Integer pageSize, String language, String managedContentType, Boolean includeMetadata, String startDate, String endDate, Boolean showAbsoluteUrl)
パラメーター
- channelId
- 型: String
- チャネルの ID。
- managedContentIds
- 型: List<String>
- 管理コンテンツ ID のカンマ区切りリスト。HTTP/2 クライアントは最大 200 の ID をサポートします。HTTP/1.1 クライアントはサポートしません。
- pageParam
- 型: Integer
- 返すページの数。0 から開始します。null または 0 を渡すと、最初のページが返されます。
- pageSize
- 型: Integer
- ページあたりの項目数を指定します。有効な値は 1 ~ 250 です。パフォーマンス上の理由から、1 ページあたりの項目数は 25 個以下にすることをお勧めします。null を渡すと、デフォルトサイズの 25 に設定されます。
- language
- 型: String
- en_US などの管理コンテンツの言語ロケール。要求された翻訳が提供されていない場合、言語のデフォルトはコンテキストユーザーの言語に設定されます。コンテキストユーザーの言語が提供されていない場合、言語のデフォルトはコンテンツタイプの元の言語に設定されます。
- managedContentType
- 型: String
- cms_document や cms_image などのコンテンツタイプの API 参照名。
- includeMetadata
- 型: Boolean
- 応答にメタデータを含めるか (true)、否か (false) を指定します。デフォルト値は false です。
- startDate
- 型: String
- ISO 8601 形式で開始日を公開します (例: 2011-02-25T18:24:31.000Z)。
- endDate
- 型: String
- ISO 8601 形式で終了日を公開します (例: 2011-02-25T18:24:31.000Z)。
- showAbsoluteUrl
- 型: Boolean
- 出力クラスで絶対 URL を表示するか (true)、否か (false) を示します。デフォルト値は false です。
getManagedContentByContentKeys(communityId, contentKeys, pageParam, pageSize, language, managedContentType, showAbsoluteUrl)
API バージョン
51.0
ゲストユーザーが使用可能
51.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.ManagedContentVersionCollection getManagedContentByContentKeys(String communityId, List<String> contentKeys, Integer pageParam, Integer pageSize, String language, String managedContentType, Boolean showAbsoluteUrl)
パラメーター
- communityId
- 型: String
- Experience Cloud サイトの ID。
- contentKeys
- 型: List<String>
- 管理コンテンツの最大 50 個のコンテンツキーのリスト。コンテンツキーは MCA4CCV5QS2BAB5H7YRCRPTCWGZQ などのユニバーサル一意識別子 (UUID) です。
- pageParam
- 型: Integer
- 返すページの数。0 から開始します。null または 0 を渡すと、最初のページが返されます。
- pageSize
- 型: Integer
- ページあたりの項目数を指定します。有効な値は 1 ~ 250 です。パフォーマンス上の理由から、1 ページあたりの項目数は 25 個以下にすることをお勧めします。null を渡すと、デフォルトサイズの 25 に設定されます。
- language
- 型: String
- en_US などの管理コンテンツの言語ロケール。要求された翻訳が提供されていない場合、言語のデフォルトはコンテキストユーザーの言語に設定されます。コンテキストユーザーの言語が提供されていない場合、言語のデフォルトはコンテンツタイプの元の言語に設定されます。
- managedContentType
- 型: String
- cms_document や cms_image などのコンテンツタイプの API 参照名。
- showAbsoluteUrl
- 型: Boolean
- 出力クラスで絶対 URL を表示するか (true)、否か (false) を示します。デフォルト値は false です。
getManagedContentByIds(communityId, managedContentIds, pageParam, pageSize, language, managedContentType)
API バージョン
47.0
ゲストユーザーが使用可能
47.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.ManagedContentVersionCollection getManagedContentByIds(String communityId, List<String> managedContentIds, Integer pageParam, Integer pageSize, String language, String managedContentType)
パラメーター
- communityId
- 型: String
- Experience Cloud サイトの ID。
- managedContentIds
- 型: List<String>
- 管理コンテンツ ID のカンマ区切りリスト。HTTP/2 クライアントは最大 200 の ID をサポートします。HTTP/1.1 クライアントはサポートしません。
- pageParam
- 型: Integer
- 返すページの数。0 から開始します。null または 0 を渡すと、最初のページが返されます。
- pageSize
- 型: Integer
- ページあたりの項目数を指定します。有効な値は 1 ~ 250 です。パフォーマンス上の理由から、1 ページあたりの項目数は 25 個以下にすることをお勧めします。null を渡すと、デフォルトサイズの 25 に設定されます。
- language
- 型: String
- en_US などの管理コンテンツの言語ロケール。要求された翻訳が提供されていない場合、言語のデフォルトはコンテキストユーザーの言語に設定されます。コンテキストユーザーの言語が提供されていない場合、言語のデフォルトはコンテンツタイプの元の言語に設定されます。
- managedContentType
- 型: String
- cms_document や cms_image などのコンテンツタイプの API 参照名。
getManagedContentByIds(communityId, managedContentIds, pageParam, pageSize, language, managedContentType, showAbsoluteUrl)
API バージョン
50.0
ゲストユーザーが使用可能
50.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.ManagedContentVersionCollection getManagedContentByIds(String communityId, List<String> managedContentIds, Integer pageParam, Integer pageSize, String language, String managedContentType, Boolean showAbsoluteUrl)
パラメーター
- communityId
- 型: String
- Experience Cloud サイトの ID。
- managedContentIds
- 型: List<String>
- 管理コンテンツ ID のカンマ区切りリスト。
- pageParam
- 型: Integer
- 返すページの数。0 から開始します。null または 0 を渡すと、最初のページが返されます。
- pageSize
- 型: Integer
- ページあたりの項目数を指定します。有効な値は 1 ~ 250 です。パフォーマンス上の理由から、1 ページあたりの項目数は 25 個以下にすることをお勧めします。null を渡すと、デフォルトサイズの 25 に設定されます。
- language
- 型: String
- en_US などの管理コンテンツの言語ロケール。要求された翻訳が提供されていない場合、言語のデフォルトはコンテキストユーザーの言語に設定されます。コンテキストユーザーの言語が提供されていない場合、言語のデフォルトはコンテンツタイプの元の言語に設定されます。
- managedContentType
- 型: String
- cms_document や cms_image などのコンテンツタイプの API 参照名。
- showAbsoluteUrl
- 型: Boolean
- 出力クラスで絶対 URL を表示するか (true)、否か (false) を示します。デフォルト値は false です。
getManagedContentByTopics(communityId, topics, pageParam, pageSize, language, managedContentType)
API バージョン
47.0
ゲストユーザーが使用可能
47.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.ManagedContentVersionCollection getManagedContentByTopics(String communityId, List<String> topics, Integer pageParam, Integer pageSize, String language, String managedContentType)
パラメーター
- communityId
- 型: String
- Experience Cloud サイトの ID。
- topics
- 型: List<String>
- コンテンツトピック名のカンマ区切りリスト。コンテンツトピック名は、最大 15 個指定できます。
- pageParam
- 型: Integer
- 返すページの数。0 から開始します。null または 0 を渡すと、最初のページが返されます。
- pageSize
- 型: Integer
- ページあたりの項目数を指定します。有効な値は 1 ~ 250 です。パフォーマンス上の理由から、1 ページあたりの項目数は 25 個以下にすることをお勧めします。null を渡すと、デフォルトサイズの 25 に設定されます。
- language
- 型: String
- en_US などの管理コンテンツの言語ロケール。要求された翻訳が提供されていない場合、言語のデフォルトはコンテキストユーザーの言語に設定されます。コンテキストユーザーの言語が提供されていない場合、言語のデフォルトはコンテンツタイプの元の言語に設定されます。
- managedContentType
- 型: String
- cms_document や cms_image などのコンテンツタイプの API 参照名。
getManagedContentByTopics(communityId, topics, pageParam, pageSize, language, managedContentType, showAbsoluteUrl)
API バージョン
50.0
ゲストユーザーが使用可能
50.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.ManagedContentVersionCollection getManagedContentByTopics(String communityId, List<String> topics, Integer pageParam, Integer pageSize, String language, String managedContentType, Boolean showAbsoluteUrl)
パラメーター
- communityId
- 型: String
- Experience Cloud サイトの ID。
- topics
- 型: List<String>
- コンテンツトピック名のカンマ区切りリスト。コンテンツトピック名は、最大 15 個指定できます。
- pageParam
- 型: Integer
- 返すページの数。0 から開始します。null または 0 を渡すと、最初のページが返されます。
- pageSize
- 型: Integer
- ページあたりの項目数を指定します。有効な値は 1 ~ 250 です。パフォーマンス上の理由から、1 ページあたりの項目数は 25 個以下にすることをお勧めします。null を渡すと、デフォルトサイズの 25 に設定されます。
- language
- 型: String
- en_US などの管理コンテンツの言語ロケール。要求された翻訳が提供されていない場合、言語のデフォルトはコンテキストユーザーの言語に設定されます。コンテキストユーザーの言語が提供されていない場合、言語のデフォルトはコンテンツタイプの元の言語に設定されます。
- managedContentType
- 型: String
- cms_document や cms_image などのコンテンツタイプの API 参照名。
- showAbsoluteUrl
- 型: Boolean
- 出力クラスで絶対 URL を表示するか (true)、否か (false) を示します。デフォルト値は false です。
getManagedContentByTopicsAndContentKeys(communityId, contentKeys, topics, pageParam, pageSize, language, managedContentType, showAbsoluteUrl)
API バージョン
51.0
ゲストユーザーが使用可能
51.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.ManagedContentVersionCollection getManagedContentByTopicsAndContentKeys(String communityId, List<String> contentKeys, List<String> topics, Integer pageParam, Integer pageSize, String language, String managedContentType, Boolean showAbsoluteUrl)
パラメーター
- communityId
- 型: String
- Experience Cloud サイトの ID。
- contentKeys
- 型: List<String>
- 管理コンテンツの最大 50 個のコンテンツキーのリスト。コンテンツキーは MCA4CCV5QS2BAB5H7YRCRPTCWGZQ などのユニバーサル一意識別子 (UUID) です。
- topics
- 型: List<String>
- コンテンツトピック名のカンマ区切りリスト。コンテンツトピック名は、最大 15 個指定できます。
- pageParam
- 型: Integer
- 返すページの数。0 から開始します。null または 0 を渡すと、最初のページが返されます。
- pageSize
- 型: Integer
- ページあたりの項目数を指定します。有効な値は 1 ~ 250 です。パフォーマンス上の理由から、1 ページあたりの項目数は 25 個以下にすることをお勧めします。null を渡すと、デフォルトサイズの 25 に設定されます。
- language
- 型: String
- en_US などの管理コンテンツの言語ロケール。要求された翻訳が提供されていない場合、言語のデフォルトはコンテキストユーザーの言語に設定されます。コンテキストユーザーの言語が提供されていない場合、言語のデフォルトはコンテンツタイプの元の言語に設定されます。
- managedContentType
- 型: String
- cms_document や cms_image などのコンテンツタイプの API 参照名。
- showAbsoluteUrl
- 型: Boolean
- 出力クラスで絶対 URL を表示するか (true)、否か (false) を示します。デフォルト値は false です。
getManagedContentByTopicsAndIds(communityId, managedContentIds, topics, pageParam, pageSize, language, managedContentType)
API バージョン
47.0
ゲストユーザーが使用可能
47.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.ManagedContentVersionCollection getManagedContentByTopicsAndIds(String communityId, List<String> managedContentIds, List<String> topics, Integer pageParam, Integer pageSize, String language, String managedContentType)
パラメーター
- communityId
- 型: String
- Experience Cloud サイトの ID。
- managedContentIds
- 型: List<String>
- 管理コンテンツ ID のカンマ区切りリスト。HTTP/2 クライアントは最大 200 の ID をサポートします。HTTP/1.1 クライアントはサポートしません。
- topics
- 型: List<String>
- コンテンツトピック名のカンマ区切りリスト。コンテンツトピック名は、最大 15 個指定できます。
- pageParam
- 型: Integer
- 返すページの数。0 から開始します。null または 0 を渡すと、最初のページが返されます。
- pageSize
- 型: Integer
- ページあたりの項目数を指定します。有効な値は 1 ~ 250 です。パフォーマンス上の理由から、1 ページあたりの項目数は 25 個以下にすることをお勧めします。null を渡すと、デフォルトサイズの 25 に設定されます。
- language
- 型: String
- en_US などの管理コンテンツの言語ロケール。要求された翻訳が提供されていない場合、言語のデフォルトはコンテキストユーザーの言語に設定されます。コンテキストユーザーの言語が提供されていない場合、言語のデフォルトはコンテンツタイプの元の言語に設定されます。
- managedContentType
- 型: String
- cms_document や cms_image などのコンテンツタイプの API 参照名。
getManagedContentByTopicsAndIds(communityId, managedContentIds, topics, pageParam, pageSize, language, managedContentType, showAbsoluteUrl)
API バージョン
50.0
ゲストユーザーが使用可能
50.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.ManagedContentVersionCollection getManagedContentByTopicsAndIds(String communityId, List<String> managedContentIds, List<String> topics, Integer pageParam, Integer pageSize, String language, String managedContentType, Boolean showAbsoluteUrl)
パラメーター
- communityId
- 型: String
- Experience Cloud サイトの ID。
- managedContentIds
- 型: List<String>
- 管理コンテンツ ID のカンマ区切りリスト。HTTP/2 クライアントは最大 200 の ID をサポートします。HTTP/1.1 クライアントはサポートしません。
- topics
- 型: List<String>
- コンテンツトピック名のカンマ区切りリスト。コンテンツトピック名は、最大 15 個指定できます。
- pageParam
- 型: Integer
- 返すページの数。0 から開始します。null または 0 を渡すと、最初のページが返されます。
- pageSize
- 型: Integer
- ページあたりの項目数を指定します。有効な値は 1 ~ 250 です。パフォーマンス上の理由から、1 ページあたりの項目数は 25 個以下にすることをお勧めします。null を渡すと、デフォルトサイズの 25 に設定されます。
- language
- 型: String
- en_US などの管理コンテンツの言語ロケール。要求された翻訳が提供されていない場合、言語のデフォルトはコンテキストユーザーの言語に設定されます。コンテキストユーザーの言語が提供されていない場合、言語のデフォルトはコンテンツタイプの元の言語に設定されます。
- managedContentType
- 型: String
- cms_document や cms_image などのコンテンツタイプの API 参照名。
- showAbsoluteUrl
- 型: Boolean
- 出力クラスで絶対 URL を表示するか (true)、否か (false) を示します。デフォルト値は false です。
getManagedContentSpace(contentSpaceId)
API バージョン
55.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.ManagedContentSpace getManagedContentSpace(String contentSpaceId)
パラメーター
- contentSpaceId
- 型: String
- 管理コンテンツ空間の ID。
publish(publishInput)
API バージョン
60.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.ManagedContentPublishOutput publish(ConnectApi.ManagedContentPublishInput publishInput)
パラメーター
- publishInput
- 型: ConnectApi.ManagedContentPublishInput
- 公開するコンテンツを指定する ConnectApi.ManagedContentPublishInput リクエストボディ。
replaceManagedContentVariant(variantId, ManagedContentVariantInputParam)
API バージョン
60.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.ManagedContentVariant replaceManagedContentVariant(String variantId, ConnectApi.ManagedContentVariantUpdateInput ManagedContentVariantInputParam)
パラメーター
- variantId
- 型: String
- 置き換える管理コンテンツバリエーションの ID。
- ManagedContentVariantInputParam
- 型: ConnectApi.ManagedContentVariantUpdateInput
- 既存のバリアントを置き換える管理コンテンツバリエーション関する情報を含む ConnectApi.ManagedContentVariantUpdateInput 入力クラス。
replaceManagedContentVariantWithMedia(variantId, ManagedContentVariantInputParam, contentData)
API バージョン
60.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.ManagedContentVariant replaceManagedContentVariantWithMedia(String variantId, ConnectApi.ManagedContentVariantUpdateInput ManagedContentVariantInputParam, ConnectApi.BinaryInput contentData)
パラメーター
- variantId
- 型: String
- 置き換える管理コンテンツバリエーションの ID。
- ManagedContentVariantInputParam
- 型: ConnectApi.ManagedContentVariantUpdateInput
- 既存のバリアントを置き換える管理コンテンツバリエーション関する情報を含む ConnectApi.ManagedContentVariantUpdateInput 入力クラス。
- contentData
- 型: ConnectApi.BinaryInput
- 管理コンテンツバリエーションのコンテンツデータを置き換えるための新しいバイナリファイル。
unpublish(unpublishInput)
API バージョン
60.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.ManagedContentUnpublishOutput unpublish(ConnectApi.ManagedContentUnpublishInput unpublishInput)
パラメーター
- unpublishInput
- 型: ConnectApi.ManagedContentUnpublishInput
- 非公開にするコンテンツを指定する ConnectApi,ManagedContentUnpublishInput リクエストボディ。