REST DataServicesを取得します
取得
/v1/portal/portals/{portalId}/restdataservices
リスト・ラッパー内のポータルのREST DataServicesに関する情報を返します
リクエスト
パス・パラメータ
- portalId: string
ポータルの短縮ID。
問合せパラメータ
レスポンス
サポートされているメディア・タイプ
- application/json
403レスポンス
無効なutokenが指定されました
例
このエンドポイントを使用して、ポータルのREST DataServicesの情報を取得します。
ポータルのREST DataServicesの情報を取得するには、RESTリソースでGETリクエストを発行します。リクエストでは、詳細を取得するポータルIDを指定する必要があります。問合せパラメータを使用して、結果をフィルタできます。次の書式を使用し、cURLを使用してGETリクエストを発行します。
curl -i -X GET
http://hostname:port/rest/api/v1/portal/portals/{portalId}/restdataservices?utoken=utoken
-H 'Content-Type: application/json'
説明:
HTTPステータス・コード
HTTP_STATUS = 200
レスポンス本文の例
この例では、ポータルのrestdataservicesの情報を表示できます。JSON形式のレスポンス本文のコンテンツはJSON形式です。
"resourceType": "urn:oracle:webcenter:portal:restdataservices",
"startIndex": 0,
"itemsPerPage": 10,
"items": [
{
"links": [
{
"rel": "urn:oracle:webcenter:portal:restdataservice",
"resourceType": "application/zip",
"capabilities": "urn:oracle:webcenter:read",
},
],
"resourceType": "urn:oracle:webcenter:portal:restdataservice",
"dstype": "REST",
"dcid": "dc_srcountds_ptpx",
"dcxpath": "oracle.webcenter.internal.siteresources.scopedMD.dataControl.DataControls",
"connectionName": "conn_srcountds_uDSd",
"translatedDescription": "Count of various statuses of Service Requests given a product id",
"visible": true,
"displayName": "SR Count DS",
"customAttributes": {},
"usesCustomSecurity": false,
"seeded": false,
"name": "SR Count DS",
"namespace": "oracle.webcenter.portal.persistence.DataServiceEntity",
"modifier": "weblogic",
"modified": "2018-07-26T02:38:43.866Z",
"creator": "weblogic",
"description": "Count of various statuses of Service Requests given a product id",
"currentVersionId": "acd12342-9843-41e2-95ec-24b717b0f30e",
"created": "2015-07-17T17:04:31.853Z",
"shortId": "AoC",
"locale": "en_US",
"id": "5de73ae9f363"
},