'Retrieves snapshot details based on snapshot Name or Label.
:param otype: block
:param suri: uri of the Snapshot.
:param resource_uri: uri of the source resource
:returns: Snapshot details in JSON response payload'

def snapshot_show_uri(self, otype, resource_uri, suri):

    if ((resource_uri is not None) and (resource_uri.find('BlockConsistencyGroup') > 0)):
        (s, h) = common.service_json_request(self.ipaddr, self.port, 'GET', Snapshot.URI_CONSISTENCY_GROUPS_SNAPSHOT_INSTANCE.format(resource_uri, suri), None)
    else:
        (s, h) = common.service_json_request(self.ipaddr, self.port, 'GET', Snapshot.URI_SNAPSHOTS.format(otype, suri), None)
    return common.json_decode(s)
