リソース・タイプ

WebCenter Sites集約REST APIで提供されるすべてのRESTリソースは、次のタイプに分類できます。

  • 単数リソース: 単数リソースは、WebCenter Sitesの単一エンティティのレスポンスを返します。単数リソース形式を持ちます。

  • port - WebCenter Portalを実行しているIPポートです。

  • コレクション・リソース: コレクション・リソースは、単数リソースのグループです。複数リソース形式を持ちます。たとえば、employeesは個々の従業員単数リソースをすべて含むコレクション・リソースです。

WebCenter Sitesでコレクション・リソースはページネーションをサポートします。WebCenter Sitesのコレクション・リソースの一般的なレスポンス形式は次のとおりです。

{
hasMore : A Boolean value. Tells whether there are more results. 
totalResults : Total size of results in the collection. 
count : Server-side pagination size.
limit : Number of results fetched in the response.
offset : starting index of the results.
items : Array. Results are available here, and each result is a singular resource.
links : Pagination links (next, prev, first, last) + links to self, canonical, and schema resources.
}