連続問合せの取得。プロジェクトに特有の連続問合せのリストを取得します。

get

/OracleBAMREST/api/projects/{projectname}/queries/businessqueries/continuousqueries

リクエスト

この操作にはリクエスト・パラメータはありません。

レスポンス

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

200 レスポンス

成功
本文
レスポンスの例(application/json)
{
    "items":[
        {
            "id":"/project/TimeSeries_DatetimeDrilling/continuousquery/removeme",
            "name":"removeme",
            "displayName":"removeme",
            "links":[
                {
                    "rel":"self",
                    "href":"http://example.com:7001/OracleBAMREST/api/projects/TimeSeries_DatetimeDrilling/queries/continuousqueries/removeme"
                }
            ]
        }
    ],
    "links":[
        {
            "rel":"self",
            "href":"http://example.com:7001/OracleBAMREST/api/projects/TimeSeries_DatetimeDrilling/queries/continuousqueries"
        }
    ]
}

次の例は、cURLを使用してRESTリソースにGETリクエストを発行して、すべてのタフィールドを参照する方法を示しています。

curl -i -X GET https://<hostname>/content/management/api/v1/fields

例: レスポンス・ヘッダー

次にレスポンス・ヘッダーの例を示します。

HTTP/1.1 200 OK
Cache-Control: max-age=0
Content-Type: application/json
Date: Tue, 03 Jan 2017 05:35:59 GMT
Etag: "de89dcd094e498518b2d1777e0a13ed86ab3266426043d473fdbb277b175b679"
Server: Apache-Coyote/1.1
Transfer-Encoding: chunked
X-XSS-Protection: 1
x-content-type-options

例: レスポンス本文

JSON形式で返されるレスポンスの例を次に示します。すべてのフィールド名および各URLをリストします。この例では、CaaSシステムで定義されている結果に示されている2つのフィールド(ModelおよびYear)があります。

{
        "hasMore": false,
        "limit": 10,
        "count": 2,
        "items":
        [
            {
                "name": "Model",
                "description": "List Models description",
                "link":
                {
                    "href": "https://<hostname>/content/management/api/v1/fields/Model",
                    "rel": "Reference",
                    "templated": false,
                    "method": "GET",
                    "profile": "",
                    "mediaType": ""
                }
            },
            {
                "name": "Year",
                "description": "Year description",
                "link":
                {
                    "href": " https://<hostname>/content /management/api/v1/fields/Year",
                    "rel": "Reference",
                    "templated": false,
                    "method": "GET",
                    "profile": "",
                    "mediaType": ""
                }
            }
        ],
        "links":
        [
            {
                "href": "https://<hostname>/content/management/api/v1/fields",
                "rel": "self",
                "templated": false,
                "method": "",
                "profile": "",
                "mediaType": ""
            },
            {
                "href": "https://<hostname>/content/management/api/v1/fields",
                "rel": "canonical",
                "templated": false,
                "method": "",
                "profile": "",
                "mediaType": ""
            },
            {
                "href": "https://<hostname>/content/management/api/v1/metadata-catalog/fields",
                "rel": "describedby",
                "templated": false,
                "method": "GET",
                "profile": "",
                "mediaType": "application/schema+json"
            },
            {
                "href": "https://<hostname>/content/management/api/v1/fields?offset=10",
                "rel": "next",
                "templated": false,
                "method": "",
                "profile": "",
                "mediaType": ""
            },
            {
                "href": "https://<hostname>/content/management/api/v1/fields?offset=0",
                "rel": "first",
                "templated": false,
                "method": "",
                "profile": "",
                "mediaType": ""
            },
            {
                "href": "https://<hostname>/content/management/api/v1/fields?offset=30",
                "rel": "last",
                "templated": false,
                "method": "",
                "profile": "",
                "mediaType": ""
            }
        ],
        "offset": 0
    }