Get Image
get
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/goldImages/{goldImageId}
Gets the image information
Request
Path Parameters
-
goldImageId(required): string
ID of the image
Query Parameters
-
include: string
Provide a report on the versions of this image that can be deleted or if the image also be deleted in case there are no subscribers to the sameAllowed Values:
[ "deleteImageReport" ]
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Ok. Image information is retrieved.
Root Schema : GoldImage
Summary of the image
Match All
Show Source
-
object
GoldImageCommonSummary
Common image summary
Match Any
Show Source
-
object DeleteGoldImageReport
Delete gold image report
Nested Schema : GoldImageCommonSummary
Type:
object
Common image summary
Show Source
-
createdBy: string
Owner of the imageExample:
ADMIN
-
description: string
Description of the imageExample:
fm_1914_description
-
fppServer: string
If isFppImage is true, then this field contains FPP server name, where the image is presentExample:
xyz0102c
-
fppUser: string
If isFppImage is true, then this field contains FPP user name, who has access to the imageExample:
restuser
-
id: string
ID of the imageExample:
E6C5858BD2B46B37E05380FE4564A69B
-
isFppImage: boolean
Flag to indicate FPP imageExample:
true
-
links: object
links
Navigation links
-
name: string
Name of the imageExample:
fm_1914image
-
platformName: string
Platform of the imageExample:
Linux x86-64
-
timeCreated: string
(date-time)
Creation time of the imageExample:
2022-08-22 00:10:27.0
-
version: string
Version of the imageExample:
19.0.0.0.0
Nested Schema : DeleteGoldImageReport
Type:
object
Delete gold image report
Show Source
-
imageVersions: array
imageVersions
Array of the image versions, which are candidates for deletion
-
message: string
Message indicates whether the image can be deletedExample:
If the image does not have subscriptions, then the message is "The following versions are candidates for deletion." else the message is "The image has active subscriptions hence cannot be deleted.Please delete all subscriptions or use force option to delete the image and following versions are candidate for deletion"
Nested Schema : links
Type:
object
Navigation links
Show Source
-
self: object
SelfLink
Represents a self-link
Nested Schema : SelfLink
Type:
object
Represents a self-link
Show Source
-
href: string
URL for the self-linkExample:
/em/api/<resources>/<resourceId>
Nested Schema : imageVersions
Type:
array
Array of the image versions, which are candidates for deletion
Show Source
-
Array of:
object DeletableGoldImageVersionCandidate
Information on safe delete gold image/version
Nested Schema : DeletableGoldImageVersionCandidate
Type:
object
Information on safe delete gold 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
-
name: string
Name of the image versionExample:
PSUNos
-
position: string
Position of a versionExample:
1
-
timeCreated: string
(date-time)
Creation time of the image versionExample:
2017-03-27 10:13:28.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