Get Product Snapshot By Snapshot Name V2 Using GET

Get Product Snapshot By Snapshot Name V2 Using GET

This API is used to get a product snapshot by name. Get snapshot name by triggering get all product snapshot API.

Request
URI
GET
https://{api_host}//localhost:8080/lcm/lcops/api/v2/environments/{environmentId}/products/{productId}/snapshots/{snapshotName}
COPY
Path Parameters
string
environmentId
Required

environmentId

string
productId
Required

productId

string
snapshotName
Required

snapshotName


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns ProductSnapshotDetailsDTO of type(s) application/json
{
    "snapshotGeneratedTime": 1596774385117,
    "snapshotName": "vra_snapshot1 - Fri Aug 07 04:31:34 UTC 2020",
    "snapshotWithMemory": false
}
integer As int64 As int64
snapshotGeneratedTime
Optional

Snapshot Generated Time

string
snapshotName
Optional

Snapshot Name

boolean
snapshotWithMemory
Optional

Snapshot with Memory


400

Bad Request

Returns GenericErrorResponseDTO of type(s) application/json
{
    "errorCode": "LCM_EXAMPLE_API_ERROR0000",
    "errorLabel": "Example Error!",
    "message": "Something went wrong!",
    "recommendations": []
}
string
errorCode
Optional

errorCode

string
errorLabel
Optional

errorLabel

string
message
Optional

message

array of string
recommendations
Optional

recommendations


401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Not Found

Returns GenericErrorResponseDTO of type(s) application/json
{
    "errorCode": "LCM_EXAMPLE_API_ERROR0000",
    "errorLabel": "Example Error!",
    "message": "Something went wrong!",
    "recommendations": []
}
string
errorCode
Optional

errorCode

string
errorLabel
Optional

errorLabel

string
message
Optional

message

array of string
recommendations
Optional

recommendations


500

Internal Server Error

Returns GenericErrorResponseDTO of type(s) application/json
{
    "errorCode": "LCM_EXAMPLE_API_ERROR0000",
    "errorLabel": "Example Error!",
    "message": "Something went wrong!",
    "recommendations": []
}
string
errorCode
Optional

errorCode

string
errorLabel
Optional

errorLabel

string
message
Optional

message

array of string
recommendations
Optional

recommendations