リソース・カタログを取得します

取得

/v1/portal/portals/{portalId}/resourcecatalogs

リスト・ラッパー内のポータルのリソース・カタログに関する情報を返します

リクエスト

パス・パラメータ
問合せパラメータ
先頭に戻る

レスポンス

サポートされているメディア・タイプ

403レスポンス

無効なutokenが指定されました
先頭に戻る

このエンドポイントを使用して、ポータルのリソース・カタログの情報を取得します。

ポータルのリソース・カタログの情報を取得するには、RESTリソースでGETリクエストを発行します。リクエストでは、詳細を取得する{portalid}を指定する必要があります。問合せパラメータを使用して、結果をフィルタできます。次の書式を使用し、cURLを使用してGETリクエストを発行します。

curl -i -X GET 
http://hostname:port/rest/api/v1/portal/portals/{portalId}/resourcecatalogs?utoken=utoken
   -H 'Content-Type: application/json'
  

説明:

  • hostname:portは、Oracle WebCenter Portalを実行中のホストとIPポートの名前です。例: example.com:8888

  • utokenは、ポータルAPIにアクセスするためのAPIトークンです。例: utoken=utoken=abcdIC05zgjZoqCF8ShWL42AhTVvq-fc8uFshnw%2A%2A。詳細は、「認証」を参照してください。

  • {portalId}は、ポータルのshort idです。ポータルのshort idを取得するには、「ポータルの取得」を参照してください。

HTTPステータス・コード

HTTP_STATUS = 200

レスポンス本文の例

この例では、ポータルのリソース・カタログの詳細を表示できます。JSON形式のレスポンス本文のコンテンツはJSON形式です。

{
    
    "resourceType": "urn:oracle:webcenter:portal:resourcecatalogs",
    "startIndex": 0,
    "itemsPerPage": 10,
    "items": [
        {
            "links": [
                {
                    "rel": "self",
                    "resourceType": "urn:oracle:webcenter:portal:resourcecatalog",
                    "capabilities": "urn:oracle:webcenter:update urn:oracle:webcenter:read",
                    "template": "http://example.com:8888/rest/api/v1/portal/resourcecatalogs/Aoc?expand={expand}={fields}@utoken=rrrrrr77ee_w**"
                },
                
            ],
            "resourceType": "urn:oracle:webcenter:portal:resourcecatalog",
            "translatedDescription": "Used when editing portal-level pages and task flows",
            "visible": true,
            "displayName": "Default Portal Catalog",
            "customAttributes": {},
            "descriptionKey": "DEFAULT_GROUP_SPACE_CATALOG_DESC",
            "displayNameKey": "DEFAULT_GROUP_SPACE_CATALOG",
            "usesCustomSecurity": false,
            "seeded": true,
            "contentDir": "/oracle/webcenter/siteresources/shared",
            "logoURL": "/adf/webcenter/srm_dflt_logo_qualifier.png",
            "excludedPortalIds": "s8bba98ff_4cbb_40b8_beee_296c916a23ed",
            "resourceBundle": "oracle.webcenter.webcenterapp.resource.WebCenterResourceBundle",
            "name": "Default Portal Catalog",
            "namespace": "resourceCatalog",
            "modifier": "system",
            "modified": "2018-07-26T01:46:21.533Z",
            "creator": "system",
            "description": "Used when editing portal-level pages and task flows",
            "currentVersionId": "d648e99b-2e0f-4eb6-aa4a-e09182984730",
            "created": "2018-07-26T01:46:21.533Z",
            "securityId": "oracle_webcenter_siteresource_42a1_84f0_5fa19a127974",
            "documentRef": "/oracle/adf/rc/metadata/scopedMD/defaultScope/DefaultGroupSpaceCatalog.xml",
            "shortId": "AeY",
            "locale": "en_US",
            "id": "ef3e3247-b88f-474"
        },
        
    ]
}
先頭に戻る