Recommend Patches for 'Current' Image Version
get
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/goldImages/{goldImageId}/patchRecommendations
Compares the patches included in the 'Current' version of the image against Oracle recommendations and provides a list of patches to be included into the next version.
Request
Path Parameters
-
goldImageId(required): string
ID of the Image
Query Parameters
-
include: string
Provide list of bugs fixed (if available)Allowed Values:
[ "bugs" ]
-
patchId: string
Id of the patchExample:
34086870
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Ok. Image version patch recommendations is retrieved.
Root Schema : schema
Type:
object
Match All
Show Source
-
object
PatchRecommendationCollection
Response of Patch recommendation for Gold Image
Nested Schema : PatchRecommendationCollection
Type:
object
Response of Patch recommendation for Gold Image
Show Source
-
additionalPatches: object
additionalPatches
Additional patches present in subscribed targets
-
messages: object
messages
Additional information about how to get and to use the recommended patches
-
oracleRecommendedPatches: object
oracleRecommendedPatches
Oracle recommended patch details
Nested Schema : additionalPatches
Type:
object
Additional patches present in subscribed targets
Match All
Show Source
-
object
PatchRecommendationDetail
Patch details
Nested Schema : messages
Type:
object
Additional information about how to get and to use the recommended patches
Show Source
-
createNewVersion: string
Gives the information about how to create the new version of image from the recommended patchesExample:
To create a new version of the image with the recommended patches see: https://www.oracle.com/pls/topic/lookup?ctx=en/enterprise-manager&id=EMLCM-GUID-431C8AE4-774B-4DD8-89A5-A6A30B071740.
-
uploadPatches: string
Gives the information about how to get/upload the recommended patches in EMExample:
To upload recommended patches in EM use the following command: emcli upload_patches -from_host=host_name -patch_files=metadata_file_path;ZIP_file_path [-cred_name=name -cred_owner=owner]. In online connection mode, the patches can be directly downloaded to EM as well.
Nested Schema : oracleRecommendedPatches
Type:
object
Oracle recommended patch details
Match All
Show Source
-
object
PatchRecommendationDetail
Patch details
Nested Schema : PatchRecommendationDetail
Type:
object
Patch details
Show Source
-
items: array
items
Array of patches
-
total: number
Total number of patchesExample:
10
Nested Schema : items
Type:
object
Match All
Show Source
-
object
PatchRecommendationSummary
Recommended patches for Database Gold Image Version
Nested Schema : PatchRecommendationSummary
Type:
object
Recommended patches for Database Gold Image Version
Show Source
-
bugs: array
bugs
List of bugs
-
isSystemPatch: boolean
flag indicates if the patch is System patch or notExample:
true
-
patchDescription: string
Description of the PatchExample:
OJVM RELEASE UPDATE 19.16.0.0.0
-
patchId: string
Id of the PatchExample:
34086870
-
patchName: string
Name of the PatchExample:
34086870
Nested Schema : bugs
Type:
array
List of bugs
Show Source
-
Array of:
string
Example:
26716835,28209601,28777073,29224710,29254623,29415774,29445548,29512125,29540327,29540831,29774362,29942275,30134746,30160625,30534662,30674373,30855101,30889443,30895577,31247838,31306261,31311732,31359215,31494420,31668872,31727233,31776121,31844357,32032733,32069696,32124570,32165759,32167592,32523206,32892883,33184467,33223248,33563137,33805155,33872610,34149263
Examples
400 Response
Bad Request. The payload is null or missing some parameters
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
401 Response
Unauthorized. The user does not have permissions to perform the requested operation
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
404 Response
Not Found. The requested REST API URL is not found.
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
500 Response
Internal Server Error. Exception in execution of REST API.
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
503 Response
Service Unavailable. The server is unable to process the request.
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string