List Image Versions
get
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/goldImages/{goldImageId}/versions
Lists image versions
Request
Path Parameters
-
goldImageId(required): string
ID of the image
Query Parameters
-
limit: integer(int32)
Limit count of the items in the responseExample:
10
-
nameMatches: string
Wildcard search on the name of the imageExample:
%DB19%
-
page: string
Marker indicating the next set (page) of itemsExample:
b2Zmc2V0OjA
-
sort: string
Comma separated list of fields along with an optional sort direction. The supported attribute of sorting is 'name'.Valid sort directions are 'asc' and 'desc'. If sort direction is not specified, 'asc' is used by default.Example:
name:asc, name:desc, name
-
statusMatches: string
Wildcard search on the status of the image versionExample:
%CURRENT%
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Ok. Image versions retrieved.
Root Schema : GoldImageVersionCollection
Type:
object
List of the image versions
Show Source
-
items(required): array
items
Array of the image version
Match All
Show Source
-
object
Pagination
Collection of items with links
Nested Schema : items
Type:
array
Array of the image version
Show Source
-
Array of:
object GoldImageVersionSummary
Summary of the image version
Nested Schema : Pagination
Type:
object
Collection of items with links
Show Source
-
count: integer
Count of this fetchExample:
40
-
links: object
Links
Represents the array of links
-
total: integer
total countExample:
40
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 : 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
Nested Schema : Links
Type:
object
Represents the array of links
Show Source
-
next: object
Link
Represents a link(could be self, previous or next)
-
previous: object
Link
Represents a link(could be self, previous or next)
-
self: object
Link
Represents a link(could be self, previous or next)
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