このバージョンの表示
get
/management/weblogic/{version}
このバージョンを表示します。
注意: このWebLogic Serverドメインとその管理対象サーバーを管理するために使用されるリソース・ツリーへのリンクも返します。このリソース・ツリーはWLSTのBeanツリーに似ており、構成の表示と編集を行って実行時の動作をモニターできます。
リクエスト
パス・パラメータ
- version: string
WebLogic RESTインタフェースのバージョン。
問合せパラメータ
- excludeFields(optional): string
excludeFields問合せパラメータは、レスポンスで返されるフィールドを制限するために使用します。これはフィールド名のカンマ区切りリストです。存在する場合は、名前がリストにないフィールドのみが返されます。存在しない場合は、すべてのフィールドが返されます(fields問合せパラメータが指定されている場合を除く)。注意: excludeFieldsが指定されている場合、fieldsは指定できません。
- excludeLinks(optional): string
excludeLinks問合せパラメータは、レスポンスで返されるリンクを制限するために使用します。これはリンク関係名のカンマ区切りリストです。存在する場合は、関係名がリストにないリンクのみが返されます。存在しない場合は、すべてのリンクが返されます(links問合せパラメータが指定されている場合を除く)。注意: excludeLinksが指定されている場合、linksは指定できません。
- fields(optional): string
fields問合せパラメータは、レスポンスで返されるフィールドを制限するために使用します。これはフィールド名のカンマ区切りリストです。存在する場合は、名前が一致するフィールドのみが返されます。存在しない場合は、すべてのフィールドが返されます(excludeFields問合せパラメータが指定されている場合を除く)。注意: fieldsが指定されている場合、excludeFieldsは指定できません。
- links(optional): string
links問合せパラメータは、レスポンスで返されるリンクを制限するために使用します。これはリンク関係名のカンマ区切りリストです。存在する場合は、関係名が一致するリンクのみが返されます。存在しない場合は、すべてのリンクが返されます(excludeLinks問合せパラメータが指定されている場合を除く)。注意: linksが指定されている場合、excludeLinksは指定できません。
セキュリティ
レスポンス
サポートされているメディア・タイプ
- application/json
200レスポンス
このバージョンを返します。
このメソッドは次のリンクを返すことができます。
- rel=currentUser uri=/management/weblogic/{version}/currentUser
- rel=domainConfig uri=/management/weblogic/{version}/domainConfig
- rel=domainRuntime uri=/management/weblogic/{version}/domainRuntime
- rel=edit uri=/management/weblogic/{version}/edit
- rel=serverConfig uri=/management/weblogic/{version}/serverConfig
- rel=serverRuntime uri=/management/weblogic/{version}/serverRuntime
ルート・スキーマ: Version
タイプ:
objectWebLogic Serverリソースのバージョンを示します。
- isLatest(optional): boolean
これがデフォルト・バージョンの場合
True。 - lifecycle(optional): string
指定可能な値:
[ "active", "deprecated" ]このバージョンのライフサイクル:
activeまたはdeprecated - version(optional): string
このバージョンの名前。
例
最新バージョンを表示します。
この例では、GETメソッドを使用して最新バージョンを表示します。
リクエストの例
curl -v \ --user admin:admin123 \ -H X-Requested-By:MyClient \ -H Accept:application/json \ -X GET http://localhost:7001/management/weblogic/latest
レスポンスの例
HTTP/1.1 200 OK
Response Body:
{
"links": [
{
"rel": "parent",
"href": "http:\//localhost:7001/management/weblogic"
},
{
"rel": "self",
"href": "http:\//localhost:7001/management/weblogic/latest"
},
{
"rel": "canonical",
"href": "http:\//localhost:7001/management/weblogic/latest"
},
{
"rel": "edit",
"href": "http:\//localhost:7001/management/weblogic/latest/edit"
},
{
"rel": "domainConfig",
"href": "http:\//localhost:7001/management/weblogic/latest/domainConfig"
},
{
"rel": "domainRuntime",
"href": "http:\//localhost:7001/management/weblogic/latest/domainRuntime"
},
{
"rel": "serverRuntime",
"href": "http:\//localhost:7001/management/weblogic/latest/serverRuntime"
},
{
"rel": "serverConfig",
"href": "http:\//localhost:7001/management/weblogic/latest/serverConfig"
},
{
"rel": "currentUser",
"href": "http:\//localhost:7001/management/weblogic/latest/currentUser"
}
],
"version": "14.1.1.0.0",
"isLatest": true,
"lifecycle": "active"
}
特定のバージョンを表示します。
この例では、GETメソッドを使用して特定のバージョンを表示します。
リクエストの例
curl -v \ --user admin:admin123 \ -H X-Requested-By:MyClient \ -H Accept:application/json \ -X GET http://localhost:7001/management/weblogic/12.2.1.3.0
レスポンスの例
HTTP/1.1 200 OK
Response Body:
{
"links": [
{
"rel": "parent",
"href": "http:\//localhost:7001/management/weblogic"
},
{
"rel": "self",
"href": "http:\//localhost:7001/management/weblogic/12.2.1.3.0"
},
{
"rel": "canonical",
"href": "http:\//localhost:7001/management/weblogic/12.2.1.3.0"
},
{
"rel": "edit",
"href": "http:\//localhost:7001/management/weblogic/12.2.1.3.0/edit"
},
{
"rel": "domainConfig",
"href": "http:\//localhost:7001/management/weblogic/12.2.1.3.0/domainConfig"
},
{
"rel": "domainRuntime",
"href": "http:\//localhost:7001/management/weblogic/12.2.1.3.0/domainRuntime"
},
{
"rel": "serverRuntime",
"href": "http:\//localhost:7001/management/weblogic/12.2.1.3.0/serverRuntime"
},
{
"rel": "serverConfig",
"href": "http:\//localhost:7001/management/weblogic/12.2.1.3.0/serverConfig"
},
{
"rel": "currentUser",
"href": "http:\//localhost:7001/management/weblogic/12.2.1.3.0/currentUser"
}
],
"version": "12.2.1.3.0",
"isLatest": false,
"lifecycle": "deprecated"
}
トップに戻る