Download A Diagnostic Image

get

/management/weblogic/{version}/serverRuntime/WLDFRuntime/WLDFImageRuntime/capturedImages/{name}/contents

Get the contents of this captured diagnostic image file.

Request

Path Parameters
Query Parameters
  • The 'excludeFields' query parameter is used to restrict which fields are returned in the response. It is a comma separated list of field names. If present, only fields whose name is not on the list will be returned. If not present, all fields are returned (unless the 'fields' query parameter is specified). Note: 'fields' must not be specified if 'excludeFields' is specified.
  • The 'fields' query parameter is used to restrict which fields are returned in the response. It is a comma separated list of field names. If present, only fields with matching names are returned. If not present, all fields are returned (unless the 'excludeFields' query parameter is specified). Note: 'excludeFields' must not be specified if 'fields' is specified.
Security
Back to Top

Response

Supported Media Types

200 Response

Contains the binary data of a diagnostic image file. It also returns a Content-Disposition header containing the name of the image file.This can be used by clients as a default filename for the downloaded contents.

Body ()
Root Schema : Results
Type: string(binary)
Title: Results
Back to Top

Examples

Download a captured diagnostics image.

This example uses the GET method to download a captured diagnostics image.

Example Request
curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/octet-stream \
-o diagnostic_image_AdminServer_2019_02_07_09_11_04.zip \
-X GET http://localhost:7001/management/weblogic/latest/serverRuntime/WLDFRuntime/WLDFImageRuntime/capturedImages/diagnostic_image_AdminServer_2019_02_07_09_11_04.zip/contents
Example Response
HTTP/1.1 200 OK

Response Body:

wc -c diagnostic_image_AdminServer_2019_02_07_09_11_04.zip
  122824 diagnostic_image_AdminServer_2019_02_07_09_11_04.zip
Back to Top