このバージョンの表示
get
/management/weblogic/{version}
このバージョンを表示します。
ノート:このWebLogicサーバー・ドメインとその管理対象サーバーの管理に使用するリソース・ツリーへのリンクも返します。このリソース・ツリーは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」問合せパラメータが指定されていない場合)。ノート: 「excludeFields」が指定されている場合、「fields」は指定できません。
- links(optional): string
「links」問合せパラメータは、レスポンスで返されるリンクを制限するために使用します。リンク関係名のカンマ区切りリストです。存在する場合、一致する関係名を持つリンクのみが返されます。存在しない場合は、すべてのリンクが返されます(「excludeLinks」問合せパラメータが指定されていない場合)。ノート: 「links」が指定されている場合、「excludeLinks」は指定できません。
セキュリティ
- Admin: basic
タイプ:
Basic
説明:A user in the Admin security role.
- Deployer: basic
タイプ:
Basic
説明:A user in the Deployer security role.
- Monitor: basic
タイプ:
Basic
説明:A user in the Monitor security role.
- Operator: basic
タイプ:
Basic
説明:A user in the Operator security role.
レスポンス
サポートされているメディア・タイプ
- 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
型:
object
WebLogic 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": "12.2.1.4.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" }先頭に戻る