Get Image Version
get
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/goldImages/{goldImageId}/versions/{versionId}
Gets information regarding the specified version of the image
Request
Path Parameters
-
goldImageId(required): string
ID of the image
-
versionId(required): string
ID of the image version
Query Parameters
-
include: string
Provide a report if this version of the image can be deletedAllowed Values:
[ "deleteVersionReport" ]
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Ok. Image version is retrieved.
Root Schema : GoldImageVersion
Type:
object
Summary of the image version
Match All
Show Source
-
object
GoldImageVersionSummary
Summary of the image version
Match One Schema
Show Source
-
object
DeleteGoldImageVersionReport
Delete gold image version report
Nested Schema : GoldImageVersionSummary
Type:
object
Summary of the image version
Show Source
-
externalId: string
External ID of the image versionExample:
oracle:defaultService:em:provisioning:1:cmp:COMP_Component:SUB_OracleDB:4BAFA861A7E96603E053057FB10A0588:0.1
-
hashCode: string
HashCode of the image versionExample:
C1622270664:B<NO_PATCHES>
-
id: string
ID of the image versionExample:
4BAFA861A7ED6603E053057FB10A0588
-
imageId: string
ID of the imageExample:
4B7738536B6E7888E053057FB10ACF8C
-
links: object
links
Navigation links
-
name: string
Name of the image versionExample:
PSUNos
-
position: string
Position of a image versionExample:
1
-
provisioningStatus: string
Status of the provisioningExample:
READY
-
status: string
Status of the image versionExample:
CURRENT
-
timeCreated: string
(date-time)
Creation time of the image versionExample:
2017-03-27 10:13:28.0
Nested Schema : DeleteGoldImageVersionReport
Type:
object
Delete gold image version report
Show Source
-
message: string
Message indicates whether image version can be deletedExample:
if the version is not CURRENT, then message is "The version is a candidate for deletion." else message is "CURRENT version of the image cannot be deleted"
Nested Schema : links
Type:
object
Navigation links
Show Source
-
self: object
Link
Represents a link(could be self, previous or next)
Nested Schema : Link
Type:
object
Represents a link(could be self, previous or next)
Show Source
-
href: string
URL for LinkExample:
/em/api/<resources>?page=b2Zmc2V0OjA&limit=0
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
403 Response
Forbidden. The user is forbidden 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