Check Applicability of Image
post
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/goldImages/{goldImageId}/actions/checkApplicability
Checks whether the image can be used to patch a specified list of targets. This is done by comparing the bug fixes available in the current Oracle home of the target and the image.
Request
Path Parameters
-
goldImageId(required): string
ID of the image
Supported Media Types
- application/json
Nested Schema : TargetList
Type:
object
List of targets
Show Source
-
targetList: array
targetList
Array of target names
-
targetType: string
Target typeExample:
oracle_database
Nested Schema : targetList
Type:
array
Array of target names
Show Source
-
Array of:
string
Example:
db1, db2
Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
Ok. Summary of applicability of image to given targets.
Nested Schema : items
Type:
Show Source
object
-
isApplicable: boolean
Flag to indicate applicability
-
targetId: string
ID of targetExample:
E2B6E94B9DBC2FE3E05342104B64A9DE
Match All
Show Source
-
object
allOf
PatchCollection
Patches and bug fixes (if requested) for the specified version of the image
Nested Schema : PatchCollection
Type:
object
Patches and bug fixes (if requested) for the specified version of the image
Match All
Show Source
-
object
ImagePatchCollection
Patches available in the image
-
object
ImageBugCollection
Collection of the image bugs
Nested Schema : ImagePatchCollection
Type:
object
Patches available in the image
Show Source
-
patches: array
patches
Array of patches
-
totalPatches: integer
Total count of patches in the image
Nested Schema : ImageBugCollection
Type:
object
Collection of the image bugs
Show Source
-
bugs: array
bugs
Bug details
-
totalBugs: integer
Total count of bugs in the image
Nested Schema : patches
Type:
array
Array of patches
Show Source
-
Array of:
object ImagePatch
Image patch details
Nested Schema : ImagePatch
Type:
object
Image patch details
Show Source
-
patchDescription: string
Description of the patchExample:
Database Release Update : 19.14.0.0.220118 (33515361)
-
patchId: string
ID of the patchExample:
33515361
Nested Schema : bugs
Type:
array
Bug details
Show Source
-
Array of:
object ImageBug
Image bug details
Nested Schema : ImageBug
Type:
object
Image bug details
Show Source
-
bugDescription: string
Description of a bugExample:
DBA_REGISTRY_HISTORY IS NOT UPDATED DURING UPGRADE TO 12.1.0.2
-
bugNumber: string
Bug numberExample:
19134173
-
patchId: string
ID of PatchExample:
33515361
-
patchUpi: string
Patch UPI
Examples
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
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