#What is the REST API equivalent to the snapmirror show volume <volume-name>

1 messages · Page 1 of 1 (latest)

sterile escarp
#

I'm looking for the equivalent REST API that provides the Last Transfer Size, Last Transfer Duration, and Last Transfer End Timestamp information, which we can obtain through the command line using "snapmirror show volume <volume-name>". Could you please guide me on how to retrieve this data through the REST API?

sterile escarp
#

I have also tried the rest api : /api/snapmirror/relationships/<relationship-uuid>?fields=healthy,transfer.total_duration,transfer.end_time,transfer.bytes_transferred,transfer.state . But this retured a error message "The value "transfer.end_time , transfer.total_duration" is invalid for field "fields" (<field,...>)"

sage light
#

working fine here. just tested via swagger using the "fields" option and it gives me the data back.
{
"records": [
{
"uuid": "08c9753c-d24f-11ed-a153-000c29957a37",
"transfer": {
"total_duration": "PT3S",
"end_time": "2023-04-04T04:42:30+10:00"
}

sterile escarp
#

Thanks for the reply, May I know, What is the netapp version are you using ?