この環境の表示

get

/management/lifecycle/{version}/environments/{environment}

このリソースのGETメソッドは、リソースURLによって識別される環境に関する情報を返します。

ロール

管理者、デプロイヤ、モニター、オペレータ

リクエスト

パス・パラメータ
問合せパラメータ
  • excludeFields問合せパラメータは、レスポンスで返されるフィールドを制限するために使用します。これはフィールド名のカンマ区切りリストです。存在する場合は、名前がリストにないフィールドのみが返されます。存在しない場合は、すべてのフィールドが返されます(fields問合せパラメータが指定されている場合を除く)。ノート: excludeFieldsが指定されている場合、fieldsは指定できません。
  • fields問合せパラメータは、レスポンスで返されるフィールドを制限するために使用します。これはフィールド名のカンマ区切りリストです。存在する場合は、名前が一致するフィールドのみが返されます。存在しない場合は、すべてのフィールドが返されます(excludeFields問合せパラメータが指定されている場合を除く)。ノート: fieldsが指定されている場合、excludeFieldsは指定できません。
セキュリティ
トップに戻る

レスポンス

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

200レスポンス

返されるレスポンス本文には、指定した環境に関する情報が含まれます。

このメソッドは次のリンクを返すことができます。

  • rel=partitionCreateForm uri=/management/lifecycle/{version}/environments/{environment}/partitionCreateForm

  • rel=partitions uri=/management/lifecycle/{version}/environments/{environment}/partitions

  • rel=associatePartitions uri=/management/lifecycle/{version}/environments/{environment}/associatePartitions

  • rel=dissociatePartitions uri=/management/lifecycle/{version}/environments/{environment}/dissociatePartitions

本文()
ルート・スキーマ: Environment
タイプ: object
環境名が含まれ、テナント・リソース(パーティション)、PDBおよびサービスの論理コンテナを表します。
ソースを表示
トップに戻る

環境の表示

この例では、GETメソッドを使用して特定の環境に関する情報を表示します。

リクエストの例
curl -v \
--user username:password \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/lifecycle/latest/environments/sprite
レスポンスの例
HTTP/1.1 200 OK
Response Body:
{
    "name": "sprite",
    "links": [
        {
            "rel": "parent",
            "href": "http:\/\/localhost:7001\/management\/lifecycle\/latest\/environments"
        },
        {
            "rel": "self",
            "href": "http:\/\/localhost:7001\/management\/lifecycle\/latest\/environments\/sprite"
        },
        {
            "rel": "canonical",
            "href": "http:\/\/localhost:7001\/management\/lifecycle\/latest\/environments\/sprite"
        },
        {
            "rel": "partitionCreateForm",
            "href": "http:\/\/localhost:7001\/management\/lifecycle\/latest\/environments\/test1\/partitionCreateForm"
        },
        {
            "rel": "partitions",
            "href": "http:\/\/localhost:7001\/management\/lifecycle\/latest\/environments\/test1\/partitions"
        },
        {
            "rel": "associatePartitions",
            "href": "http:\/\/localhost:7001\/management\/lifecycle\/latest\/environments\/test1\/associatePartitions"
        },
        {
            "rel": "dissociatePartitions",
            "href": "http:\/\/localhost:7001\/management\/lifecycle\/latest\/environments\/test1\/dissociatePartitions"
        }
    ]
}
トップに戻る